summaryrefslogtreecommitdiff
path: root/machines/bosco/hardware-configuration.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2023-12-05 06:32:29 +0000
committerDevin Finlinson <devin.finlinson@pm.me>2023-12-05 06:32:29 +0000
commitd5b77bca092405fae7a0dc9767fd16b431aee6ae (patch)
treece1c6d39f2a5bdc4a2c07bab9e987dfa4caa2817 /machines/bosco/hardware-configuration.nix
parente13b28906d90bc32ee56facb31e3a556d805e38c (diff)
changed bosco config from build server (now doretta) to network server
Diffstat (limited to 'machines/bosco/hardware-configuration.nix')
-rw-r--r--machines/bosco/hardware-configuration.nix24
1 files changed, 12 insertions, 12 deletions
diff --git a/machines/bosco/hardware-configuration.nix b/machines/bosco/hardware-configuration.nix
index f768a3f..34dd9bf 100644
--- a/machines/bosco/hardware-configuration.nix
+++ b/machines/bosco/hardware-configuration.nix
@@ -5,31 +5,31 @@
{
imports =
- [ (modulesPath + "/installer/scan/not-detected.nix")
+ [ (modulesPath + "/profiles/qemu-guest.nix")
];
- boot.initrd.availableKernelModules = [ "ehci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" ];
+ boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_scsi" "ahci" "sd_mod" ];
boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-intel" ];
+ boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/9fb0c7c8-8ee8-48ca-bd3a-3246838d3780";
- fsType = "btrfs";
+ { device = "/dev/sda";
+ fsType = "ext4";
};
- swapDevices = [ ];
+ 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.eno1.useDHCP = lib.mkDefault true;
- # networking.interfaces.eno2.useDHCP = lib.mkDefault true;
- # networking.interfaces.eno3.useDHCP = lib.mkDefault true;
- # networking.interfaces.eno4.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";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}