switch lillie to gnome
This commit is contained in:
parent
19aceb4879
commit
18075d1d78
6 changed files with 23 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
enable = true;
|
||||
user = "willifan";
|
||||
autoStart = true;
|
||||
desktopSession = "niri";
|
||||
desktopSession = "gnome";
|
||||
updater.splash = "jovian";
|
||||
};
|
||||
};
|
||||
|
|
11
modules/nixos/desktop/DE.nix
Normal file
11
modules/nixos/desktop/DE.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
lib.mkIf config.desktop.wm.plasma6.enable {
|
||||
services.desktopManager.plasma6 = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue