From ef4b4924fe23a91d24c14b8bac39d3afe808e193 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 13 Apr 2021 22:08:12 -0400 Subject: [PATCH] ... --- features/desktopish/autolock.nix | 6 ++---- features/postgrest.nix | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/features/desktopish/autolock.nix b/features/desktopish/autolock.nix index ea0eac5..d0b5c1c 100644 --- a/features/desktopish/autolock.nix +++ b/features/desktopish/autolock.nix @@ -5,11 +5,9 @@ enable = true; time = 5; # mins - # Not sure if some modes are the cause of system freeze - # So deterministically pick one. - locker = "${pkgs.xlockmore}/bin/xlock -mode space"; + locker = "${pkgs.xlockmore}/bin/xlock"; - # Suspend after sometime (enable this after things are okay) + # Suspend asap after lock. killtime = 10; # mins killer = "${pkgs.systemd}/bin/systemctl suspend"; }; diff --git a/features/postgrest.nix b/features/postgrest.nix index 9dfe729..9ac8979 100644 --- a/features/postgrest.nix +++ b/features/postgrest.nix @@ -33,7 +33,7 @@ in ExecStart = let pgrstConf = pkgs.writeText "pgrst.conf" '' db-uri = "postgres://postgres@localhost/postgres" - db-schema = "nixcloud" + db-schema = "api" # TODO: change when going production db-anon-role = "postgres" server-port = 7000