diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2026-08-25 15:23:30 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2026-08-25 15:23:30 -0600 |
| commit | 3fb6b1f841bfae880375f6cf5bf7872c67913e8d (patch) | |
| tree | 2879404bb9f7de3062601630d06069755c3c3694 /machines/bosco/hardware-configuration.nix | |
| parent | 704e34461dd3464ff5dd89718d7194154117c170 (diff) | |
| parent | c87672dc1d12deec86c91db7fc7fa85fd57e991b (diff) | |
Merge branch 'master' of ssh://myrmexia.xyz:/srv/git/.flake
Diffstat (limited to 'machines/bosco/hardware-configuration.nix')
| -rw-r--r-- | machines/bosco/hardware-configuration.nix | 17 |
1 files changed, 14 insertions, 3 deletions
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.<interface>.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"; } |
