refactor blade: strip Colmena-specific args, make portable NixOS module
This commit is contained in:
@@ -1,30 +1,11 @@
|
||||
{ ... }:
|
||||
{
|
||||
name,
|
||||
nodes,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
deployment = {
|
||||
targetHost = "192.168.1.70";
|
||||
targetPort = 22;
|
||||
targetUser = "phoenix";
|
||||
buildOnTarget = true;
|
||||
keys.phoenix.keyFile = "/home/nixos/.ssh/id_ed25519.pub";
|
||||
tags = [
|
||||
"homelab"
|
||||
];
|
||||
};
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/common.nix
|
||||
../../modules/common/incus.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
./power-plan.nix
|
||||
../../modules/common/incus.nix
|
||||
];
|
||||
|
||||
networking.interfaces.eth0.wakeOnLan.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user