nix-config/modules/nix/groups/server.nix
smayzy 1df5c12921
All checks were successful
nix flake show / show-flake (push) Successful in 27s
add openssh to server1
2025-08-09 13:21:22 +02:00

21 lines
376 B
Nix

{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.server.enable = mkOption {
type = types.bool;
default = false;
description = "desktop settings";
};
config = mkIf config.smayzy.server.enable {
smayzy = {
base = true;
power = "desktop";
stylix.enable = true;
openssh.enable = true;
};
};
}