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 18 command: | 19 19 set -eo pipefail 20 20 21 - deadnix --exclude **/npins --no-underscore --fail | ansifilter 21 + deadnix --exclude **/npins --no-underscore --no-lambda-pattern-names --fail | ansifilter
+20 -21
packetmix/ci.nix
··· 6 6 base = import ./nilla.nix; 7 7 project = base.extend { 8 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 - ) 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 + 30 29 { 31 30 config.lib.ci = true; 32 31 }
-1
packetmix/homes/default.nix
··· 3 3 # 4 4 # SPDX-License-Identifier: MIT 5 5 6 - { config, ... }: 7 6 { 8 7 config.homes."maya:x86_64-linux" = { 9 8 modules = [
-1
packetmix/nilla.nix
··· 106 106 { 107 107 pkgs, 108 108 system, 109 - npins, 110 109 mkShell, 111 110 kdePackages, 112 111 ...
-1
packetmix/packages/OpenLinkHub/default.nix
··· 1 1 # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 2 # 3 3 # SPDX-License-Identifier: MIT 4 - { config, ... }: 5 4 { 6 5 config.packages.openlinkhub = { 7 6 systems = [ "x86_64-linux" ];
-1
packetmix/packages/kavita/default.nix
··· 2 2 # SPDX-FileCopyrightText: 2025 Nixpkgs Maintainers 3 3 # 4 4 # SPDX-License-Identifier: MIT 5 - { config, ... }: 6 5 { 7 6 config.packages.kavita = { 8 7 systems = [ "x86_64-linux" ];
-4
packetmix/systems/teal/vaultwarden.nix
··· 3 3 # SPDX-License-Identifier: MIT 4 4 5 5 { 6 - config, 7 - ... 8 - }: 9 - { 10 6 services.vaultwarden = { 11 7 enable = true; 12 8 dbBackend = "postgresql";