about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-04-25 22:21:27 +0200
committerProfpatsch <mail@profpatsch.de>2016-04-25 22:21:27 +0200
commit21daf798c242f66207ecc373cf3cb49afcb3732b (patch)
treea8a5a43e3386e6c3e2aba0649817ab3bea870ab4 /modules
parent13df9a126fe0aee07ba96d2e9b2e5dfbf36cd84d (diff)
machines/labtop: standartise disk label & disk
Diffstat (limited to 'modules')
-rw-r--r--modules/user/openlab/labtops.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/user/openlab/labtops.nix b/modules/user/openlab/labtops.nix
index 77c4ba04..9f7a5d0d 100644
--- a/modules/user/openlab/labtops.nix
+++ b/modules/user/openlab/labtops.nix
@@ -16,6 +16,11 @@ in
 
 
   config = mkIf cfg.enable {
+    boot.loader.grub.device = mkDefault "/dev/sda";
+    fileSystems."/" = mkDefault {
+      device = "/dev/disk/by-label/labtop";
+      fsType = "ext4";
+    };
 
     i18n = {
       consoleFont = "lat9w-16";