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
|
|
|
|
2019-11-07 09:59:12 +00:00
|
|
|
hardware.enableRedistributableFirmware = true;
|
2015-08-07 10:53:02 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
}
|