refactor: simplify 'user' options
This commit is contained in:
@@ -12,10 +12,15 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../modules/common/host.nix
|
||||
../modules/ssh
|
||||
];
|
||||
|
||||
ssh.username = username;
|
||||
host = {
|
||||
inherit username;
|
||||
name = "raspberry-pi";
|
||||
};
|
||||
|
||||
ssh.authorizedHosts = [
|
||||
"andromache"
|
||||
"astyanax"
|
||||
|
||||
Reference in New Issue
Block a user