books: add books smb share
This commit is contained in:
parent
39f1887073
commit
44d314ac6d
1 changed files with 9 additions and 0 deletions
|
|
@ -160,6 +160,15 @@
|
|||
in [ "${automount_opts},credentials=/etc/nixos/secrets/music.smb" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/khais/Books" = {
|
||||
device = "//void/Books";
|
||||
fsType = "cifs";
|
||||
options = let
|
||||
# prevent hanging when network is not reachable
|
||||
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||
in [ "${automount_opts},credentials=/etc/nixos/secrets/books.smb" ];
|
||||
};
|
||||
|
||||
# font configuration
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue