diff --git a/hosts/wano/configuration.nix b/hosts/wano/configuration.nix index 6ad2ea0..25e16ff 100644 --- a/hosts/wano/configuration.nix +++ b/hosts/wano/configuration.nix @@ -13,9 +13,8 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Bootloader. - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; - boot.loader.grub.useOSProber = true; + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "wano"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. diff --git a/hosts/wano/hardware-configuration.nix b/hosts/wano/hardware-configuration.nix index 7564897..1456846 100644 --- a/hosts/wano/hardware-configuration.nix +++ b/hosts/wano/hardware-configuration.nix @@ -8,18 +8,24 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/0f3268cf-1738-41b4-8ea0-413b38daf804"; + { device = "/dev/disk/by-uuid/53f24078-f80e-4f2c-a137-61cc2a4e5cd6"; fsType = "ext4"; }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/AF35-0D13"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + swapDevices = - [ { device = "/dev/disk/by-uuid/68648610-6091-4c7e-a3e7-2d15b1456857"; } + [ { device = "/dev/disk/by-uuid/194f1eea-c98b-4d32-b442-0cfc003234fb"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -27,8 +33,7 @@ # 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.enp0s25.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;