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 imports = [
12 (modulesPath + "/installer/scan/not-detected.nix")
13 ];
14
15 boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "sr_mod"];
16 boot.initrd.kernelModules = ["dm-snapshot"];
17 boot.kernelModules = ["kvm-intel"];
18 boot.extraModulePackages = [];
19
20 fileSystems."/" = {
21 device = "/dev/disk/by-uuid/0b38be0c-5365-4f02-85b8-72f37bb2ddf8";
22 fsType = "btrfs";
23 };
24
25 fileSystems."/var/log" = {
26 device = "/dev/disk/by-uuid/e6ff7c96-3bef-4a17-9114-64ef1460fc00";
27 fsType = "btrfs";
28 };
29
30 fileSystems."/var/log/audit" = {
31 device = "/dev/disk/by-uuid/a20e2995-7297-4f69-af89-b58ff314e029";
32 fsType = "btrfs";
33 };
34
35 fileSystems."/srv/osm-data" = {
36 device = "/dev/disk/by-uuid/3c1a8b58-fbe6-4522-8e27-72419b3c2d6f";
37 fsType = "btrfs";
38 };
39
40 fileSystems."/boot" = {
41 device = "/dev/disk/by-uuid/9E0F-3FDE";
42 fsType = "vfat";
43 };
44
45 fileSystems."/boot/efi" = {
46 device = "/dev/disk/by-uuid/9EB1-FA5A";
47 fsType = "vfat";
48 };
49
50 fileSystems."/srv/www/keine" = {
51 device = "/dev/disk/by-uuid/0a0e102a-b1ac-44a2-947b-2ec505b532ad";
52 fsType = "btrfs";
53 };
54
55 fileSystems."/home" = {
56 device = "/dev/disk/by-uuid/50165105-6b82-4228-9640-2d32ce45f76e";
57 fsType = "btrfs";
58 };
59
60 swapDevices = [
61 {device = "/dev/disk/by-uuid/efd68464-2e0c-4aaf-8264-519dd7d05ddf";}
62 ];
63
64 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
65 # (the default) this is the recommended approach. When using systemd-networkd it's
66 # still possible to use this option, but it's recommended to use it in conjunction
67 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
68 networking.useDHCP = lib.mkDefault true;
69 # networking.interfaces.br0.useDHCP = lib.mkDefault true;
70 # networking.interfaces.eno1.useDHCP = lib.mkDefault true;
71
72 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
73 powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
74 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
75}