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