NoWM
Some checks failed
Nix Build / build-nixos (push) Failing after 27s

This commit is contained in:
soraefir 2024-04-14 21:40:12 +02:00
parent 05bf386e51
commit e0b96bf7c5
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
3 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{ ... }: { { ... }: {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
services.kanshi = { services.kanshi = {
enable = true; enable = true;
systemdTarget = "graphical-session.target"; systemdTarget = "graphical-session.target";
@ -90,4 +91,5 @@
}; };
}; };
}; };
};
} }

View File

@ -3,7 +3,7 @@ let
userOpt = with lib; { userOpt = with lib; {
username = mkOption { type = types.str; }; username = mkOption { type = types.str; };
wm = mkOption { wm = mkOption {
type = types.enum [ "Wayland" "X11" ]; type = types.enum [ "Wayland" "X11" "-"];
default = "Wayland"; default = "Wayland";
}; };
git = { git = {

View File

@ -2,6 +2,7 @@
syscfg = { syscfg = {
hostname = "iriy"; hostname = "iriy";
defaultUser = "sora"; defaultUser = "sora";
wm = "-";
users = [{ users = [{
username = "sora"; username = "sora";
git = { git = {