add fs & state version & fixes
This commit is contained in:
parent
b153246f90
commit
662d5a9f2e
4 changed files with 26 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, lib, modulesPath, ... }:
|
||||
|
||||
let
|
||||
# Import nodes
|
||||
|
@ -6,6 +6,15 @@ let
|
|||
myNode = nodes."${config.hostName}";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
fileSystems = myNode.fileSystems;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = myNode.grubDevice;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue