diff --git a/home/clonerer.nix b/home/clonerer.nix index c79042c..a8a1d12 100644 --- a/home/clonerer.nix +++ b/home/clonerer.nix @@ -156,6 +156,11 @@ let path = "${hackwerkReposPath}"; origin = "git@gitlab.com:sfz.aalen/infra/miraakunix.git"; } + { + name = "logos"; + path = "${hackwerkReposPath}"; + origin = "git@gitlab.com:sfz.aalen/hackwerk/hackwerklogo.git"; + } { name = "stickers"; path = "${hackwerkReposPath}"; diff --git a/modules/modules.nix b/modules/modules.nix index 6a9b455..10f26ef 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -10,6 +10,7 @@ ./fonts.nix ./gtk.nix ./locales.nix + ./mounts.nix ./network.nix ./nix.nix ./podman.nix diff --git a/modules/mounts.nix b/modules/mounts.nix new file mode 100644 index 0000000..41cd94f --- /dev/null +++ b/modules/mounts.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: +{ + services.rpcbind.enable = true; # needed for NFS + # For mount.cifs, required unless domain name resolution is not needed. + environment.systemPackages = [ pkgs.cifs-utils ]; + + fileSystems."/mnt/lasercutter" = { + fsType = "nfs"; + device = "10.20.42.50:/Lasercutter"; + options = [ + "x-systemd.automount" + "noauto" + "x-systemd.idle-timeout=600" # disconnects after 10 minutes (i.e. 600 seconds) + ]; + }; +}