refactor: properly modularize repo secret management

This commit is contained in:
oddlama 2023-05-21 14:40:42 +02:00
parent 88f1ac54b8
commit d7f69c5baa
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
25 changed files with 143 additions and 129 deletions

View file

@ -2,11 +2,10 @@
config,
lib,
pkgs,
secrets,
stateVersion,
...
}: let
inherit (secrets) myuser;
inherit (config.repo.secrets.global) myuser;
in {
users.groups.${myuser}.gid = config.users.users.${myuser}.uid;
users.users.${myuser} = {