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 117 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/baseX.nix 16 ../../configs/desktops/sway/default.nix 17 self.wrapperModules.workspace-manager 18 # ../../configs/desktops/xmonad 19 ../../configs/power-action.nix 20 ../../configs/yubikey.nix 21 ../../configs/pipewire.nix 22 ../../configs/udisks.nix 23 ../../configs/browsers.nix 24 ../../configs/network-manager.nix 25 ../../configs/syncthing.nix 26 # ../../configs/games.nix 27 ../../configs/steam.nix 28 # ../../configs/wine.nix 29 ../../configs/yellow-mounts/samba.nix 30 ../../configs/pass.nix 31 ../../configs/mail.nix 32 ../../configs/printing 33 ../../configs/auto-timezone.nix 34 ../../configs/review.nix 35 ../../configs/dunst.nix 36 ../../configs/yggdrasil.nix 37 ../../configs/container-tests.nix 38 ../../configs/rad.nix 39 ../../configs/herdr.nix 40 ../../configs/tablet-screen.nix 41 # ../../configs/br.nix 42 ]; 43 44 system.stateVersion = "23.11"; 45 46 nix.settings.trusted-users = [ 47 "root" 48 "lass" 49 ]; 50 51 services.tor = { 52 enable = true; 53 client.enable = true; 54 }; 55 56 lass.workspace-manager.enable = true; 57 58 # Suspend on power button press instead of shutting down. 59 services.logind.settings.Login.HandlePowerKey = "suspend"; 60 61 # Auto-GC during builds when store free space drops below 10 GB, 62 # freeing down to 20 GB free. (gc.automatic is off for ignavia.) 63 nix.settings.min-free = 10240 * 1024 * 1024; 64 nix.settings.max-free = 20480 * 1024 * 1024; 65 66 # Framework 13 panel (2256x1504). wlroots' HiDPI heuristic auto-picks 67 # scale 2 on every sway start, which is far too large. Pin the internal 68 # panel to 1.0; external outputs keep sway's default. 69 environment.etc."sway/config.d/scale.conf".text = '' 70 output eDP-1 scale 1 71 ''; 72 73 documentation.nixos.enable = true; 74 boot.binfmt.emulatedSystems = [ 75 "aarch64-linux" 76 ]; 77 78 boot.tmp.cleanOnBoot = true; 79 programs.noisetorch.enable = true; 80 81 environment.systemPackages = [ 82 pkgs.android-tools 83 pkgs.gh 84 self.packages.${pkgs.system}.bank 85 pkgs.ddcutil 86 pkgs.mycelium 87 pkgs.rbw 88 ]; 89 90 # styx on the gg23 LAN; appended to the kartei-built host file 91 services.tinc.networks.retiolum.hosts.styx = lib.mkAfter "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 = 116 "/run/user/${toString config.users.users.mainUser.uid}/ssh-tpm-agent.sock"; 117}