Files
dotfiles/modules/features/gui/desktop.nix
T
2026-07-14 19:28:47 +09:00

31 lines
556 B
Nix

{
lib,
config,
...
}:
let
cfg = config.my.features.gui.desktop;
in
{
options.my.features.gui.desktop = {
enable = lib.mkEnableOption "Graphical desktop sessions";
};
config = lib.mkIf cfg.enable {
my.applications = {
gnome.enable = true;
gtk.enable = true;
niri.enable = true;
wayland.enable = true;
ly.enable = true;
noctalia.enable = true;
swayidle.enable = true;
swaylock.enable = true;
vicinae.enable = true;
};
my.system = {
fonts.enable = true;
};
};
}