moved keys
This commit is contained in:
@@ -76,7 +76,6 @@ nhmu
|
||||
enableShell = true;
|
||||
_1password = true;
|
||||
docker = true;
|
||||
# graphical = true;
|
||||
graphical = {
|
||||
steam = true;
|
||||
vscode = true;
|
||||
|
||||
@@ -22,7 +22,10 @@
|
||||
|
||||
# These will get applied to both the configured user and the root user (if enabled)
|
||||
userOptions = config: {
|
||||
openssh.authorizedKeys.keyFiles = lib.optionals config.ssh [ ./personal_keys ];
|
||||
openssh.authorizedKeys = lib.mkIf config.ssh (lib.mkMerge [
|
||||
(lib.mkIf (config.profile == "personal") { keyFiles = [ ./personal ]; })
|
||||
(lib.mkIf (config.profile == "work") { keyFiles = [ ./work ]; })
|
||||
]);
|
||||
shell = lib.mkIf config.enableShell pkgs.zsh;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user