first compilation with secrets
This commit is contained in:
+1
-14
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user