From 14f32e24996805629efec8c9ee28f2e56b75f660 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sat, 22 Aug 2026 06:24:39 -0600 Subject: migrating bosco to new hardware failed, so changing new bosco name to apollo for ease of maintenance --- machines/bosco/hardware-configuration.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'machines/bosco/hardware-configuration.nix') diff --git a/machines/bosco/hardware-configuration.nix b/machines/bosco/hardware-configuration.nix index ac2c0ba..34dd9bf 100644 --- a/machines/bosco/hardware-configuration.nix +++ b/machines/bosco/hardware-configuration.nix @@ -8,17 +8,28 @@ [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_scsi" "ahci" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; + fileSystems."/" = + { device = "/dev/sda"; + fsType = "ext4"; + }; + + swapDevices = + [ { device = "/dev/sdb"; } + ]; + # 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..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.ens18.useDHCP = lib.mkDefault true; + # networking.useDHCP = lib.mkDefault true; + networking.interfaces.enp0s5.useDHCP = lib.mkDefault true; + # required for ssh? + networking.interfaces.eth0.useDHCP = true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } -- cgit v1.3.1