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