Added vatnajokull NAS as a separate module

This commit is contained in:
marc
2024-02-20 20:22:41 +01:00
parent 32654faf98
commit 95944b2486
5 changed files with 24 additions and 14 deletions

View File

@@ -63,6 +63,8 @@ in
system.pass.enable = true;
system.sshfs.enable = true;
server.vatnajokull.enable = true;
# - Desktop ----------------------------------
desktop = {
inherit wallpaper;

View File

@@ -22,13 +22,6 @@
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
"/mnt/vatnajokull" = {
device = "vatnajokull:/mnt/raid1";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "noatime" "x-systemd.idle-timeout=600"];
};
};
swapDevices = [

View File

@@ -61,6 +61,7 @@ with lib;
server = true;
host-config = ../../config/nomad.d/host-thingvellir.hcl;
};
server.vatnajokull.enable = true;
# - Editors and development ------------------
dev.git.userName = "marc";

View File

@@ -17,13 +17,6 @@
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
"/mnt/vatnajokull" = {
# device = "vatnajokull:/mnt/raid1";
device = "100.89.248.65:/mnt/raid1";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "noatime" "x-systemd.idle-timeout=600"];
};
};
swapDevices = [