Skip to content

Commit

Permalink
Change dufs password
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed Aug 27, 2024
1 parent 6da6e04 commit b7f9ade
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nix/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ in
lib.optionalAttrs prefs.enableHomeManagerDufs {
mounts.${mountName} = {
Unit = {
Description = "Mount dufs directory with rclone";
Description = "dufs directory with rclone";
After = [ "network.target" ];
};
Mount = {
Expand All @@ -974,7 +974,7 @@ in
};
automounts.${mountName} = {
Unit = {
Description = "Automount dufs directory with rclone";
Description = "dufs directory with rclone";
After = [ "network.target" ];
Before = [ "remote-fs.target" ];
};
Expand All @@ -994,7 +994,7 @@ in
Service = {
NoNewPrivileges = true;
ExecStart = ''
${pkgs.dufs}/bin/dufs --render-try-index --allow-all --auth @/Public --auth guest:guest@/SemiPublic --auth upload:upload@/Upload:rw --auth user:pass@/:rw ${path}
${pkgs.dufs}/bin/dufs --render-try-index --allow-all --auth @/Public --auth guest:guest@/SemiPublic --auth upload:upload@/Upload:rw --auth e:$6$3U28BoQYzEnJM5S8$NwZFhUXiekatIKVNTRFrPJOrR5qPF6rZw3TG80bgxmG4C9ZYsNUURjoudWbk74XVr7eVII3CdHxqLrTe8cGYW0@/:rw ${path}
'';
};
};
Expand Down

0 comments on commit b7f9ade

Please sign in to comment.