From 443871382779e727e0a463e993d77a6a6e5261fd Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sat, 11 Apr 2026 08:10:18 -0600 Subject: bosco network/boot rescue ops --- machines/bosco/hardware-configuration.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'machines/bosco/hardware-configuration.nix') diff --git a/machines/bosco/hardware-configuration.nix b/machines/bosco/hardware-configuration.nix index 34dd9bf..ac2c0ba 100644 --- a/machines/bosco/hardware-configuration.nix +++ b/machines/bosco/hardware-configuration.nix @@ -8,28 +8,17 @@ [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_scsi" "ahci" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_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.enp0s5.useDHCP = lib.mkDefault true; - # required for ssh? - networking.interfaces.eth0.useDHCP = true; + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.ens18.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } -- cgit v1.2.3