diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-17 17:44:23 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-17 17:44:31 +0200 |
| commit | 500dd85979561b8c697c7a1a4f4571d4c413940b (patch) | |
| tree | 10c39fdfb72334905d25af3f6c3fdcde3e976a1f /hosts/nyaan | |
| parent | b6b7aabf523009ab6717f6be4399c90416452bb0 (diff) | |
chore: formatting
Diffstat (limited to 'hosts/nyaan')
| -rw-r--r-- | hosts/nyaan/hardware.nix | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/hosts/nyaan/hardware.nix b/hosts/nyaan/hardware.nix index d3a1025..7bf5004 100644 --- a/hosts/nyaan/hardware.nix +++ b/hosts/nyaan/hardware.nix @@ -1,32 +1,47 @@ # 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 = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "thunderbolt" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/20fc22cd-161a-4537-b432-adf6c60c9f1c"; - fsType = "btrfs"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/20fc22cd-161a-4537-b432-adf6c60c9f1c"; + fsType = "btrfs"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/B057-BE14"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/253a1a87-9919-4262-8ae9-63ad63b00648"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/B057-BE14"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" ]; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/253a1a87-9919-4262-8ae9-63ad63b00648"; } + ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
