diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2026-04-11 08:10:18 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2026-04-11 08:10:18 -0600 |
| commit | 443871382779e727e0a463e993d77a6a6e5261fd (patch) | |
| tree | 0fc15077ccb45402aea618bf48625c722985cf05 /machines/bosco/hardware-configuration.nix | |
| parent | 395d295b463c49b60ff8d99d2fb87ac2a58bd522 (diff) | |
bosco network/boot rescue ops
Diffstat (limited to 'machines/bosco/hardware-configuration.nix')
| -rw-r--r-- | machines/bosco/hardware-configuration.nix | 17 |
1 files changed, 3 insertions, 14 deletions
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.<interface>.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"; } |
