nix-config/modules/nix/groups/server.nix
smayzy 924395d64e
All checks were successful
nixos config pipeline / show-flake (push) Successful in 19s
nixos config pipeline / deploy (push) Successful in 45s
try to fix for proxmox by disableing grub
2025-09-10 19:30:36 +02:00

22 lines
403 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 = {
grub.disable = true;
base = true;
power = "desktop";
stylix.enable = true;
openssh.enable = true;
};
};
}