unfree package on my laptop noooooooooooo for school

This commit is contained in:
joy 2024-08-16 20:09:49 +02:00
parent 6fc3f4912a
commit 1ac2c8c6ff
2 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,7 @@
imports = [ imports = [
../../modules ../../modules
./hardware.nix ./hardware.nix
./unfree.nix
inputs.home-manager.nixosModules.default 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"
];
}