feat: add COSMIC specialisation
This commit is contained in:
parent
b39eb019e9
commit
bc4e35b55c
4 changed files with 64 additions and 1 deletions
desktop
17
desktop/cosmic.nix
Normal file
17
desktop/cosmic.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ inputs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.nixos-cosmic.nixosModules.default ];
|
||||
|
||||
# TODO at the moment COSMIC cannot be used alongside Gnome
|
||||
# https://github.com/lilyinstarlight/nixos-cosmic/issues/17
|
||||
specialisation = {
|
||||
cosmic.configuration = {
|
||||
services.xserver.displayManager.gdm.enable = lib.mkForce false;
|
||||
services.xserver.desktopManager.gnome.enable = lib.mkForce false;
|
||||
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue