Allow selected unfree packages

This commit is contained in:
Mikael 2024-08-07 14:28:14 +02:00
parent cb2384b754
commit e9dedabcb8
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -18,6 +18,9 @@ in {
users.${user} = inputs.self.homeConfigurations.default; users.${user} = inputs.self.homeConfigurations.default;
}; };
nixpkgs.config.allowUnfreePredicate = lib.mkIf graphical
(pkg: builtins.elem (lib.getName pkg) [ "obsidian" ]);
programs.dconf.enable = lib.mkIf graphical true; programs.dconf.enable = lib.mkIf graphical true;
programs.fish.enable = true; programs.fish.enable = true;