ooknet/system/modules/host/function/workstation/default.nix
ooks-io 7a74befde3 feat(systemModules:host): add initial host configuration module
used to define general host configuration, including:

- hardware
- name
- admin
- type
- role
2024-04-29 18:48:18 +12:00

29 lines
468 B
Nix

{ lib, config, ... }:
let
inherit (lib) mkIf;
inherit (builtins) elem;
function = config.systemModules.host.function;
in
{
config = mkIf (elem "workstation" function) {
systemModules = {
audio.enable = true;
video.enable = true;
programs = {
dconf.enable = true;
wireshark.enable = true;
bandwhich.enable = true;
kdeconnect.enable = true;
};
services = {
}
}
}
}