modules/hyprspace: yml -> json
This commit is contained in:
parent
dc51c4250c
commit
58edff1542
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ let
|
||||||
myNode = depot.reflection;
|
myNode = depot.reflection;
|
||||||
listenPort = myNode.hyprspace.listenPort or 8001;
|
listenPort = myNode.hyprspace.listenPort or 8001;
|
||||||
|
|
||||||
interfaceConfig = pkgs.writeText "hyprspace.yml" (builtins.toJSON {
|
interfaceConfig = pkgs.writeText "hyprspace.json" (builtins.toJSON {
|
||||||
interface = {
|
interface = {
|
||||||
name = "hyprspace";
|
name = "hyprspace";
|
||||||
listen_port = listenPort;
|
listen_port = listenPort;
|
||||||
|
@ -24,7 +24,7 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
privateKeyFile = config.age.secrets.hyprspace-key.path;
|
privateKeyFile = config.age.secrets.hyprspace-key.path;
|
||||||
runConfig = "/run/hyprspace.yml";
|
runConfig = "/run/hyprspace.json";
|
||||||
nameservers = lib.unique config.networking.nameservers;
|
nameservers = lib.unique config.networking.nameservers;
|
||||||
in {
|
in {
|
||||||
links.hyprspaceMetrics.protocol = "http";
|
links.hyprspaceMetrics.protocol = "http";
|
||||||
|
|
Loading…
Reference in a new issue