switch lillie to gnome

This commit is contained in:
willifan 2025-07-14 16:50:34 +02:00
parent 19aceb4879
commit 18075d1d78
6 changed files with 23 additions and 12 deletions

View file

@ -18,7 +18,7 @@
autologin.enable = false;
emulation.enable = true;
laser.enable = true;
wm.niri.enable = true;
wm.gnome.enable = true;
hyprland = {
hardware.Lillie.enable = true;

View file

@ -37,7 +37,7 @@
enable = true;
user = "willifan";
autoStart = true;
desktopSession = "niri";
desktopSession = "gnome";
updater.splash = "jovian";
};
};

View file

@ -0,0 +1,11 @@
{ lib, config, ... }:
{
services.desktopManager = {
plasma6 = lib.mkIf config.desktop.wm.plasma6.enable {
enable = true;
};
gnome = lib.mkIf config.desktop.wm.gnome.enable {
enable = true;
};
};
}

View file

@ -3,6 +3,7 @@
imports = [
./games
./DE.nix
./applications.nix
./autostart.nix
./boot.nix
@ -13,7 +14,6 @@
./nfs-client.nix
./nix-ld.nix
./pipewire.nix
./plasma6.nix
./polkit.nix
./printers.nix
./remoteBuilder.nix

View file

@ -1,6 +0,0 @@
{ lib, config, ... }:
lib.mkIf config.desktop.wm.plasma6.enable {
services.desktopManager.plasma6 = {
enable = true;
};
}

View file

@ -43,9 +43,15 @@
type = lib.types.str;
};
wm.plasma6.enable = lib.mkOption {
default = false;
type = lib.types.bool;
wm = {
plasma6.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
gnome.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
};