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 modulesPath,
8 ...
9}:
10{
11 imports = [
12 (modulesPath + "/installer/scan/not-detected.nix")
13 ];
14
15 boot.initrd.availableKernelModules = [
16 "nvme"
17 "xhci_pci"
18 "ahci"
19 "usbhid"
20 ];
21 boot.initrd.kernelModules = [ ];
22 boot.kernelModules = [ "kvm-amd" ];
23 boot.extraModulePackages = [ ];
24
25 fileSystems."/" = {
26 device = "/dev/disk/by-uuid/e6637f8a-12fc-4aa4-8335-3fad10d8f63a";
27 fsType = "btrfs";
28 };
29
30 boot.initrd.luks.devices."gock".device = "/dev/disk/by-uuid/9d57daa1-f152-443d-992c-b58cbfa57ec1";
31
32 fileSystems."/efi" = {
33 device = "/dev/disk/by-uuid/77E6-011C";
34 fsType = "vfat";
35 options = [
36 "fmask=0022"
37 "dmask=0022"
38 "umask=0077"
39 ];
40 };
41
42 swapDevices = [
43 { device = "/dev/disk/by-uuid/40a77774-ab28-45db-8f8a-845814eacba9"; }
44 ];
45
46 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
47 # (the default) this is the recommended approach. When using systemd-networkd it's
48 # still possible to use this option, but it's recommended to use it in conjunction
49 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
50 networking.useDHCP = lib.mkDefault true;
51 # networking.interfaces.eno1.useDHCP = lib.mkDefault true;
52
53 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
54 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
55}