diff --git a/flake.lock b/flake.lock index 2cea219..c3740ed 100644 --- a/flake.lock +++ b/flake.lock @@ -143,11 +143,11 @@ ] }, "locked": { - "lastModified": 1770069418, - "narHash": "sha256-NazLN6PkMaZWHNZShojPZ3H29dUuu06aufwCcRKW/94=", + "lastModified": 1770069878, + "narHash": "sha256-QA+UpyuAaZiBkzs6KsqK22JqDfHml+7Cn7JfHHx3FwM=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "aa27d38e2ea0477a024ca428d50680c5d756a23f", + "rev": "b3b488cf6cdd7c471385f1905996079b2d04f283", "type": "github" }, "original": { diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..b70a621 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,31 @@ +# 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" "ahci" "nvme" "usb_storage" "usbhid" "uas" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/2db125bf-6f56-4299-9dec-f1dca95213c7"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/F3DA-C028"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +}