This repository has no description
0

Configure Feed

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

superconfig / machines / ignavia / config.nix
3.3 kB 119 lines
1{ 2 self, 3 config, 4 pkgs, 5 ... 6}: 7 8{ 9 imports = [ 10 ../../2configs 11 ../../2configs/retiolum.nix 12 ../../2configs/tpm2.nix 13 ../../2configs/phonetpm.nix 14 # ../../2configs/baseX.nix 15 ../../2configs/desktops/sway/default.nix 16 self.wrapperModules.workspace-manager 17 # ../../2configs/desktops/xmonad 18 ../../2configs/power-action.nix 19 ../../2configs/yubikey.nix 20 ../../2configs/pipewire.nix 21 ../../2configs/udisks.nix 22 ../../2configs/browsers.nix 23 ../../2configs/network-manager.nix 24 ../../2configs/syncthing.nix 25 # ../../2configs/games.nix 26 ../../2configs/steam.nix 27 # ../../2configs/wine.nix 28 ../../2configs/yellow-mounts/samba.nix 29 ../../2configs/pass.nix 30 ../../2configs/mail.nix 31 ../../2configs/printing 32 ../../2configs/auto-timezone.nix 33 # ../../2configs/bitcoin.nix 34 ../../2configs/review.nix 35 ../../2configs/dunst.nix 36 ../../2configs/yggdrasil.nix 37 ../../2configs/container-tests.nix 38 ../../2configs/rad.nix 39 ../../2configs/herdr.nix 40 # ../../2configs/sunshine.nix 41 # ../../2configs/br.nix 42 # ../../2configs/c-base.nix 43 ]; 44 45 system.stateVersion = "23.11"; 46 47 krebs.build.host = config.krebs.hosts.ignavia; 48 49 nix.settings.trusted-users = [ 50 "root" 51 "lass" 52 ]; 53 54 services.tor = { 55 enable = true; 56 client.enable = true; 57 }; 58 59 lass.workspace-manager.enable = true; 60 61 # Suspend on power button press instead of shutting down. 62 services.logind.settings.Login.HandlePowerKey = "suspend"; 63 64 # Auto-GC during builds when store free space drops below 10 GB, 65 # freeing down to 20 GB free. (gc.automatic is off for ignavia.) 66 nix.settings.min-free = 10240 * 1024 * 1024; 67 nix.settings.max-free = 20480 * 1024 * 1024; 68 69 # Framework 13 panel (2256x1504). wlroots' HiDPI heuristic auto-picks 70 # scale 2 on every sway start, which is far too large. Pin the internal 71 # panel to 1.0; external outputs keep sway's default. 72 environment.etc."sway/config.d/scale.conf".text = '' 73 output eDP-1 scale 1 74 ''; 75 76 documentation.nixos.enable = true; 77 boot.binfmt.emulatedSystems = [ 78 "aarch64-linux" 79 ]; 80 81 boot.tmp.cleanOnBoot = true; 82 programs.noisetorch.enable = true; 83 84 environment.systemPackages = [ 85 pkgs.android-tools 86 pkgs.gh 87 self.packages.${pkgs.system}.bank 88 pkgs.ddcutil 89 pkgs.mycelium 90 pkgs.tmate 91 pkgs.rbw 92 ]; 93 94 krebs.hosts.styx.nets.retiolum.tinc.extraConfig = "Address = 10.42.0.3 655"; 95 96 virtualisation.podman.enable = true; 97 98 hardware.keyboard.qmk.enable = true; 99 hardware.xpadneo.enable = true; 100 hardware.bluetooth.settings.General = { 101 # Xbox Wireless Controllers fail LE authentication without these: 102 # JustWorksRepairing lets bluez accept fresh pairings without manual remove, 103 # Privacy = device makes the host use a static address so the controller's 104 # bond key doesn't get invalidated by RPA rotation. 105 JustWorksRepairing = "always"; 106 Privacy = "device"; 107 }; 108 users.users.mainUser.extraGroups = [ 109 "wireshark" 110 "i2c" 111 ]; 112 users.groups.i2c = { }; 113 programs.wireshark.enable = true; 114 programs.wireshark.package = pkgs.wireshark-qt; 115 116 services.udev.packages = [ pkgs.libmtp.out ]; 117 118 systemd.services.nix-daemon.environment.SSH_AUTH_SOCK = "/run/user/1000/ssh-tpm-agent.sock"; 119}