don't delete folder itself, only contents
This commit is contained in:
parent
d3e843d964
commit
570e763845
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ in {
|
||||||
|
|
||||||
services."clean-download" = {
|
services."clean-download" = {
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.coreutils}/bin/rm -rf /home/user/${conf.username}/Downloads
|
${pkgs.coreutils}/bin/rm -rf /home/user/${conf.username}/Downloads/*
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue