mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
...
This commit is contained in:
parent
4c796a775a
commit
ef4b4924fe
2 changed files with 3 additions and 5 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue