comparison hardware-configuration.nix @ 0:face7f4d84f7

Initial commit
author Yasuri <yasuri@charliesmp.net>
date Mon, 28 Sep 2026 13:10:19 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:face7f4d84f7
1 # Do not modify this file! It was generated by ‘nixos-generate-config’
2 # and may be overwritten by future invocations. Please make changes
3 # to /etc/nixos/configuration.nix instead.
4 { config, lib, pkgs, modulesPath, ... }:
5
6 {
7 imports =
8 [ (modulesPath + "/installer/scan/not-detected.nix")
9 ];
10
11 boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" "rtsx_pci_sdmmc" ];
12 boot.initrd.kernelModules = [ ];
13 boot.kernelModules = [ "kvm-intel" ];
14 boot.extraModulePackages = [ ];
15
16 fileSystems."/" =
17 { device = "/dev/disk/by-uuid/2d1b96cc-6d26-4e5a-8e4a-1b44ebc71eb0";
18 fsType = "ext4";
19 };
20
21 fileSystems."/boot" =
22 { device = "/dev/disk/by-uuid/345A-4546";
23 fsType = "vfat";
24 options = [ "fmask=0022" "dmask=0022" ];
25 };
26
27 swapDevices =
28 [ { device = "/dev/disk/by-uuid/16498e53-9f29-492f-b247-3ef271a9958a"; }
29 ];
30
31 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
32 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
33 }