blob: e65488fbee048e23d15bf9e402dc7e53b3aa97cd [file] [log] [blame]
Skyler Grey1e2187f2023-03-03 22:45:10 +00001# 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.
Samuel Shuertf68685d2023-10-28 20:07:56 -04004{ config, lib, pkgs, modulesPath, ... }:
Skyler Grey1e2187f2023-03-03 22:45:10 +00005
6{
Samuel Shuertf68685d2023-10-28 20:07:56 -04007 imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
8
Skyler Greyfe1740c2023-10-21 01:24:18 +00009 boot.initrd.availableKernelModules =
Samuel Shuertf68685d2023-10-28 20:07:56 -040010 [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
Skyler Grey1e2187f2023-03-03 22:45:10 +000011 boot.initrd.kernelModules = [ ];
12 boot.kernelModules = [ "kvm-amd" ];
13 boot.extraModulePackages = [ ];
14
Skyler Greyfe1740c2023-10-21 01:24:18 +000015 fileSystems."/" = {
Samuel Shuertf68685d2023-10-28 20:07:56 -040016 device = "/dev/disk/by-uuid/0456a002-1692-4ed0-a233-d6cd76c8c2dd";
17 fsType = "btrfs";
Skyler Greyfe1740c2023-10-21 01:24:18 +000018 };
Skyler Grey1e2187f2023-03-03 22:45:10 +000019
Samuel Shuertf68685d2023-10-28 20:07:56 -040020 boot.initrd.luks.devices."luks-ssd0".device =
21 "/dev/disk/by-uuid/a50b2c75-dd36-4d31-924f-d4b77b94efa9";
22
Skyler Greyfe1740c2023-10-21 01:24:18 +000023 fileSystems."/boot" = {
Samuel Shuertf68685d2023-10-28 20:07:56 -040024 device = "/dev/disk/by-uuid/9416-209A";
Skyler Greyfe1740c2023-10-21 01:24:18 +000025 fsType = "vfat";
26 };
Skyler Grey1e2187f2023-03-03 22:45:10 +000027
28 swapDevices =
Samuel Shuertf68685d2023-10-28 20:07:56 -040029 [{ device = "/dev/disk/by-uuid/a1cb08ad-39b3-4a36-bf5a-fad7714a85c0"; }];
Skyler Grey1e2187f2023-03-03 22:45:10 +000030
31 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
32 # (the default) this is the recommended approach. When using systemd-networkd it's
33 # still possible to use this option, but it's recommended to use it in conjunction
34 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
35 networking.useDHCP = lib.mkDefault true;
Samuel Shuertf68685d2023-10-28 20:07:56 -040036 # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
37 # networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
Skyler Grey1e2187f2023-03-03 22:45:10 +000038
39 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
Skyler Greyfe1740c2023-10-21 01:24:18 +000040 hardware.cpu.amd.updateMicrocode =
41 lib.mkDefault config.hardware.enableRedistributableFirmware;
Skyler Grey1e2187f2023-03-03 22:45:10 +000042}