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