summary refs log tree commit diff
path: root/nixos/modules/system/boot/kernel.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-18 23:14:34 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-18 23:14:34 +0100
commit7d8fea797a4a844c6715a4f8a0a70f86df96bf5a (patch)
treeb328dccba2555847952e6d1f0696b285fc727ffa /nixos/modules/system/boot/kernel.nix
parent08095f97ce88962c365781ffa1692aadc03a8de8 (diff)
downloadnixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.tar
nixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.tar.gz
nixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.tar.bz2
nixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.tar.lz
nixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.tar.xz
nixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.tar.zst
nixlib-7d8fea797a4a844c6715a4f8a0a70f86df96bf5a.zip
Run hwclock --hctosys to initialize the system time
Diffstat (limited to 'nixos/modules/system/boot/kernel.nix')
-rw-r--r--nixos/modules/system/boot/kernel.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index 327f3b7e1128..4cfd8a0b6187 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -203,6 +203,9 @@ in
 
         # To wait for SCSI devices to appear.
         "scsi_wait_scan"
+
+        # Needed by the stage 2 init script.
+        "rtc_cmos"
       ];
 
     boot.initrd.kernelModules =