This commit is contained in:
parent
05bf386e51
commit
e0b96bf7c5
@ -1,5 +1,6 @@
|
||||
{ ... }: {
|
||||
|
||||
config = lib.mkIf (config.usercfg.wm == "Wayland") {
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
systemdTarget = "graphical-session.target";
|
||||
@ -90,4 +91,5 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ let
|
||||
userOpt = with lib; {
|
||||
username = mkOption { type = types.str; };
|
||||
wm = mkOption {
|
||||
type = types.enum [ "Wayland" "X11" ];
|
||||
type = types.enum [ "Wayland" "X11" "-"];
|
||||
default = "Wayland";
|
||||
};
|
||||
git = {
|
||||
|
@ -2,6 +2,7 @@
|
||||
syscfg = {
|
||||
hostname = "iriy";
|
||||
defaultUser = "sora";
|
||||
wm = "-";
|
||||
users = [{
|
||||
username = "sora";
|
||||
git = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user