This commit is contained in:
		| @@ -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 @@ | |||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|  | }; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -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 = { | ||||||
|   | |||||||
| @@ -2,6 +2,7 @@ | |||||||
|   syscfg = { |   syscfg = { | ||||||
|     hostname = "iriy"; |     hostname = "iriy"; | ||||||
|     defaultUser = "sora"; |     defaultUser = "sora"; | ||||||
|  |     wm = "-"; | ||||||
|     users = [{ |     users = [{ | ||||||
|       username = "sora"; |       username = "sora"; | ||||||
|       git = { |       git = { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user