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.1 kB 46 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 = [ "xhci_hcd" "ehci_pci" "ahci" "usb_storage" ]; 16 }; 17 fileSystems = { 18 "/" = { 19 device = "/dev/pool/nix"; 20 fsType = "btrfs"; 21 }; 22 23 "/boot" = { 24 device = "/dev/sda1"; 25 }; 26 "/home" = { 27 device = "/dev/mapper/pool-home"; 28 fsType = "btrfs"; 29 options = ["defaults" "noatime" "ssd" "compress=lzo"]; 30 }; 31 "/bku" = { 32 device = "/dev/pool/bku"; 33 fsType = "btrfs"; 34 }; 35 "/backups" = { 36 device = "/dev/pool/backup"; 37 fsType = "ext4"; 38 }; 39 }; 40 41 services.udev.extraRules = '' 42 SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:29:26:bc", NAME="wl0" 43 SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:0c:a7:63", NAME="et0" 44 SUBSYSTEM=="net", ATTR{address}=="00:e0:4c:69:ea:71", NAME="int0" 45 ''; 46}