Add hardware configuration placeholders for staging and production
This commit is contained in:
parent
fb5e394dd8
commit
daabdc5938
2 changed files with 31 additions and 0 deletions
14
hosts/production/hardware-configuration.nix
Normal file
14
hosts/production/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.devices = [ "/dev/vda" ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue