summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 67d7d442..ef8ecc58 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -24,6 +24,11 @@
24 kernelPackages = pkgs.linuxPackages_latest; 24 kernelPackages = pkgs.linuxPackages_latest;
25 kernelModules = [ "kvm-intel" ]; 25 kernelModules = [ "kvm-intel" ];
26 26
27 kernelParams = [
28 "ip=192.168.2.168:192.168.2.1:255.255.255.0:${hostName}:eno1:off"
29 "nameserver=192.168.2.1"
30 ];
31
27 tmpOnTmpfs = true; 32 tmpOnTmpfs = true;
28 33
29 initrd = { 34 initrd = {
@@ -42,6 +47,8 @@
42 hdd4.device = "/dev/disk/by-label/${hostName}-hdd4"; 47 hdd4.device = "/dev/disk/by-label/${hostName}-hdd4";
43 hdd5.device = "/dev/disk/by-label/${hostName}-hdd5"; 48 hdd5.device = "/dev/disk/by-label/${hostName}-hdd5";
44 }; 49 };
50
51 initrd.network.flushBeforeStage2 = false;
45 }; 52 };
46 53
47 supportedFilesystems = [ "zfs" ]; 54 supportedFilesystems = [ "zfs" ];