1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00
Commit graph

22 commits

Author SHA1 Message Date
Zhaofeng Li
f36329a299 nixos: Switch back to setting a placeholder HS256 secret when checking config 2024-10-08 08:31:44 -06:00
Zhaofeng Li
5d6560e409 Merge branch 'main' into HEAD 2024-10-05 11:50:16 -06:00
Albert Peschar
46b83a04d9 Use --pipe for systemd-run
Without --pipe stderr and stdout are combined, breaking scripts that use
atticd-atticadm when it generates warnings.
2024-10-04 09:42:42 -06:00
Cole Helbling
41b42b62d5 Merge remote-tracking branch 'upstream/main' into rs256-support 2024-02-26 11:45:09 -08:00
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
Cole Helbling
d0dfdde35a server: rename RS256 secret stuff to note that it's base64 encoded
So it's Base64<PEM bytes>, not just PEM bytes.
2023-11-11 12:59:03 -08:00
Graham Christensen
d49cd3383b Make the nix flake check tests pass 2023-11-11 12:58:59 -08:00
Graham Christensen
9511afde4b server: HS256 -> RS256 secrets 2023-11-11 12:58:57 -08: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