Your one-stop-cake-shop for everything Freshly Baked has to offer

fix(pm): satisfy deadnix

deadnix finds unused nix code, some versions were giving us trouble
as we rely on some unused parameters to be introspected by callers...
though not all of them

authored by thecoded.prof and committed by a.starrysky.fyi b308e705 b76f892d

Changed files
+21 -30
.tangled
workflows
packetmix
homes
packages
OpenLinkHub
kavita
systems
+1 -1
.tangled/workflows/deadnix.yml
··· 18 command: | 19 set -eo pipefail 20 21 - deadnix --exclude **/npins --no-underscore --fail | ansifilter
··· 18 command: | 19 set -eo pipefail 20 21 + deadnix --exclude **/npins --no-underscore --no-lambda-pattern-names --fail | ansifilter
+20 -21
packetmix/ci.nix
··· 6 base = import ./nilla.nix; 7 project = base.extend { 8 modules = [ 9 - ( 10 - { config, ... }: 11 - { 12 - config.inputs = ( 13 - builtins.mapAttrs ( 14 - _name: value: 15 - if value ? settings.configuration.allowUnfree then 16 - { 17 - settings.configuration = { 18 - allowUnfree = false; 19 - allowUnfreePredicate = ( 20 - x: (x ? meta.license) && (x.meta.license.shortName == "unfreeRedistributable") 21 - ); # As we push to a public cachix, we can't use non-redistributable unfree software in CI 22 - }; 23 - } 24 - else 25 - { } 26 - ) base.inputs 27 - ); 28 - } 29 - ) 30 { 31 config.lib.ci = true; 32 }
··· 6 base = import ./nilla.nix; 7 project = base.extend { 8 modules = [ 9 + 10 + { 11 + config.inputs = ( 12 + builtins.mapAttrs ( 13 + _name: value: 14 + if value ? settings.configuration.allowUnfree then 15 + { 16 + settings.configuration = { 17 + allowUnfree = false; 18 + allowUnfreePredicate = ( 19 + x: (x ? meta.license) && (x.meta.license.shortName == "unfreeRedistributable") 20 + ); # As we push to a public cachix, we can't use non-redistributable unfree software in CI 21 + }; 22 + } 23 + else 24 + { } 25 + ) base.inputs 26 + ); 27 + } 28 + 29 { 30 config.lib.ci = true; 31 }
-1
packetmix/homes/default.nix
··· 3 # 4 # SPDX-License-Identifier: MIT 5 6 - { config, ... }: 7 { 8 config.homes."maya:x86_64-linux" = { 9 modules = [
··· 3 # 4 # SPDX-License-Identifier: MIT 5 6 { 7 config.homes."maya:x86_64-linux" = { 8 modules = [
-1
packetmix/nilla.nix
··· 106 { 107 pkgs, 108 system, 109 - npins, 110 mkShell, 111 kdePackages, 112 ...
··· 106 { 107 pkgs, 108 system, 109 mkShell, 110 kdePackages, 111 ...
-1
packetmix/packages/OpenLinkHub/default.nix
··· 1 # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 # 3 # SPDX-License-Identifier: MIT 4 - { config, ... }: 5 { 6 config.packages.openlinkhub = { 7 systems = [ "x86_64-linux" ];
··· 1 # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 # 3 # SPDX-License-Identifier: MIT 4 { 5 config.packages.openlinkhub = { 6 systems = [ "x86_64-linux" ];
-1
packetmix/packages/kavita/default.nix
··· 2 # SPDX-FileCopyrightText: 2025 Nixpkgs Maintainers 3 # 4 # SPDX-License-Identifier: MIT 5 - { config, ... }: 6 { 7 config.packages.kavita = { 8 systems = [ "x86_64-linux" ];
··· 2 # SPDX-FileCopyrightText: 2025 Nixpkgs Maintainers 3 # 4 # SPDX-License-Identifier: MIT 5 { 6 config.packages.kavita = { 7 systems = [ "x86_64-linux" ];
-4
packetmix/systems/teal/vaultwarden.nix
··· 3 # SPDX-License-Identifier: MIT 4 5 { 6 - config, 7 - ... 8 - }: 9 - { 10 services.vaultwarden = { 11 enable = true; 12 dbBackend = "postgresql";
··· 3 # SPDX-License-Identifier: MIT 4 5 { 6 services.vaultwarden = { 7 enable = true; 8 dbBackend = "postgresql";