a dotfile but it's really big

statix + remove dead packages

karitham.dev 68bec351 81095160

verified
+9 -17
+2 -10
modules/desktop/desktop.nix
··· 14 14 environment = { 15 15 systemPackages = with pkgs; [ 16 16 wl-clipboard 17 - wlroots 18 17 xdg-utils 19 18 pavucontrol 20 - killall 21 19 playerctl 22 20 brightnessctl 23 21 upower 24 22 pulseaudio 25 23 gnome-themes-extra 26 - mpv 27 24 ]; 28 25 29 26 etc = { ··· 39 36 }; 40 37 41 38 programs = { 42 - niri = { 43 - enable = true; 44 - }; 45 - 46 - hyprlock = { 47 - enable = cfg.hyprlock.enable; 48 - }; 39 + niri.enable = true; 40 + hyprlock.enable = cfg.hyprlock.enable; 49 41 }; 50 42 51 43 services = {
+2 -2
modules/opencode/default.nix
··· 33 33 package = opencodePkg; 34 34 enableMcpIntegration = cfg.enableMcp; 35 35 settings = { 36 - theme = cfg.theme; 37 - plugin = [ "git@tangled.org:karitham.dev/langrules-opencode" ]; 36 + inherit (cfg) theme; 37 + # plugin = [ "git@tangled.org:karitham.dev/langrules-opencode" ]; 38 38 permission = { 39 39 todoread = "deny"; 40 40 todowrite = "deny";
+2 -2
modules/pds/nixos.nix
··· 20 20 pdsUser = "pds"; 21 21 pdsGroup = "pds"; 22 22 23 - secretsFiles = cfg.secretsFiles; 23 + inherit (cfg) secretsFiles; 24 24 25 25 litestreamConfig = pkgs.writeText "litestream-pds-config.yml" '' 26 26 dbs: ··· 225 225 }; 226 226 227 227 settings = mkOption { 228 - type = options.services.bluesky-pds.settings.type; 228 + inherit (options.services.bluesky-pds.settings) type; 229 229 default = { }; 230 230 description = "Additional settings to pass to bluesky-pds:\n\n" ++ options.services.bluesky-pds.settings.description; 231 231 example = {
+1 -1
modules/pds/pds-recovery-full.nix
··· 2 2 let 3 3 _pkgs = import nixpkgs { 4 4 config = { }; 5 - system = pkgs.stdenv.hostPlatform.system; 5 + inherit (pkgs.stdenv.hostPlatform) system; 6 6 overlays = [ (import ../overlays) ]; 7 7 }; 8 8 in
+1 -1
modules/pds/pds-recovery-simple.nix
··· 2 2 let 3 3 _pkgs = import nixpkgs { 4 4 config = { }; 5 - system = pkgs.stdenv.hostPlatform.system; 5 + inherit (pkgs.stdenv.hostPlatform) system; 6 6 overlays = [ (import ../overlays) ]; 7 7 }; 8 8 in
+1 -1
modules/services/multi-scrobbler.nix
··· 59 59 config = lib.mkIf cfg.enable { 60 60 users.users.${cfg.user} = { 61 61 isSystemUser = true; 62 - group = cfg.group; 62 + inherit (cfg) group; 63 63 description = "Multi-Scrobbler service user"; 64 64 }; 65 65