diff --git a/machines/pilab/hw-config.nix b/machines/pilab/hw-config.nix index 0366421..6f4c582 100644 --- a/machines/pilab/hw-config.nix +++ b/machines/pilab/hw-config.nix @@ -35,19 +35,28 @@ }; }; - fileSystems.restic-backup = { - mountPoint = "/media/${config.fileSystems.restic-backup.label}"; - device = "/dev/disk/by-label/${config.fileSystems.restic-backup.label}"; - fsType = "ext4"; - label = "RESTIC_BACKUP"; - autoResize = true; - options = [ - "noatime" - "noauto" - "nofail" - "x-systemd.automount" - "x-systemd.mount-timeout=5s" - ]; + fileSystems = { + "/" = { + device = "/dev/disk/by-label/NIXOS_SD"; + fsType = "ext4"; + autoResize = true; + options = [ "noatime" ]; + }; + + restic-backup = { + mountPoint = "/media/${config.fileSystems.restic-backup.label}"; + device = "/dev/disk/by-label/${config.fileSystems.restic-backup.label}"; + fsType = "ext4"; + label = "RESTIC_BACKUP"; + autoResize = true; + options = [ + "noatime" + "noauto" + "nofail" + "x-systemd.automount" + "x-systemd.mount-timeout=5s" + ]; + }; }; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking