Nix configurations for my homelab
0

Configure Feed

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

at main 313 B View raw
1{ config, lib, ... }: 2{ 3 options.cafe.unfree = lib.mkOption { 4 type = with lib.types; listOf str; 5 default = [ ]; 6 description = "A list of unfree packages that are allowed to be installed"; 7 }; 8 9 config.nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.cafe.unfree; 10}