This commit is contained in:
Sridhar Ratnakumar 2021-04-13 22:08:12 -04:00
parent 4c796a775a
commit ef4b4924fe
2 changed files with 3 additions and 5 deletions

View file

@ -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";
};

View file

@ -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