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
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue