chore: use config instead of cfg everywhere

This commit is contained in:
2026-02-22 13:03:26 +01:00
parent b6ae96cb84
commit 97b7348c2b
3 changed files with 8 additions and 16 deletions

View File

@@ -4,9 +4,6 @@
pkgs,
...
}:
let
cfg = config.workstation;
in
{
options = {
workstation = {
@@ -14,7 +11,7 @@ in
};
};
config = lib.mkIf cfg.enable {
config = lib.mkIf config.workstation.enable {
virtualisation.docker = {
enable = true;
logDriver = "json-file";