This repository has no description
0

Configure Feed

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

superconfig / machines / daedalus / physical.nix
1.5 kB 73 lines
1{ self, config, ... }: 2{ 3 imports = [ 4 ./config.nix 5 (self.inputs.stockholm + "/krebs/2configs/hw/x220.nix") 6 ../../2configs/boot/coreboot.nix 7 ]; 8 9 fileSystems = { 10 "/" = { 11 device = "/dev/pool/root"; 12 fsType = "btrfs"; 13 }; 14 "/boot" = { 15 device = "/dev/sda2"; 16 }; 17 "/home" = { 18 device = "/dev/mapper/pool-home"; 19 fsType = "btrfs"; 20 options = [ 21 "defaults" 22 "noatime" 23 "ssd" 24 "compress=lzo" 25 ]; 26 }; 27 # "/bku" = { 28 # device = "/dev/mapper/pool-bku"; 29 # fsType = "btrfs"; 30 # options = [ 31 # "defaults" 32 # "noatime" 33 # "ssd" 34 # "compress=lzo" 35 # ]; 36 # }; 37 # "/backups" = { 38 # device = "/dev/pool/backup"; 39 # fsType = "ext4"; 40 # }; 41 }; 42 43 boot = { 44 initrd.availableKernelModules = [ 45 "xhci_hcd" 46 "ehci_pci" 47 "ahci" 48 "usb_storage" 49 ]; 50 extraModulePackages = [ 51 config.boot.kernelPackages.tp_smapi 52 config.boot.kernelPackages.acpi_call 53 ]; 54 kernelModules = [ 55 "acpi_call" 56 "tp_smapi" 57 ]; 58 }; 59 60 services.udev.extraRules = '' 61 SUBSYSTEM=="net", ATTR{address}=="08:11:96:0a:5d:6c", NAME="wl0" 62 SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:71:cb:35", NAME="et0" 63 ''; 64 65 boot.initrd.luks.devices.luksroot.device = "/dev/sda3"; 66 67 services.logind.lidSwitch = "ignore"; 68 services.logind.lidSwitchDocked = "ignore"; 69 70 services.tlp.enable = true; 71 72 services.xserver.dpi = 80; 73}