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/vm-single-partition.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to '2configs/fs/vm-single-partition.nix') diff --git a/2configs/fs/vm-single-partition.nix b/2configs/fs/vm-single-partition.nix index 78a5e7175..27e28cb68 100644 --- a/2configs/fs/vm-single-partition.nix +++ b/2configs/fs/vm-single-partition.nix @@ -3,18 +3,9 @@ # vda1 ext4 (label nixos) -> only root partition with lib; { - boot.loader.grub.enable = true; - boot.loader.grub.version = 2; + imports = [ + ./single-partition-ext4.nix + ]; boot.loader.grub.device = "/dev/vda"; - fileSystems."/" = { - device = "/dev/disk/by-label/nixos"; - fsType = "ext4"; - }; - - hardware.enableAllFirmware = true; - nixpkgs.config.allowUnfree = true; - hardware.cpu.amd.updateMicrocode = true; - - } -- cgit v1.2.3