mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-16 19:04:40 +00:00
nix bare for netcup
This commit is contained in:
parent
0804b2a49b
commit
ef6da7dc79
6 changed files with 195 additions and 12 deletions
26
hosts/linux/hardware-configuration.nix
Normal file
26
hosts/linux/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Generated placeholder for netcup KVM VPS.
|
||||
# Regenerate on the actual machine with: nixos-generate-config --show-hardware-config
|
||||
{
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"virtio_pci"
|
||||
"virtio_scsi"
|
||||
"ahci"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
virtualisation.hypervGuest.enable = false;
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue