unfree package on my laptop noooooooooooo for school
This commit is contained in:
parent
6fc3f4912a
commit
1ac2c8c6ff
|
@ -12,6 +12,7 @@
|
|||
imports = [
|
||||
../../modules
|
||||
./hardware.nix
|
||||
./unfree.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
}
|
||||
|
|
11
hosts/laptop/unfree.nix
Normal file
11
hosts/laptop/unfree.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs , ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
teams
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"teams"
|
||||
];
|
||||
|
||||
}
|
||||
|
Loading…
Reference in a new issue