stockholm/makefu/2configs/fs/cac-boot-partition.nix

22 lines
455 B
Nix
Raw Normal View History

2015-08-07 10:53:02 +00:00
{ config, lib, pkgs, ... }:
# vda1 ext4 (label nixos) -> only root partition
with lib;
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
2015-09-02 08:02:05 +00:00
boot.loader.grub.device = "/dev/sda";
2015-08-07 10:53:02 +00:00
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
2015-09-02 08:02:05 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-label/boot";
fsType = "ext4";
};
2015-08-07 10:53:02 +00:00
hardware.enableAllFirmware = true;
nixpkgs.config.allowUnfree = true;
}