diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2026-08-22 06:24:39 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2026-08-22 06:24:39 -0600 |
| commit | 14f32e24996805629efec8c9ee28f2e56b75f660 (patch) | |
| tree | 8ede0ada91cd8678ac52253800a61e61c3ab561a /machines/apollo/hardware-configuration.nix | |
| parent | ae38485a951968b9aff81e397525818f0c8f68ac (diff) | |
migrating bosco to new hardware failed, so changing new bosco name
to apollo for ease of maintenance
Diffstat (limited to 'machines/apollo/hardware-configuration.nix')
| -rw-r--r-- | machines/apollo/hardware-configuration.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/machines/apollo/hardware-configuration.nix b/machines/apollo/hardware-configuration.nix new file mode 100644 index 0000000..ac2c0ba --- /dev/null +++ b/machines/apollo/hardware-configuration.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 = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. 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 declarations with `networking.interfaces.<interface>.useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.ens18.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +} |
