feat(cosmic): Add cosmic profile for Tytonidae

This commit is contained in:
ulic-youthlic 2025-09-16 23:26:04 +08:00
parent 95746c7495
commit 0dcc3bab30
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 14 additions and 11 deletions

View file

@ -0,0 +1,9 @@
{ lib, ... }:
{
config.specialisation.cosmic = {
inheritParentConfig = true;
configuration = {
youthlic.gui.enabled = lib.mkForce "cosmic";
};
};
}

View file

@ -8,18 +8,12 @@ let
in
{
config = lib.mkIf (cfg.enabled == "cosmic") {
# Enable the X11 windowing system.
# You can disable this if you're only using the Wayland session.
services.xserver = {
display = 0;
enable = true;
xkb = {
layout = "us";
variant = "";
services = {
desktopManager.cosmic = {
enable = true;
xwayland.enable = true;
};
displayManager.cosmic-greeter.enable = true;
};
services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true;
};
}