diff --git a/flake.lock b/flake.lock index 2069ee4..bec80d0 100644 --- a/flake.lock +++ b/flake.lock @@ -103,11 +103,11 @@ ] }, "locked": { - "lastModified": 1765292061, - "narHash": "sha256-mYJ2icsbNVQJDAmaNoKQuzMRf8e8fGNLQ9A2/9kf594=", + "lastModified": 1765295342, + "narHash": "sha256-A6SXAwxP8qSEJR/cWJBcju0JheodBW8xRozgv28YqJ8=", "owner": "nix-community", "repo": "NUR", - "rev": "3ae81a72863d4f8f1ef94e928497322ae835a544", + "rev": "504720ebe432667cbd613c7c89b1b23b35a306de", "type": "github" }, "original": { @@ -124,11 +124,11 @@ ] }, "locked": { - "lastModified": 1765292061, - "narHash": "sha256-mYJ2icsbNVQJDAmaNoKQuzMRf8e8fGNLQ9A2/9kf594=", + "lastModified": 1765295342, + "narHash": "sha256-A6SXAwxP8qSEJR/cWJBcju0JheodBW8xRozgv28YqJ8=", "owner": "nix-community", "repo": "NUR", - "rev": "3ae81a72863d4f8f1ef94e928497322ae835a544", + "rev": "504720ebe432667cbd613c7c89b1b23b35a306de", "type": "github" }, "original": { diff --git a/hosts/inuc/hardware-configuration.nix b/hosts/inuc/hardware-configuration.nix new file mode 100644 index 0000000..28718f8 --- /dev/null +++ b/hosts/inuc/hardware-configuration.nix @@ -0,0 +1,33 @@ +# 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, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/d22372b3-fce6-407b-82a3-77cdff9d701e"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/2359-96B5"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/faa61292-4c72-46af-b6d4-aa1e4172c75c"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +}