🚧 Finish user configuration loading and implement working workstation setup

This commit is contained in:
Jo 2025-04-27 17:37:30 +02:00
parent 54edba0070
commit 09c06d34e5
8 changed files with 137 additions and 16 deletions

View file

@ -0,0 +1,20 @@
{
lib,
self,
config,
...
}: let
inherit (lib) mkIf mkEnableOption;
inherit (self) namespace;
cfg = config.${namespace}.services.docker;
in {
options.${namespace}.services.docker = {
enable = mkEnableOption "the docker service.";
};
config = mkIf cfg.enable {
# Enable docker
virtualisation.docker.enable = true;
};
}