feat: add COSMIC specialisation

This commit is contained in:
Felix Schröter 2024-05-26 17:36:14 +02:00
parent b39eb019e9
commit bc4e35b55c
Signed by: felschr
GPG key ID: 671E39E6744C807D
4 changed files with 64 additions and 1 deletions
desktop

17
desktop/cosmic.nix Normal file
View 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;
};
};
}