grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderlovelace updates0e83893

main
1.3 KiB58 linesraw
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{
5  config,
6  lib,
7  pkgs,
8  modulesPath,
9  ...
10}:
11
12{
13  imports = [
14    (modulesPath + "/installer/scan/not-detected.nix")
15  ];
16
17  boot.initrd.availableKernelModules = [
18    "xhci_pci"
19    "ahci"
20    "usbhid"
21    "sd_mod"
22  ];
23  boot.initrd.kernelModules = [ ];
24  boot.kernelModules = [ "kvm-amd" ];
25  boot.extraModulePackages = [ ];
26
27  fileSystems."/" = {
28    device = "/dev/disk/by-uuid/f1d5dde9-9d71-4d35-823c-aa0c24a18874";
29    fsType = "btrfs";
30    options = [ "subvol=root" ];
31  };
32
33  fileSystems."/nix" = {
34    device = "/dev/disk/by-uuid/f1d5dde9-9d71-4d35-823c-aa0c24a18874";
35    fsType = "btrfs";
36    options = [ "subvol=nix" ];
37  };
38
39  fileSystems."/home" = {
40    device = "/dev/disk/by-uuid/f1d5dde9-9d71-4d35-823c-aa0c24a18874";
41    fsType = "btrfs";
42    options = [ "subvol=home" ];
43  };
44
45  fileSystems."/boot" = {
46    device = "/dev/disk/by-uuid/2B43-4E64";
47    fsType = "vfat";
48    options = [
49      "fmask=0022"
50      "dmask=0022"
51    ];
52  };
53
54  swapDevices = [ ];
55
56  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
57  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
58}