21 lines
376 B
Nix
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;
|
|
};
|
|
};
|
|
}
|