added key generation to leyla user configuration
This commit is contained in:
parent
b05f633d2e
commit
f758eebc42
|
@ -56,6 +56,15 @@ in
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# TODO: this should reference the home directory from the user config
|
||||||
|
services.openssh.hostKeys = [
|
||||||
|
{
|
||||||
|
path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519";
|
||||||
|
rounds = 100;
|
||||||
|
type = "ed25519";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix);
|
home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix);
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue