This repository has no description
1.4 kB
56 lines
1{
2 modulesPath,
3 lib,
4 ...
5}:
6{
7 imports = [
8 ./config.nix
9 (modulesPath + "/installer/scan/not-detected.nix")
10 ];
11
12 boot.loader.grub.enable = true;
13 boot.loader.grub.version = 2;
14 boot.loader.grub.efiSupport = true;
15 boot.loader.grub.efiInstallAsRemovable = true;
16 boot.loader.grub.device = "/dev/disk/by-id/wwn-0x5002538d702f5ac6";
17 boot.initrd.luks.devices.ssd.device = "/dev/disk/by-id/wwn-0x5002538d702f5ac6-part3";
18
19 boot.initrd.availableKernelModules = [
20 "ehci_pci"
21 "ahci"
22 "xhci_pci"
23 "sd_mod"
24 "sdhci_pci"
25 ];
26 boot.initrd.kernelModules = [ "dm-snapshot" ];
27 boot.kernelModules = [ "kvm-intel" ];
28 boot.extraModulePackages = [ ];
29
30 fileSystems."/" = {
31 device = "/dev/disk/by-uuid/298eb635-8db2-4c15-a73d-2e0d6afa10e8";
32 fsType = "xfs";
33 };
34
35 fileSystems."/home" = {
36 device = "/dev/disk/by-uuid/eec94bef-e745-4d95-ad17-4df728f5fd31";
37 fsType = "xfs";
38 };
39
40 fileSystems."/boot" = {
41 device = "/dev/disk/by-uuid/D975-2CAB";
42 fsType = "vfat";
43 };
44
45 swapDevices = [ ];
46
47 nix.maxJobs = lib.mkDefault 4;
48 powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
49
50 services.udev.extraRules = ''
51 SUBSYSTEM=="net", ATTR{address}=="00:24:d7:f0:a0:0c", NAME="wl0"
52 SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:71:cb:35", NAME="et0"
53 '';
54
55 services.logind.lidSwitch = "ignore";
56}