1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00
Commit graph

782 commits

Author SHA1 Message Date
Maximilian Bosch
f10110ddef
modules/sops/templates: declare defaultText for sops.templates.<name>.group
When using `documentation.nixos.includeAllModules = true;` this fails
for me with

    error: attribute 'users' missing

           at /nix/store/30jax2y4q3d1xyf8ha3cwilw3kdz4pn8-source/modules/sops/templates/default.nix:8:11:

                7|   secretsForUsers = lib.filterAttrs (_: v: v.neededForUsers) cfg.secrets;
                8|   users = config.users.users;
                 |           ^
                9| in {
    (use '--show-trace' to show detailed location information)

Not depending on `config` when building the manual fixes the issue.
2023-04-25 21:45:42 +02:00
bors[bot]
7c8e9727a2
Merge #320
320: templates: Add descriptions and use singleLineStr r=dasJ a=dasJ



Co-authored-by: Janne Heß <janne@hess.ooo>
2023-04-24 12:13:48 +00:00
Janne Heß
679ad65214
templates: Add descriptions and use singleLineStr 2023-04-23 12:56:01 +02:00
bors[bot]
8a95e6f8cd
Merge #319
319: flake.lock: Update r=sops-nix-bot a=sops-nix-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-23 02:55:55 +00:00
github-actions[bot]
afd44312d4 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/29176972b4be60f7d3eb3101f696c99f2e6ada57' (2023-04-15)
  → 'github:NixOS/nixpkgs/2362848adf8def2866fabbffc50462e929d7fffb' (2023-04-21)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16)
  → 'github:NixOS/nixpkgs/ee7ec1c71adc47d2e3c2d5eb0d6b8fbbd42a8d1c' (2023-04-22)
2023-04-23 02:55:36 +00:00
bors[bot]
5698b06b07
Merge #316
316: HM: make `secretsMountPoint` and `symlinkPath` configurable r=Mic92 a=Shawn8901



Co-authored-by: MidAutumnMoon <me@418.im>
2023-04-18 12:41:35 +00:00
bors[bot]
edb40ecd67
Merge #318
318: Fix scope in `sops.templates` r=Mic92 a=Ninlives



Co-authored-by: mlatus <wqseleven@gmail.com>
2023-04-18 12:37:49 +00:00
mlatus
4de4d820ba fix scope in sops.templates; add relevant test 2023-04-18 12:47:12 +08:00
MidAutumnMoon
37400a275d HM: make secretsMountPoint and symlinkPath configurable 2023-04-17 18:30:23 +02:00
bors[bot]
de6514f8fe
Merge #314
314: Bump golang.org/x/crypto from 0.7.0 to 0.8.0 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 08:50:08 +00:00
dependabot[bot]
d90636d45f Bump golang.org/x/crypto from 0.7.0 to 0.8.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:13:19 +02:00
bors[bot]
4cb3502465
Merge #313
313: Bump golang.org/x/sys from 0.6.0 to 0.7.0 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-04-17 07:53:04 +00:00
Jörg Thalheim
a26b63eea1 bump minimum go version 2023-04-17 09:49:42 +02:00
Jörg Thalheim
1d709e5ed9 update checksums 2023-04-17 09:45:59 +02:00
Jörg Thalheim
f167fa1a1f update bors 2023-04-17 09:45:54 +02:00
dependabot[bot]
bf4879f9cb Bump golang.org/x/sys from 0.6.0 to 0.7.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 09:44:08 +02:00
Jörg Thalheim
b72eabc86e
Merge pull request #299 from Ninlives/master
Add `sops.templates`
2023-04-17 08:43:35 +01:00
bors[bot]
b7a6670a28
Merge #315
315: flake.lock: Update r=sops-nix-bot a=sops-nix-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-16 02:55:29 +00:00
github-actions[bot]
dfadabfb2e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6f95dd4fd050daf017cae2dfeb1cea1ec0e4c1a1' (2023-04-08)
  → 'github:NixOS/nixpkgs/29176972b4be60f7d3eb3101f696c99f2e6ada57' (2023-04-15)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/e45cc0138829ad86e7ff17a76acf2d05e781e30a' (2023-04-09)
  → 'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16)
2023-04-16 02:55:11 +00:00
Ninlives
77aacab6fa
Merge branch 'Mic92:master' into master 2023-04-14 13:15:20 +08:00
bors[bot]
00d5fd7375
Merge #312
312: Bump DeterminateSystems/update-flake-lock from 18 to 19 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 10:32:56 +00:00
dependabot[bot]
31b95f641e
Bump DeterminateSystems/update-flake-lock from 18 to 19
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 18 to 19.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v18...v19)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 22:56:37 +00:00
bors[bot]
ddc6f124cb
Merge #311
311: flake.lock: Update r=sops-nix-bot a=sops-nix-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-09 02:55:13 +00:00
github-actions[bot]
3ae5e526b7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3364b5b117f65fe1ce65a3cdd5612a078a3b31e3' (2023-03-31)
  → 'github:NixOS/nixpkgs/6f95dd4fd050daf017cae2dfeb1cea1ec0e4c1a1' (2023-04-08)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/c1e2efaca8d8a3db6a36f652765d6c6ba7bb8fae' (2023-04-01)
  → 'github:NixOS/nixpkgs/e45cc0138829ad86e7ff17a76acf2d05e781e30a' (2023-04-09)
2023-04-09 02:54:56 +00:00
bors[bot]
b93eb910f7
Merge #309
309: flake.lock: Update r=sops-nix-bot a=sops-nix-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-02 02:55:36 +00:00
github-actions[bot]
36871718cd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/dbf5322e93bcc6cfc52268367a8ad21c09d76fea' (2023-03-25)
  → 'github:NixOS/nixpkgs/3364b5b117f65fe1ce65a3cdd5612a078a3b31e3' (2023-03-31)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/da26ae9f6ce2c9ab380c0f394488892616fc5a6a' (2023-03-25)
  → 'github:NixOS/nixpkgs/c1e2efaca8d8a3db6a36f652765d6c6ba7bb8fae' (2023-04-01)
2023-04-02 02:55:17 +00:00
bors[bot]
5b26523e28
Merge #308
308: Bump DeterminateSystems/update-flake-lock from 17 to 18 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 08:48:33 +00:00
dependabot[bot]
592ba26295
Bump DeterminateSystems/update-flake-lock from 17 to 18
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 17 to 18.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v17...v18)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 22:56:42 +00:00
bors[bot]
4740f80ca6
Merge #307
307: flake.lock: Update r=sops-nix-bot a=sops-nix-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-26 02:55:35 +00:00
github-actions[bot]
6f8251b2f0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/194c2aa446b2b059886bb68be15ef6736d5a8c31' (2023-03-16)
  → 'github:NixOS/nixpkgs/dbf5322e93bcc6cfc52268367a8ad21c09d76fea' (2023-03-25)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/c3912035d00ef755ab19394488b41feab95d2e40' (2023-03-18)
  → 'github:NixOS/nixpkgs/da26ae9f6ce2c9ab380c0f394488892616fc5a6a' (2023-03-25)
2023-03-26 02:55:17 +00:00
mlatus
bae4d46397 add test for sops.templates 2023-03-23 23:06:04 +08:00
Jörg Thalheim
800f2cd885
Update modules/sops/templates/default.nix 2023-03-21 18:19:08 +00:00
mlatus
d93c3bf08e inline option type and submodule 2023-03-21 21:23:20 +08:00
Ninlives
8c4ecdc301
Apply suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-03-21 21:20:42 +08:00
bors[bot]
d8827a8368
Merge #306
306: drop nixosModule warning r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-03-21 05:53:17 +00:00
Jörg Thalheim
8db4597a95 drop nixosModule warning
this message seems to come up even if you don't use this attribute...
2023-03-21 06:52:28 +01:00
bors[bot]
08a0b5f25a
Merge #304
304: flake.lock: Update r=sops-nix-bot a=sops-nix-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-19 03:03:11 +00:00
github-actions[bot]
ce7eed673c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/08ef7dc8334521605a5c8b7086cc248e74ee338b' (2023-03-18)
  → 'github:NixOS/nixpkgs/c3912035d00ef755ab19394488b41feab95d2e40' (2023-03-18)
2023-03-19 03:02:51 +00:00
bors[bot]
ac6df5bc51
Merge #303
303: bump dependencies, drop legacy flake outputs... r=Mic92 a=Mic92



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-03-18 15:12:18 +00:00
Jörg Thalheim
332f95d2db drop nixosModule in favour of nixosModules.default 2023-03-18 16:11:45 +01:00
Jörg Thalheim
215dcb71e7 drop flake defaultPackage 2023-03-18 16:11:45 +01:00
Jörg Thalheim
55d5e5cb0b bump vendorSha256 2023-03-18 16:11:45 +01:00
dependabot[bot]
7fbbdb5f73 Bump golang.org/x/crypto from 0.6.0 to 0.7.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.7.0)
2023-03-18 16:11:45 +01:00
bors[bot]
9b21a1691d
Merge #302
302: drop deprcated overlay/devShell output r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-03-18 15:03:53 +00:00
Jörg Thalheim
95d9e958ba update bors.toml 2023-03-18 16:02:08 +01:00
Jörg Thalheim
fc6bd2bdfe drop deprecated overlay/devShell output 2023-03-18 16:02:02 +01:00
bors[bot]
e852768b5f
Merge #301
301: Update go-deps r=Mic92 a=Mic92



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-03-18 14:52:59 +00:00
Jörg Thalheim
f5256e2081 bump vendorSha256 2023-03-18 15:52:15 +01:00
Jörg Thalheim
bc22408998 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2ce9b9842b5e63884dfc3dea6689769e2a1ea309' (2023-03-11)
  → 'github:NixOS/nixpkgs/194c2aa446b2b059886bb68be15ef6736d5a8c31' (2023-03-16)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/c34fc09c77172c4189df4594a0749e25a23cdd9b' (2023-03-12)
  → 'github:NixOS/nixpkgs/08ef7dc8334521605a5c8b7086cc248e74ee338b' (2023-03-18)
2023-03-18 15:45:49 +01:00
dependabot[bot]
fb481fc6e1 Bump golang.org/x/sys from 0.5.0 to 0.6.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/compare/v0.5.0...v0.6.0)
2023-03-18 15:45:38 +01:00