user factory reworks

This commit is contained in:
John Lancaster
2026-03-29 15:03:26 -05:00
parent 1991766a5e
commit 6d1cf5aa80
6 changed files with 56 additions and 52 deletions
+3 -4
View File
@@ -3,7 +3,8 @@
flake.modules.nixos.p14sConfiguration = { config, pkgs, lib, ... }:
let
hostname = "john-p14s";
flakeDir = "${config.home-manager.users.john.home.homeDirectory}/Documents/dendritic";
homeDirectory = config.home-manager.users.john.home.homeDirectory;
flakeDir = "${homeDirectory}/Documents/dendritic";
in
{
imports = [
@@ -128,9 +129,7 @@
}
];
sops.defaultSopsFile = ./secrets.yaml;
sops.age.sshKeyPaths = [
"${config.home-manager.users.john.home.homeDirectory}/.ssh/id_ed25519"
];
sops.age.sshKeyPaths = [ "${homeDirectory}/.ssh/id_ed25519" ];
mtls = {
enable = true;
subject = hostname;