This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / machines / shodan / physical.nix
1.2 kB 56 lines
1{ self, ... }: 2{ 3 #TODO reinstall with correct layout and use lass/hw/x220 4 imports = [ 5 ./config.nix 6 (self.inputs.stockholm + "/krebs/2configs/hw/x220.nix") 7 ]; 8 9 boot = { 10 loader.grub.enable = true; 11 loader.grub.version = 2; 12 loader.grub.device = "/dev/sda"; 13 14 initrd.luks.devices.lusksroot.device = "/dev/sda2"; 15 initrd.availableKernelModules = [ 16 "xhci_hcd" 17 "ehci_pci" 18 "ahci" 19 "usb_storage" 20 ]; 21 }; 22 fileSystems = { 23 "/" = { 24 device = "/dev/pool/nix"; 25 fsType = "btrfs"; 26 }; 27 28 "/boot" = { 29 device = "/dev/sda1"; 30 }; 31 "/home" = { 32 device = "/dev/mapper/pool-home"; 33 fsType = "btrfs"; 34 options = [ 35 "defaults" 36 "noatime" 37 "ssd" 38 "compress=lzo" 39 ]; 40 }; 41 "/bku" = { 42 device = "/dev/pool/bku"; 43 fsType = "btrfs"; 44 }; 45 "/backups" = { 46 device = "/dev/pool/backup"; 47 fsType = "ext4"; 48 }; 49 }; 50 51 services.udev.extraRules = '' 52 SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:29:26:bc", NAME="wl0" 53 SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:0c:a7:63", NAME="et0" 54 SUBSYSTEM=="net", ATTR{address}=="00:e0:4c:69:ea:71", NAME="int0" 55 ''; 56}