refactor: extract host config into 'host.nix' files
This commit is contained in:
@@ -6,15 +6,11 @@
|
||||
{
|
||||
imports = [
|
||||
./hard.nix
|
||||
../../modules/ssh
|
||||
./host.nix
|
||||
../../modules/common
|
||||
../../modules/ssh
|
||||
];
|
||||
|
||||
host = {
|
||||
username = "h";
|
||||
name = "eetion-02";
|
||||
};
|
||||
|
||||
ssh = {
|
||||
inherit (config.host) username;
|
||||
publicHostname = config.host.name;
|
||||
|
||||
Reference in New Issue
Block a user