From 224beca86f594f133bb58814ed0c2f8aaf50c61f Mon Sep 17 00:00:00 2001 From: osbm Date: Fri, 7 Nov 2025 10:16:27 +0300 Subject: [PATCH] group ymir --- hosts/nixos/ymir/hardware-configuration.nix | 49 ++++++++++++--------- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/hosts/nixos/ymir/hardware-configuration.nix b/hosts/nixos/ymir/hardware-configuration.nix index 5143b09..c056897 100644 --- a/hosts/nixos/ymir/hardware-configuration.nix +++ b/hosts/nixos/ymir/hardware-configuration.nix @@ -12,30 +12,35 @@ (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 = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371"; - fsType = "ext4"; + boot = { + initrd = { + availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "usbhid" + "usb_storage" + "sd_mod" + ]; + kernelModules = [ ]; + }; + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; }; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/383D-1E8A"; - fsType = "vfat"; - options = [ - "fmask=0077" - "dmask=0077" - ]; + "/boot" = { + device = "/dev/disk/by-uuid/383D-1E8A"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" + ]; + }; }; swapDevices = [