This repository has no description
0

Configure Feed

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

superconfig / machines / aergia / config.nix
6.5 kB 151 lines
1{ self, config, pkgs, ... }: 2 3{ 4 imports = [ 5 ../../2configs/retiolum.nix 6 ../../2configs/exim-retiolum.nix 7 ../../2configs/baseX.nix 8 ../../2configs/pipewire.nix 9 ../../2configs/browsers.nix 10 ../../2configs/programs.nix 11 ../../2configs/network-manager.nix 12 ../../2configs/syncthing.nix 13 ../../2configs/games.nix 14 ../../2configs/steam.nix 15 ../../2configs/wine.nix 16 ../../2configs/fetchWallpaper.nix 17 ../../2configs/yellow-mounts/samba.nix 18 ../../2configs/pass.nix 19 ../../2configs/mail.nix 20 ../../2configs/bitcoin.nix 21 ../../2configs/review.nix 22 ../../2configs/dunst.nix 23 ../../2configs/print.nix 24 ../../2configs/br.nix 25 ../../2configs/c-base.nix 26 { # autorandrs 27 services.autorandr = { 28 enable = true; 29 hooks.postswitch.reset_usb = '' 30 echo 0 > /sys/bus/usb/devices/usb9/authorized; echo 1 > /sys/bus/usb/devices/usb9/authorized 31 ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert 32 ''; 33 profiles = { 34 default = { 35 fingerprint = { 36 eDP = "00ffffffffffff00288931000100000016200104805932780a0dc9a05747982712484c0000000101010101010101010101010101010108700088a1401360c820a300d9870000001ead4a0088a1401360c820a30020c23100001e000000fd0016480f5a1e000a202020202020000000fc0047504431303031480a2020202000cf"; 37 }; 38 config = { 39 eDP = { 40 enable = true; 41 primary = true; 42 position = "0x0"; 43 mode = "2560x1600"; 44 rate = "60.01"; 45 }; 46 }; 47 }; 48 docked2 = { 49 fingerprint = { 50 eDP = config.services.autorandr.profiles.default.fingerprint.eDP; 51 DisplayPort-8 = "00ffffffffffff0010ac39d14c3346300f200104b5462878fb26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030a5fafa41010a2020202020200181020332f149030212110490131f3f2309070783010000e200eae305c000e606050162622c6d1a0000020b30a50007622c622c5a8780a070384d4030203500b9882100001af4fb0050a0a0285008206800b9882100001a40e7006aa0a0675008209804b9882100001a6fc200a0a0a0555030203500b9882100001a000000000009"; 52 DisplayPort-7 = "00ffffffffffff0020a32f00010000000c190103807341780acf74a3574cb02309484c21080081c0814081800101010101010101010104740030f2705a80b0588a00501d7400001e023a801871382d40582c4500501d7400001e000000fc00484953454e53450a2020202020000000fd00324b0f451e000a2020202020200172020333714f5f5e5d01020400101113001f2021222909070715075057070083010000e200f96d030c002000183c200060010203662150b051001b304070360056005300001e011d8018711c1620582c2500c48e2100009e011d007251d01e206e285500c48e2100001800000000000000000000000000000000000000000000ea"; 53 }; 54 config = { 55 DisplayPort-7 = { 56 enable = true; 57 position = "2560x0"; 58 mode = "1920x1080"; 59 rate = "60.00"; 60 }; 61 DisplayPort-8 = config.services.autorandr.profiles.docked1.config.DisplayPort-1; 62 eDP = config.services.autorandr.profiles.docked1.config.eDP; 63 }; 64 }; 65 docked1 = { 66 fingerprint = { 67 eDP = config.services.autorandr.profiles.default.fingerprint.eDP; 68 DisplayPort-1 = "00ffffffffffff0010ac39d14c3346300f200104b5462878fb26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030a5fafa41010a2020202020200181020332f149030212110490131f3f2309070783010000e200eae305c000e606050162622c6d1a0000020b30a50007622c622c000000000000000000000000000000000000f4fb0050a0a0285008206800b9882100001a40e7006aa0a0675008209804b9882100001a6fc200a0a0a0555030203500b9882100001a000000000040"; 69 }; 70 config = { 71 DisplayPort-1 = { 72 enable = true; 73 primary = true; 74 position = "0x0"; 75 mode = "2560x1440"; 76 rate = "165.08"; 77 }; 78 eDP = config.services.autorandr.profiles.default.config.eDP // { 79 primary = false; 80 position = "640x1440"; 81 }; 82 }; 83 }; 84 docked1_hack = { 85 fingerprint = { 86 eDP = config.services.autorandr.profiles.default.fingerprint.eDP; 87 HDMI-A-0 = "00ffffffffffff0010ac31d14c3346300f20010380462878ea26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030901ee63c000a20202020202001db020346f14d030212110113042f141f05103f2309070783010000e200ea67030c001000383c67d85dc4017888006d1a0000020b3090e607622c622ce305c000e606050162622c40e7006aa0a0675008209804b9882100001a6fc200a0a0a05550302035001d4e3100001a000000000000000000000000000000000000000000fc"; 88 }; 89 config = { 90 HDMI-A-0 = { 91 enable = true; 92 primary = true; 93 position = "0x0"; 94 mode = "2560x1440"; 95 rate = "165.08"; 96 }; 97 eDP = config.services.autorandr.profiles.default.config.eDP // { 98 primary = false; 99 position = "640x1440"; 100 }; 101 }; 102 }; 103 }; 104 }; 105 } 106 ]; 107 108 system.stateVersion = "22.11"; 109 110 krebs.build.host = config.krebs.hosts.aergia; 111 112 environment.systemPackages = [ 113 pkgs.brain 114 pkgs.bank 115 pkgs.l-gen-secrets 116 pkgs.generate-secrets 117 pkgs.nixpkgs-review 118 pkgs.pipenv 119 # self.inputs.clan-core.packages.${pkgs.system}.clan-cli 120 ]; 121 122 programs.adb.enable = true; 123 124 hardware.bluetooth = { 125 enable = true; 126 powerOnBoot = true; 127 }; 128 hardware.pulseaudio.package = pkgs.pulseaudioFull; 129 130 nix.trustedUsers = [ "root" "lass" ]; 131 132 services.tor = { 133 enable = true; 134 client.enable = true; 135 }; 136 137 documentation.nixos.enable = true; 138 boot.binfmt.emulatedSystems = [ 139 "aarch64-linux" 140 ]; 141 142 boot.cleanTmpDir = true; 143 programs.noisetorch.enable = true; 144 145 146 clan.networking.zerotier = { 147 networkId = "970db1b038cdf332"; 148 controller.enable = true; 149 controller.public = true; 150 }; 151}