dacbert: move nfsroot, remove separate /nix/store mount
This commit is contained in:
parent
b35eb054cd
commit
6ede6e89b0
|
@ -33,7 +33,7 @@
|
|||
# fkms-3d.enable = true;
|
||||
# };
|
||||
fileSystems."/" = {
|
||||
device = "${hostRegistry.hosts.nix-build.ip4}:/var/lib/nfsroot/dacbert";
|
||||
device = "${hostRegistry.hosts.nfsroot.ip4}:/var/lib/nfsroot/dacbert";
|
||||
fsType = "nfs";
|
||||
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "rw" ];
|
||||
};
|
||||
|
|
|
@ -32,6 +32,13 @@
|
|||
firewall.enable = false;
|
||||
};
|
||||
|
||||
# mount the server's /nix/store
|
||||
fileSystems."/nix/store" = {
|
||||
device = "${hostRegistry.hosts.nix-build.ip4}:/nix/store";
|
||||
fsType = "nfs";
|
||||
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "ro" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
# volatile system: everything is tmpfs
|
||||
fileSystems."/" = {
|
||||
fsType = "tmpfs";
|
||||
|
|
|
@ -37,13 +37,6 @@
|
|||
tmpOnTmpfs = true;
|
||||
};
|
||||
|
||||
fileSystems."/nix/store" = {
|
||||
device = "${hostRegistry.hosts.nix-build.ip4}:/nix/store";
|
||||
fsType = "nfs";
|
||||
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "ro" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
hardware.deviceTree.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
Loading…
Reference in New Issue
Block a user