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