Add git and gpg configs

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-19 17:49:37 +03:00
parent e8cbbe07b2
commit 8a6045d6ce
4 changed files with 76 additions and 1 deletions

View File

@@ -9,6 +9,15 @@
neededForUsers = true;
};
home-manager.users.nick.sops = {
defaultSopsFile = ./secrets/secrets.yaml;
secrets = {
"git" = { path = "/home/nick/.git-credentials"; };
"gpg-agent/pgp.key" = { };
"gpg-agent/pgp.pass" = { };
};
};
users.users.nick = {
isNormalUser = true;
home = "/home/nick";