diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index f06d4b6..9107092 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -7,7 +7,7 @@ system-label, ... }: let - stateVersion = "24.11"; + stateVersion = "25.05"; in { imports = [ ./hardware-configuration.nix diff --git a/hosts/ymir/hardware-configuration.nix b/hosts/ymir/hardware-configuration.nix index e51ea49..a56e005 100644 --- a/hosts/ymir/hardware-configuration.nix +++ b/hosts/ymir/hardware-configuration.nix @@ -1,38 +1,32 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + { - config, - lib, - pkgs, - modulesPath, - ... -}: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/bfbd04d5-49bb-4571-8897-d36b2c679a6c"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371"; + fsType = "ext4"; + }; - boot.initrd.luks.devices."luks-58144581-4049-4169-b8a9-4da19129416a".device = "/dev/disk/by-uuid/58144581-4049-4169-b8a9-4da19129416a"; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/383D-1E8A"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/7F17-2E5B"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; - - swapDevices = [ - {device = "/dev/disk/by-uuid/a07d03b7-c2fb-40f9-89b0-d8f6db9d0e0e";} - ]; + swapDevices = + [ { device = "/dev/disk/by-uuid/33c6277d-eb0a-487d-8be0-829829a8a308"; } + ]; # 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