summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
6 daysadd `declarativeUsers` contractmainLibravatar Alexander Foremny
- example consumer `users.declarativeUsers` (creates users as Linux users) - example provider `hardcodedUsers.<group>` (static configuration of user groups (each group is a `declarativeUsers` provider)
7 daysextend userSecret implementation to all users (not only root)Libravatar Alexander Foremny
requires a patch of nixpkgs: ```diff --- a/nixos/modules/contracts/default.nix 2025-09-07 16:15:41.381243855 +0200 +++ b/nixos/modules/contracts/default.nix 2025-09-08 00:05:58.218489096 +0200 @@ -87,7 +87,8 @@ in default = submodule (consumer: { options = { provider = mkOption { - type = interface.config.provider; + type = lib.types.nullOr interface.config.provider; + default = null; }; input = mkOption { type = submodule interface.config.input;`
7 daysrefactor user secret implementationLibravatar Fabian Kirchner
7 daysrefactor contract pair assignmentLibravatar Fabian Kirchner
7 daysignore .direnv/Libravatar Fabian Kirchner
8 daysadd asecret secret providerLibravatar Fabian Kirchner
8 daysadd lib/asecret.nixLibravatar Alexander Foremny
8 daysadd `shellHook` to `devShell`Libravatar Alexander Foremny
8 daysadd lib/overlays.nixLibravatar Alexander Foremny
8 daysadd `npins' to `devShell'Libravatar Alexander Foremny
8 daysadd lib/packages.nixLibravatar Alexander Foremny
8 daysadd lib/devShell.nixLibravatar Alexander Foremny
8 daysrefactor lib/{machines,nixosModules}.nixLibravatar Alexander Foremny
9 daysanother take on basic contractsLibravatar Alexander Foremny
- adds "secret" consumer `nixosModules.userSecret` - binds secret provider `testing.hardcodedSecret.rootPassword` with secret consumer `users.users.root.passwordSecret`
9 daysadd asecret example, wipLibravatar Fabian Kirchner
9 daysadd two systemsLibravatar Fabian Kirchner
9 daysadd nixpkgs including contracts rfcLibravatar Fabian Kirchner