used to define general host configuration, including: - hardware - name - admin - type - role
29 lines
468 B
Nix
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 = {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|