first compilation with secrets

This commit is contained in:
2025-04-16 10:57:36 -05:00
parent 483ee7f020
commit 3fd6e90c1d
7 changed files with 75 additions and 24 deletions
+1 -14
View File
@@ -1,23 +1,10 @@
{ config, pkgs, sops, ... }:
{ config, pkgs, ... }:
{
home.username = "sysAdmin";
home.homeDirectory = "/home/sysAdmin";
# Secret Management
sops = {
age.keyFile = "./age/keys.txt"; # Make sure to gitignore, contains private key.
defaultSopsFile = ./secrets/build.json;
defaultSymlinkPath = "/run/user/1000/secrets";
defaultSecretsMountPoint = "/run/user/1000/secrets.d";
secrets.homelabBuild = {
path = "${config.sops.defaultSymlinkPath}/homelabBuild";
};
};
home.packages = with pkgs; [
git
tree