refactor: simplify 'user' options
This commit is contained in:
1 parent
38818e7508
commit
6a30a431f8
24 files changed
+94
-139
No files matched your search
@@ -12,10 +12,15 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../modules/common/host.nix
|
||||
../modules/ssh
|
||||
];
|
||||
|
||||
ssh.username = username;
|
||||
host = {
|
||||
inherit username;
|
||||
name = "orange-pi";
|
||||
};
|
||||
|
||||
ssh.authorizedHosts = [
|
||||
"andromache"
|
||||
"astyanax"
|
||||
|
||||
@@ -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