summaryrefslogtreecommitdiffstats
path: root/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
commitd9ac84ce586ed772a7dbb536bd14418370373389 (patch)
tree809619c41f57944a95cf75793cf65b3fd715e416 /2configs/fs/single-partition-ext4.nix
parent5ceed35056cb7b02b8a53ab247611876d4a4527f (diff)
m 1,2: refactor, remove overhead for fs/hw, add filepimp
Diffstat (limited to '2configs/fs/single-partition-ext4.nix')
-rw-r--r--2configs/fs/single-partition-ext4.nix10
1 files changed, 10 insertions, 0 deletions
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";
+ };
+}