fetchWallpaper: display should be string
This commit is contained in:
parent
c3db1f794a
commit
47e7a6f688
@ -26,8 +26,8 @@ let
|
|||||||
default = "/var/lib/wallpaper";
|
default = "/var/lib/wallpaper";
|
||||||
};
|
};
|
||||||
display = mkOption {
|
display = mkOption {
|
||||||
type = types.int;
|
type = types.str;
|
||||||
default = config.services.xserver.display;
|
default = ":${toString config.services.xserver.display}";
|
||||||
};
|
};
|
||||||
unitConfig = mkOption {
|
unitConfig = mkOption {
|
||||||
type = types.attrsOf types.str;
|
type = types.attrsOf types.str;
|
||||||
@ -81,7 +81,7 @@ let
|
|||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
URL = cfg.url;
|
URL = cfg.url;
|
||||||
DISPLAY = ":${toString cfg.display}";
|
DISPLAY = cfg.display;
|
||||||
};
|
};
|
||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user