summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/fs/single-partition-ext4.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-06 11:01:49 +0100
committermakefu <github@syntax-fehler.de>2015-11-06 11:01:59 +0100
commit2dcb2918d1cd159d9282096ef3b5cecc4239bfbc (patch)
treee2f9b6dab9b2b8e366156381887762d22f7021ba /makefu/2configs/fs/single-partition-ext4.nix
parente8ad43c082e54151517c45c4825e31354803e4c8 (diff)
m 1,2: refactor, remove overhead for fs/hw, add filepimp
Diffstat (limited to 'makefu/2configs/fs/single-partition-ext4.nix')
-rw-r--r--makefu/2configs/fs/single-partition-ext4.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefu/2configs/fs/single-partition-ext4.nix b/makefu/2configs/fs/single-partition-ext4.nix
new file mode 100644
index 000000000..1970c949f
--- /dev/null
+++ b/makefu/2configs/fs/single-partition-ext4.nix
@@ -0,0 +1,10 @@
+{config, ...}:
+{
+ boot.loader.grub.enable = assert config.boot.loader.grub.device != ""; true;
+ boot.loader.grub.version = 2;
+
+ fileSystems."/" = {
+ device = "/dev/disk/by-label/nixos";
+ fsType = "ext4";
+ };
+}