|
1 | 1 | # Do not modify this file! It was generated by ‘nixos-generate-config’ |
2 | 2 | # and may be overwritten by future invocations. Please make changes |
3 | 3 | # to /etc/nixos/configuration.nix instead. |
4 | | -{ config, lib, pkgs, modulesPath, ... }: |
5 | | - |
6 | 4 | { |
7 | | - imports = |
8 | | - [ (modulesPath + "/installer/scan/not-detected.nix") |
9 | | - ]; |
| 5 | + config, |
| 6 | + lib, |
| 7 | + pkgs, |
| 8 | + modulesPath, |
| 9 | + ... |
| 10 | +}: { |
| 11 | + imports = [ |
| 12 | + (modulesPath + "/installer/scan/not-detected.nix") |
| 13 | + ]; |
10 | 14 |
|
11 | | - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" ]; |
12 | | - boot.initrd.kernelModules = [ ]; |
13 | | - boot.kernelModules = [ "kvm-amd" ]; |
14 | | - boot.extraModulePackages = [ ]; |
| 15 | + boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod"]; |
| 16 | + boot.initrd.kernelModules = []; |
| 17 | + boot.kernelModules = ["kvm-amd"]; |
| 18 | + boot.extraModulePackages = []; |
15 | 19 |
|
16 | | - fileSystems."/" = |
17 | | - { device = "/dev/disk/by-uuid/91f3c4c8-a7b9-4b78-9485-aa2493fccb14"; |
18 | | - fsType = "xfs"; |
19 | | - }; |
| 20 | + fileSystems."/" = { |
| 21 | + device = "/dev/disk/by-uuid/91f3c4c8-a7b9-4b78-9485-aa2493fccb14"; |
| 22 | + fsType = "xfs"; |
| 23 | + }; |
20 | 24 |
|
21 | | - fileSystems."/boot" = |
22 | | - { device = "/dev/disk/by-uuid/8ADA-57CC"; |
23 | | - fsType = "vfat"; |
24 | | - options = [ "fmask=0077" "dmask=0077" ]; |
25 | | - }; |
| 25 | + fileSystems."/boot" = { |
| 26 | + device = "/dev/disk/by-uuid/8ADA-57CC"; |
| 27 | + fsType = "vfat"; |
| 28 | + options = ["fmask=0077" "dmask=0077"]; |
| 29 | + }; |
26 | 30 |
|
27 | | - swapDevices = |
28 | | - [ { device = "/dev/disk/by-uuid/46bf1559-83ee-47a9-8f6d-bc34bc71550b"; } |
29 | | - ]; |
| 31 | + swapDevices = [ |
| 32 | + {device = "/dev/disk/by-uuid/46bf1559-83ee-47a9-8f6d-bc34bc71550b";} |
| 33 | + ]; |
30 | 34 |
|
31 | 35 | nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; |
32 | 36 | hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
|
0 commit comments