feat: added swaylock

This commit is contained in:
Luj 2023-04-11 19:38:19 +02:00
parent 5402be7931
commit da3c05db54
2 changed files with 26 additions and 2 deletions

View file

@ -82,8 +82,29 @@
# for a WiFi printer
services.avahi.openFirewall = true;
services.davfs2 = {
enable = true;
};
security.pam.services.swaylock = { };
services.autofs = {
enable = true;
debug = true;
autoMaster =
let
mapConf = pkgs.writeText "auto" ''
nuage -fstype=davfs,uid=1000,file_mode=600,dir_mode=700,conf=/home/julien/.davfs2/davfs2.conf,rw :https\://nuage.malka.family/remote.php/webdav/
'';
in
''
/home/julien/clouds file:${mapConf}
'';
};
system.stateVersion = "23.05"; # Did you read the comment?
}