refactor(modules): reduce host repetition
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
local = import ./_lib/local.nix;
|
||||
in {
|
||||
flake.deploy.nodes = {
|
||||
michael = {
|
||||
hostname = "michael";
|
||||
sshUser = "cschmatzler";
|
||||
sshUser = local.user.name;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos config.flake.nixosConfigurations.michael;
|
||||
@@ -14,7 +16,7 @@
|
||||
};
|
||||
tahani = {
|
||||
hostname = "tahani";
|
||||
sshUser = "cschmatzler";
|
||||
sshUser = local.user.name;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos config.flake.nixosConfigurations.tahani;
|
||||
|
||||
Reference in New Issue
Block a user