mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
Create host/vm named smarthome
This commit is contained in:
parent
c74f5d4248
commit
eb83880671
5 changed files with 146 additions and 0 deletions
15
modules/hosts/nixos/smarthome/hardware-configuration.nix
Normal file
15
modules/hosts/nixos/smarthome/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ lib, modulesPath, ... }: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue