feat(cosmic): Add cosmic profile for Tytonidae
This commit is contained in:
parent
95746c7495
commit
0dcc3bab30
2 changed files with 14 additions and 11 deletions
9
nixos/configurations/Tytonidae/specialisation/cosmic.nix
Normal file
9
nixos/configurations/Tytonidae/specialisation/cosmic.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
config.specialisation.cosmic = {
|
||||||
|
inheritParentConfig = true;
|
||||||
|
configuration = {
|
||||||
|
youthlic.gui.enabled = lib.mkForce "cosmic";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -8,18 +8,12 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = lib.mkIf (cfg.enabled == "cosmic") {
|
config = lib.mkIf (cfg.enabled == "cosmic") {
|
||||||
# Enable the X11 windowing system.
|
services = {
|
||||||
# You can disable this if you're only using the Wayland session.
|
desktopManager.cosmic = {
|
||||||
services.xserver = {
|
enable = true;
|
||||||
display = 0;
|
xwayland.enable = true;
|
||||||
enable = true;
|
|
||||||
xkb = {
|
|
||||||
layout = "us";
|
|
||||||
variant = "";
|
|
||||||
};
|
};
|
||||||
|
displayManager.cosmic-greeter.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.desktopManager.cosmic.enable = true;
|
|
||||||
services.displayManager.cosmic-greeter.enable = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue