diff --git a/machines/persephone.nix b/machines/persephone.nix index cbe4049..0c06dc2 100644 --- a/machines/persephone.nix +++ b/machines/persephone.nix @@ -19,6 +19,15 @@ in ../profiles/minimal.nix ]; + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "1password" + "1password-cli" + "nvidia-x11" + "nvidia-settings" + ]; + # FILE SYSTEM fileSystems."/boot" = { @@ -209,8 +218,6 @@ in }; i18n.defaultLocale = "en_US.UTF-8"; - nixpkgs.config.allowUnfree = true; - nix.settings = { substituters = [ "https://cache.nixos-cuda.org" ]; trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];