added stuff
This commit is contained in:
parent
6d31f5b5a1
commit
7d4f626b7d
907 changed files with 70990 additions and 0 deletions
18
nyx/homes/notashelf/packages/cli/server.nix
Normal file
18
nyx/homes/notashelf/packages/cli/server.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (osConfig) modules;
|
||||
|
||||
prg = modules.system.programs;
|
||||
dev = modules.device;
|
||||
in {
|
||||
config = mkIf (prg.cli.enable && (builtins.elem dev.type ["server" "hybrid"])) {
|
||||
home.packages = with pkgs; [
|
||||
wireguard-tools
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue