about summary refs log tree commit diff
path: root/machines/profpatsch/mikiya.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-05-23 18:32:03 +0200
committerProfpatsch <mail@profpatsch.de>2018-05-23 18:32:03 +0200
commitb8ff993ef9c26da49610731af851b9b9d9a48331 (patch)
tree9523393e5c4a069aec41299c75fb7c0e7a37a144 /machines/profpatsch/mikiya.nix
parent897f45df6630595f3b5e141a04e3c91dbae26997 (diff)
machines/mikiya: set static IP address for initrd
Diffstat (limited to 'machines/profpatsch/mikiya.nix')
-rw-r--r--machines/profpatsch/mikiya.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/machines/profpatsch/mikiya.nix b/machines/profpatsch/mikiya.nix
index 5487c09a..db3b6865 100644
--- a/machines/profpatsch/mikiya.nix
+++ b/machines/profpatsch/mikiya.nix
@@ -31,6 +31,7 @@ in {
     boot = {
       loader.grub.device = systemDevice;
       kernelModules = [ "kvm-intel" ];
+      kernelParams = [ "ip=192.168.0.5" ];
 
       initrd = {
         network = {
@@ -65,8 +66,6 @@ in {
       fsType = "ext3";
     };
 
-    networking.useDHCP = true;
-
     nix.maxJobs = 4;
 
     vuizvui.user.profpatsch.server.sshPort = 22;