2015-11-06 10:01:49 +00:00
|
|
|
{config, ...}:
|
|
|
|
{
|
2018-09-16 22:47:01 +00:00
|
|
|
# fdisk /dev/sda
|
|
|
|
# mkfs.ext4 -L nixos /dev/sda1
|
2015-11-06 10:01:49 +00:00
|
|
|
boot.loader.grub.enable = assert config.boot.loader.grub.device != ""; true;
|
|
|
|
boot.loader.grub.version = 2;
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
}
|