From d9ac84ce586ed772a7dbb536bd14418370373389 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 6 Nov 2015 11:01:49 +0100 Subject: m 1,2: refactor, remove overhead for fs/hw, add filepimp --- 2configs/fs/single-partition-ext4.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 2configs/fs/single-partition-ext4.nix (limited to '2configs/fs/single-partition-ext4.nix') diff --git a/2configs/fs/single-partition-ext4.nix b/2configs/fs/single-partition-ext4.nix new file mode 100644 index 000000000..1970c949f --- /dev/null +++ b/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"; + }; +} -- cgit v1.2.3