┌─ modules/nixos/server/profiles/ookstest/hardware.nix ──────────────────────┐│ diff --git a/modules/nixos/server/profiles/ookstest/hardware.nix b/modules/nixos/s ││ erver/profiles/ookstest/hardware.nix ││ new file mode 100644 ││ index 0000000..f9c2647 ││ --- /dev/null ││ +++ b/modules/nixos/server/profiles/ookstest/hardware.nix ││ @@ -0,0 +1,24 @@ ││ +# 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. ││ +{ config, lib, pkgs, modulesPath, ... }: ││ + ││ +{ ││ + imports = ││ + [ (modulesPath + "/profiles/qemu-guest.nix") ││ + ]; ││ + ││ + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" ││ "virtio_blk" ]; ││ + boot.initrd.kernelModules = [ ]; ││ + boot.kernelModules = [ "kvm-amd" ]; ││ + boot.extraModulePackages = [ ]; ││ + ││ + # Enables DHCP on each ethernet and wireless interface. In case of scripted net ││ working ││ + # (the default) this is the recommended approach. When using systemd-networkd i ││ t's ││ + # still possible to use this option, but it's recommended to use it in conjunct ││ ion ││ + # with explicit per-interface declarations with `networking.interfaces.<interfa ││ ce>.useDHCP`. ││ + networking.useDHCP = lib.mkDefault true; ││ + # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; ││ + ││ + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; ││ +} │└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...rofiles/ookstest/hardware.nix ───┐│ diff --git a/modules/nixos/server/profiles/o ││ okstest/hardware.nix b/modules/nixos/server/ ││ profiles/ookstest/hardware.nix ││ new file mode 100644 ││ index 0000000..f9c2647 ││ --- /dev/null ││ +++ b/modules/nixos/server/profiles/ookstest ││ /hardware.nix ││ @@ -0,0 +1,24 @@ ││ +# Do not modify this file! It was generate ││ d by 'nixos-generate-config' ││ +# and may be overwritten by future invocati ││ ons. Please make changes ││ +# to /etc/nixos/configuration.nix instead. ││ +{ config, lib, pkgs, modulesPath, ... }: ││ + ││ +{ ││ + imports = ││ + [ (modulesPath + "/profiles/qemu-guest. ││ nix") ││ + ]; ││ + ││ + boot.initrd.availableKernelModules = [ "a ││ hci" "xhci_pci" "virtio_pci" "sr_mod" "virti ││ o_blk" ]; ││ + boot.initrd.kernelModules = [ ]; ││ + boot.kernelModules = [ "kvm-amd" ]; ││ + boot.extraModulePackages = [ ]; ││ + ││ + # Enables DHCP on each ethernet and wirel ││ ess interface. In case of scripted networkin ││ g ││ + # (the default) this is the recommended a ││ pproach. When using systemd-networkd it's ││ + # still possible to use this option, but ││ it's recommended to use it in conjunction ││ + # with explicit per-interface declaration ││ s with `networking.interfaces.<interface>.us ││ eDHCP`. ││ + networking.useDHCP = lib.mkDefault true; ││ + # networking.interfaces.enp1s0.useDHCP = ││ lib.mkDefault true; ││ + ││ + nixpkgs.hostPlatform = lib.mkDefault "x86 ││ _64-linux"; ││ +} │└──────────────────────────────────────────────┘