cosmic module

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-10-10 14:12:31 -05:00
parent 25e19e9256
commit bb8033d547
8 changed files with 168 additions and 70 deletions

22
modules/validations.nix Normal file
View file

@ -0,0 +1,22 @@
{ lib, config, ... }:
{
# config.assertions = [
# {
# assertion =
# lib.length (
# lib.filter (x: x) [
# config.my_modules.de_cosmic.enable
# config.my_modules.de_gnome_xorg.enable
# config.my_modules.de_gnome_wayland.enable
# ]
# ) <= 1;
# message = ''
# Configuration Error: Multiple desktop environments are enabled.
# Please enable only one of the following:
# - my_modules.de_cosmic.enable
# - my_modules.de_gnome_xorg.enable
# - my_modules.de_gnome_wayland.enable
# '';
# }
# ];
}