unfree package on my laptop noooooooooooo for school
This commit is contained in:
parent
4e84ea6749
commit
b46cbdccfc
|
@ -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
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