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