set Lillie WM to niri

This commit is contained in:
willifan 2025-01-04 18:50:00 +01:00
parent 24c67d3884
commit 3a5fe4889f
4 changed files with 8 additions and 7 deletions

View file

@ -11,7 +11,7 @@
desktop = { desktop = {
enable = true; enable = true;
autostart.enable = false; autologin.enable = false;
emulation.enable = true; emulation.enable = true;
laser.enable = true; laser.enable = true;

View file

@ -36,7 +36,7 @@
enable = true; enable = true;
user = "willifan"; user = "willifan";
autoStart = true; autoStart = true;
desktopSession = "hyprland"; desktopSession = "niri";
}; };
}; };

View file

@ -1,4 +1,4 @@
{ lib, ... }: { lib, config, ... }:
{ {
options = { options = {
@ -33,6 +33,11 @@
type = lib.types.bool; type = lib.types.bool;
}; };
autologin.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
windowManager = lib.mkOption { windowManager = lib.mkOption {
default = "Hyprland"; default = "Hyprland";
type = lib.types.str; type = lib.types.str;

View file

@ -2,10 +2,6 @@
{ {
options = { options = {
desktop = { desktop = {
autologin.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
fuzzel.enable = lib.mkOption { fuzzel.enable = lib.mkOption {
default = config.desktop.enable; default = config.desktop.enable;
type = lib.types.bool; type = lib.types.bool;