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;
|
# fkms-3d.enable = true;
|
||||||
# };
|
# };
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "${hostRegistry.hosts.nix-build.ip4}:/var/lib/nfsroot/dacbert";
|
device = "${hostRegistry.hosts.nfsroot.ip4}:/var/lib/nfsroot/dacbert";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "rw" ];
|
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "rw" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,13 @@
|
||||||
firewall.enable = false;
|
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
|
# volatile system: everything is tmpfs
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
|
|
|
@ -37,13 +37,6 @@
|
||||||
tmpOnTmpfs = true;
|
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;
|
hardware.deviceTree.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Reference in New Issue