2015-08-07 10:53:02 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
# vda1 ext4 (label nixos) -> only root partition
|
2016-10-20 18:54:38 +00:00
|
|
|
with import <stockholm/lib>;
|
2015-08-07 10:53:02 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|