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

21 lines
457 B
Nix
Raw Normal View History

2015-08-07 10:53:02 +00:00
{ config, lib, pkgs, ... }:
# vda1 ext4 (label nixos) -> only root partition
{
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.enableRedistributableFirmware = true;
2015-08-07 10:53:02 +00:00
nixpkgs.config.allowUnfree = true;
}