feat(packages): explicitely allow unfree packages instead of global

wildcard
This commit is contained in:
Pierre Martin
2022-09-03 07:02:38 +02:00
parent 25b900dc3a
commit b2c5455747
3 changed files with 14 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
home.stateVersion = "22.05";
@@ -6,6 +6,19 @@
home.file.".i3status.conf".source = ./files/.i3status.conf;
home.file.".config/traefik/traefik.toml".source = ./files/traefik.toml;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"1password" "1password-cli"
"ngrok"
"postman"
"vscode"
"google-chrome-beta"
"slack"
"spotify" "spotify-unwrapped"
"zoom"
];
home.packages = with pkgs; [
wget
curl