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.0 kB 110 lines
1{ 2 self, 3 config, 4 pkgs, 5 ... 6}: 7 8{ 9 imports = [ 10 ../../2configs 11 ../../2configs/retiolum.nix 12 # ../../2configs/baseX.nix 13 ../../2configs/desktops/sway/default.nix 14 self.wrapperModules.workspace-manager 15 # ../../2configs/desktops/xmonad 16 ../../2configs/power-action.nix 17 ../../2configs/yubikey.nix 18 ../../2configs/pipewire.nix 19 ../../2configs/udisks.nix 20 ../../2configs/browsers.nix 21 ../../2configs/network-manager.nix 22 ../../2configs/syncthing.nix 23 # ../../2configs/games.nix 24 ../../2configs/steam.nix 25 # ../../2configs/wine.nix 26 ../../2configs/yellow-mounts/samba.nix 27 ../../2configs/pass.nix 28 ../../2configs/mail.nix 29 ../../2configs/printing 30 ../../2configs/auto-timezone.nix 31 # ../../2configs/bitcoin.nix 32 ../../2configs/review.nix 33 ../../2configs/dunst.nix 34 ../../2configs/yggdrasil.nix 35 ../../2configs/container-tests.nix 36 # ../../2configs/sunshine.nix 37 # ../../2configs/br.nix 38 # ../../2configs/c-base.nix 39 ]; 40 41 system.stateVersion = "23.11"; 42 43 krebs.build.host = config.krebs.hosts.ignavia; 44 45 nix.settings.trusted-users = [ 46 "root" 47 "lass" 48 ]; 49 50 services.tor = { 51 enable = true; 52 client.enable = true; 53 }; 54 55 lass.workspace-manager.enable = true; 56 57 # Suspend on power button press instead of shutting down. 58 services.logind.settings.Login.HandlePowerKey = "suspend"; 59 60 # Auto-GC during builds when store free space drops below 10 GB, 61 # freeing down to 20 GB free. (gc.automatic is off for ignavia.) 62 nix.settings.min-free = 10240 * 1024 * 1024; 63 nix.settings.max-free = 20480 * 1024 * 1024; 64 65 # Framework 13 panel (2256x1504). wlroots' HiDPI heuristic auto-picks 66 # scale 2 on every sway start, which is far too large. Pin the internal 67 # panel to 1.0; external outputs keep sway's default. 68 environment.etc."sway/config.d/scale.conf".text = '' 69 output eDP-1 scale 1 70 ''; 71 72 documentation.nixos.enable = true; 73 boot.binfmt.emulatedSystems = [ 74 "aarch64-linux" 75 ]; 76 77 boot.tmp.cleanOnBoot = true; 78 programs.noisetorch.enable = true; 79 80 environment.systemPackages = [ 81 pkgs.android-tools 82 pkgs.gh 83 self.packages.${pkgs.system}.bank 84 pkgs.mycelium 85 pkgs.tmate 86 pkgs.rbw 87 ]; 88 89 krebs.hosts.styx.nets.retiolum.tinc.extraConfig = "Address = 10.42.0.1 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 104 users.users.mainUser.extraGroups = [ "wireshark" ]; 105 programs.wireshark.enable = true; 106 programs.wireshark.package = pkgs.wireshark-qt; 107 108 services.udev.packages = [ pkgs.libmtp.out ]; 109 110}