mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
Merge branch 'main' of github.com:JulienMalka/nix-config
This commit is contained in:
commit
591a55299d
4 changed files with 72 additions and 30 deletions
|
@ -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?
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue