fixed pathss

This commit is contained in:
John Lancaster
2025-07-06 23:11:25 -05:00
parent be57ba16dd
commit ac9e58ede6

View File

@@ -23,8 +23,8 @@
# These will get applied to both the configured user and the root user (if enabled)
userOptions = config: {
openssh.authorizedKeys = lib.mkIf config.ssh (lib.mkMerge [
(lib.mkIf (config.profile == "personal") { keyFiles = [ ./personal ]; })
(lib.mkIf (config.profile == "work") { keyFiles = [ ./work ]; })
(lib.mkIf (config.profile == "personal") { keyFiles = [ ./keys/personal ]; })
(lib.mkIf (config.profile == "work") { keyFiles = [ ./keys/work ]; })
]);
shell = lib.mkIf config.enableShell pkgs.zsh;
};