my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

flake/lib/mkServiceOption: kill extraConfig

isabel 7631786f d5ab4d11

+4 -8
+1 -3
modules/flake/lib/services.nix
··· 29 29 port ? 0, 30 30 host ? "127.0.0.1", 31 31 domain ? "", 32 - extraConfig ? { }, 33 32 }: 34 33 { 35 34 enable = mkEnableOption "Enable the ${name} service"; ··· 52 51 defaultText = "networking.domain"; 53 52 description = "Domain name for the ${name} service"; 54 53 }; 55 - } 56 - // extraConfig; 54 + }; 57 55 in 58 56 { 59 57 inherit mkGraphicalService mkServiceOption;
+3 -5
modules/nixos/services/nixpkgs-prs-bot.nix
··· 11 11 cfg = config.garden.services.nixpkgs-prs-bot; 12 12 in 13 13 { 14 - options.garden.services.nixpkgs-prs-bot = mkServiceOption "nixpkgs-prs-bot" { 15 - extraConfig = { 16 - fedi.enable = mkEnableOption "fedi"; 17 - bsky.enable = mkEnableOption "bsky"; 18 - }; 14 + options.garden.services.nixpkgs-prs-bot = mkServiceOption "nixpkgs-prs-bot" { } // { 15 + fedi.enable = mkEnableOption "fedi"; 16 + bsky.enable = mkEnableOption "bsky"; 19 17 }; 20 18 21 19 config = mkIf cfg.enable (mkMerge [