This repository has no description
682 B
24 lines
1{ self, ... }:
2{
3 imports = [
4 ./config.nix
5 ./disk.nix
6 self.inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220
7 ];
8
9 # Disable hdapsd - not needed for SSD, and the package is broken with newer GCC
10 services.hdapsd.enable = false;
11
12 boot.loader.grub = {
13 enable = true;
14 device = "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_500GB_S2RBNX0H662201F";
15 efiSupport = true;
16 efiInstallAsRemovable = true;
17 };
18
19 services.udev.extraRules = ''
20 SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:29:26:bc", NAME="wl0"
21 SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:0c:a7:63", NAME="et0"
22 SUBSYSTEM=="net", ATTR{address}=="00:e0:4c:69:ea:71", NAME="int0"
23 '';
24}