unfree package on my laptop noooooooooooo for school

This commit is contained in:
joygnu 2024-08-16 20:09:49 +02:00
parent 4e84ea6749
commit b46cbdccfc
2 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,7 @@
imports = [
../../modules
./hardware.nix
./unfree.nix
inputs.home-manager.nixosModules.default
];
}

11
hosts/laptop/unfree.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs , ... }:
{
environment.systemPackages = with pkgs; [
teams
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"teams"
];
}