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