diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 93a811b..929e2b0 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -12,6 +12,7 @@ imports = [ ../../modules ./hardware.nix + ./unfree.nix inputs.home-manager.nixosModules.default ]; } diff --git a/hosts/laptop/unfree.nix b/hosts/laptop/unfree.nix new file mode 100644 index 0000000..b1a0cd5 --- /dev/null +++ b/hosts/laptop/unfree.nix @@ -0,0 +1,11 @@ +{ pkgs , ... }: +{ + environment.systemPackages = with pkgs; [ + teams + ]; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "teams" + ]; + +} +