fixed pathss
This commit is contained in:
@@ -23,8 +23,8 @@
|
|||||||
# These will get applied to both the configured user and the root user (if enabled)
|
# These will get applied to both the configured user and the root user (if enabled)
|
||||||
userOptions = config: {
|
userOptions = config: {
|
||||||
openssh.authorizedKeys = lib.mkIf config.ssh (lib.mkMerge [
|
openssh.authorizedKeys = lib.mkIf config.ssh (lib.mkMerge [
|
||||||
(lib.mkIf (config.profile == "personal") { keyFiles = [ ./personal ]; })
|
(lib.mkIf (config.profile == "personal") { keyFiles = [ ./keys/personal ]; })
|
||||||
(lib.mkIf (config.profile == "work") { keyFiles = [ ./work ]; })
|
(lib.mkIf (config.profile == "work") { keyFiles = [ ./keys/work ]; })
|
||||||
]);
|
]);
|
||||||
shell = lib.mkIf config.enableShell pkgs.zsh;
|
shell = lib.mkIf config.enableShell pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user