Commit graph

15 commits

Author SHA1 Message Date
John Soo 8f5e3c1035
nixos: restart atticd on failure 2024-02-08 11:39:38 -07:00
Robin Appelman c98be70263 nixos: Add non-default storage path to ReadWritePaths
This prevents "read-only storage" errors when setting a non-default
local storage path. The non-default path must exist beforehand.

Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2024-01-13 14:23:32 -07:00
Zhaofeng Li 8c8d9d9006
Merge pull request #74 from lheckemann/nixos-module-mode
nixos: allow setting mode
2024-01-01 18:25:12 -07:00
ajs124 b43d12082e
nixos: use configured user in admin wrapper (#79) 2023-08-16 16:30:40 -06:00
Linus Heckemann 9f742b497f nixos: allow setting mode 2023-07-22 17:45:06 +02:00
Zhaofeng Li 1a3b6513b0
Merge pull request #32 from poscat0x04/nixos-module-user-group-name
nixos: Make the group and user name under which attic runs configurable
2023-03-05 11:37:47 -07:00
Zhaofeng Li fb1db7511c
Merge pull request #33 from poscat0x04/suppress-systemd-run
nixos: Suppress systemd-run's output in atticadm wrapper
2023-03-05 11:37:10 -07:00
Zhaofeng Li 0ee4f4901b nixos: Start atticd after nss-lookup for Postgres peer auth 2023-03-05 11:05:11 -07:00
poscat 2f5b2a56cf
nixos: Suppress systemd-run's output in atticadm wrapper 2023-03-02 20:27:43 +08:00
poscat 96824109c0
nixos: Allow configuring user and group names 2023-03-02 17:54:07 +08:00
Zhaofeng Li 0bb3d00136 nixos: Don't fail if PWD cannot be changed into
Fixes #26.
2023-02-16 14:01:27 -07:00
Charlotte 🦝 Delenk fb77c7eb2b
config.rs: Add env variable for db url 2023-01-15 18:38:28 +01:00
Zhaofeng Li 6d3b2bd381 nixos: Provide better error message when credentialsFile is unset 2023-01-14 23:55:10 -07:00
Zhaofeng Li 257a84ad74 nixos: Add atticd-atticadm wrapper
Now `atticd-atticadm` can be used to run `atticadm` as the `atticd`
user. `atticd` is no longer added to the system path.
2023-01-14 23:55:10 -07:00
Zhaofeng Li 330f4e4ac7 Add NixOS module
Fixes #1. Still needs documentation though.
2023-01-06 00:59:35 -07:00