added cosmic?
This commit is contained in:
parent
6dd46c7284
commit
4f2f0e44af
3 changed files with 26 additions and 2 deletions
|
@ -57,8 +57,9 @@
|
|||
waydroid.enable = true;
|
||||
podman.enable = true;
|
||||
libvirtd.enable = true;
|
||||
de.gnome = {
|
||||
enable = true;
|
||||
de = {
|
||||
gnome.enable = true;
|
||||
cosmic.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
22
nixosModules/system/de/cosmic.nix
Normal file
22
nixosModules/system/de/cosmic.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.krop.de.cosmic;
|
||||
in
|
||||
{
|
||||
options.krop.de.cosmic = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Enable cosmic";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
};
|
||||
}
|
|
@ -3,5 +3,6 @@
|
|||
imports = [
|
||||
./gnome.nix
|
||||
./plasma.nix
|
||||
./cosmic.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue