nix-config/modules/nix/groups/desktop.nix
smayzy ffac8ef90a
All checks were successful
nixos config pipeline / show-flake (push) Successful in 38s
nixos config pipeline / deploy (push) Successful in 59s
mv from groups to host
2026-07-05 17:40:25 +02:00

32 lines
532 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.desktop.enable = mkOption {
type = types.bool;
default = false;
description = "desktop settings";
};
config = mkIf config.smayzy.desktop.enable {
smayzy = {
base = true;
power = "desktop";
audio.enable = true;
sddm.enable = true;
wireguard.enable = true;
tor.enable = true;
};
environment.systemPackages = with pkgs; [
firejail
android-tools
];
};
}