diff --git a/nixosModules/ags-v2/config/configurations/lock.ts b/nixosModules/ags-v2/config/configurations/lock.ts index 63e8acf7..a551efb4 100644 --- a/nixosModules/ags-v2/config/configurations/lock.ts +++ b/nixosModules/ags-v2/config/configurations/lock.ts @@ -10,6 +10,10 @@ export default async() => { css: style, instanceName: 'lock', + requestHandler(js, res) { + App.eval(js).then(res).catch(res); + }, + main: () => { Lockscreen(); }, diff --git a/nixosModules/ags-v2/packages.nix b/nixosModules/ags-v2/packages.nix index c25b555d..4735cbbb 100644 --- a/nixosModules/ags-v2/packages.nix +++ b/nixosModules/ags-v2/packages.nix @@ -36,7 +36,7 @@ name = "lock"; text = '' export CONF="lock" - exec ${agsFull}/bin/ags --config ${fullConfPath} "$@" + exec ${agsFull}/bin/ags --config ${fullConfPath} -i lock "$@" ''; };