Commit graph

222 commits

Author SHA1 Message Date
Nathan Henrie
c69689da58 Use diskutil for more convenient sizes, strip trailing tabs 2023-01-30 14:21:33 -07:00
Nathan Henrie
b818ac2e7d fmt 2023-01-30 09:18:56 -07:00
Nathan Henrie
019784cb7e Give volume a name 2023-01-30 09:06:59 -07:00
Nathan Henrie
8867c12d72 Cleanup, improve readability 2023-01-30 09:06:39 -07:00
Nathan Henrie
4532604741 Silence output 2023-01-30 09:06:03 -07:00
Nathan Henrie
351e874918 Try to add nix-darwin support to agenix
Merges work by @montchr, @cmhamill, and @rtimush and rebases on main.

- fixes https://github.com/ryantm/agenix/issues/60
- fixes https://github.com/ryantm/agenix/issues/120
- closes https://github.com/ryantm/agenix/pull/107
2023-01-29 16:41:49 -07:00
Ryan Mulligan
49798e535e
Merge pull request #140 from ryantm/rtm-1-29-doc
doc: collapse installation sections
2023-01-29 14:20:34 -08:00
Ryan Mulligan
c695ebce9a doc: collapse installation sections
as suggested in #133
2023-01-29 14:13:45 -08:00
Ryan Mulligan
6d3a415637
Merge pull request #137 from ryantm/rtm-1-30-nix-format
contrib: format with Alejandra
2023-01-29 11:51:44 -08:00
Ryan Mulligan
16bef569f4 contrib: format Nix code with Alejandra 2023-01-29 10:57:51 -08:00
Ryan Mulligan
99e0963743 contrib: use Alejandra as formatter 2023-01-29 10:57:51 -08:00
Ryan Mulligan
bf537f5b72
Merge pull request #136 from ryantm/rtm-1-29-flake-format
feature: update flake output format and docs
2023-01-29 10:54:24 -08:00
Ryan Mulligan
64b0574514 feature: update flake output format and docs 2023-01-29 10:44:19 -08:00
Cole Helbling
42d371d861
Merge pull request #131 from erikarvstedt/fix-test 2023-01-09 13:59:21 -08:00
Erik Arvstedt
822f71b8d8 test: fix type error
Fix this mypy typcheck error in the test builder:

  testScriptWithTypes:52: error: Argument 1 to "wait_until_tty_matches" of
  "Machine" has incompatible type "int"; expected "str"
      system1.wait_until_tty_matches(2, "login: ")

This makes the test succeed again.
2023-01-09 11:25:24 +01:00
Ryan Mulligan
a630400067
Merge pull request #127 from montchr/nixpkgs-update
Track `nixos-unstable` channel as `nixpkgs`
2022-10-15 14:46:35 -07:00
Chris Montgomery
ffbca4ae7e
fix: track nixos-unstable channel as nixpkgs 2022-10-15 13:41:44 -04:00
Ryan Mulligan
ff2dc4fb88
Merge pull request #125 from montchr/gitignore-result
chore: add nix build result path to gitignore
2022-10-15 09:21:40 -07:00
Chris Montgomery
a8ccd5bfa8
chore: add nix build result path to gitignore 2022-10-15 12:10:02 -04:00
Ryan Mulligan
6acb1fe5f8 version 0.13.0 2022-09-25 14:22:43 -07:00
Ryan Mulligan
78d871220f contrib: fix _incr_version script 2022-09-25 14:22:15 -07:00
Ryan Mulligan
d51af86302 contrib: fix mode of release helper scripts 2022-09-25 14:15:41 -07:00
Ryan Mulligan
a4ad67c46e contrib: add maintainer release helper scripts 2022-09-25 14:14:37 -07:00
Ryan Mulligan
84f0dc0a4f doc: add version to agenix command 2022-09-25 14:14:27 -07:00
Ryan Mulligan
edf0d09012 doc: mention secrets.nix is not imported into a NixOS configuration 2022-09-25 12:57:30 -07:00
Ryan Mulligan
c96da5835b doc: stop suggesting looking at the code now that Reference exists 2022-09-03 14:48:36 -07:00
Ryan Mulligan
68a8bc2951 doc: fix tutorial syntax 2022-09-03 14:47:54 -07:00
Ryan Mulligan
5d802d251c doc: improve tutorial by showing how to use the secret path 2022-09-03 14:47:04 -07:00
Ryan Mulligan
d13c6d3bb7 doc: fix syntax of example 2022-09-03 14:42:11 -07:00
Ryan Mulligan
7ebd7d741d doc: add .path reference, and incorporate some sections into the Reference 2022-09-03 14:40:00 -07:00
Ryan Mulligan
3c34edaf65 Revert "doc: merge Use other implementations into Reference"
This reverts commit b352e6b70f.
2022-09-03 11:54:29 -07:00
Ryan Mulligan
b352e6b70f doc: merge Use other implementations into Reference 2022-09-03 11:53:16 -07:00
Ryan Mulligan
e05a49ee30 doc: make ageBin override a valid module 2022-09-03 11:50:45 -07:00
Ryan Mulligan
bce59868a2 doc: add reference section 2022-09-03 11:46:45 -07:00
Ryan Mulligan
9f136ecfa5
Merge pull request #119 from ryantm/order
feature: combine root and nonroot secret install; delay chowning
2022-09-01 08:42:56 -07:00
Ryan Mulligan
f86b56229b feature: combine root and nonroot secret install; delay chowning 2022-07-10 11:47:58 -07:00
Jeroen Simonetti
fe206b4306
[module] change operation order
Change the order of operations to:

1. create new generation
2. decrypt secrets into new generation
3. symlink and remove old generation/secrets

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2022-07-10 19:12:55 +02:00
Ryan Mulligan
7e5e58b98c
Merge pull request #114 from timhae/newlines
remove empty lines in recipient keys file
2022-05-16 07:46:50 -07:00
Tim Häring
0e2fb13ecf remove newlines in recipient keys file
if not removed, empty lines will be added to the final encryption
command as --recipient '' which causes the command to fail with invalid
recipient ''
2022-05-15 20:03:52 +02:00
Ryan Mulligan
0d5e59ed64
Merge pull request #110 from ryantm/doc
doc: add readFile anti-pattern
2022-04-02 16:34:17 -07:00
Ryan Mulligan
f2ff19dc81 doc: add readFile anti-pattern 2022-04-02 15:11:48 -07:00
Ryan Mulligan
764c975e74
Merge pull request #106 from ryantm/warnings
feature: warn about missing files
2022-03-09 09:03:24 -08:00
Ryan Mulligan
25b5bcfce9
Merge pull request #80 from felixscheinost/add-aarch64-darwin-package
Add package for aarch64-darwin
2022-03-08 20:27:43 -08:00
Ryan Mulligan
1a4643b779 feature: warn about missing files
rage itself does not have good error messages when files are missing,
so add some of our own checks and warnings.
2022-03-08 08:00:43 -08:00
Ryan Mulligan
297cd58b41 doc: add Community and Support section 2022-02-28 19:34:22 -08:00
Ryan Mulligan
bad5a7be94 doc: use default nixosModule in NixOS flake 2022-02-28 19:29:39 -08:00
Ryan Mulligan
7309a8fc1f
Merge pull request #105 from luishfonseca/patch-1
Add default NixOS module to flake
2022-02-28 10:16:19 -08:00
Luís Fonseca
9316abd9f5
Add default NixOS module to flake
This adds a “default” NixOS module in flake.nix. This makes using this in flakes a little less verbose and repetitive.

Before this change:

```nix
nixpkgs.lib.nixosSystem {
  modules = [
    ./configuration.nix
    agenix.nixosModules.age
  ];
}
After this change:

```nix
nixpkgs.lib.nixosSystem {
  modules = [
    ./configuration.nix
    agenix.nixosModule
  ];
}
```
2022-02-28 17:38:21 +00:00
Ryan Mulligan
b4ab630f19
Merge pull request #103 from Pacman99/configure-secretsDir
modules/age: add option for secrets directory
2022-02-22 13:42:35 -08:00
Parthiv Seetharaman
85bd9d01ad modules/age: add option for secrets directory 2022-02-21 15:20:05 -08:00