feat: extract tuigreet and workstation modules

This commit is contained in:
2026-02-21 12:56:24 +01:00
parent edc1e6149a
commit a3cf0b7523
4 changed files with 87 additions and 48 deletions

View File

@@ -0,0 +1,32 @@
{
lib,
config,
pkgs,
...
}:
let
cfg = config.workstation;
in
{
options = {
workstation = {
enable = lib.mkEnableOption "workstation utilities";
};
};
config = lib.mkIf cfg.enable {
virtualisation.docker = {
enable = true;
logDriver = "json-file";
};
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
};
environment.systemPackages = with pkgs; [
smartmontools
];
};
}