aboutsummaryrefslogtreecommitdiff
path: root/flake
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-10-12 19:20:07 -0700
committerFranck Cuny <franck@fcuny.net>2025-10-12 19:20:07 -0700
commitec7ec5112c15550d2f05cce49a87bad968c620a3 (patch)
tree5f6ed9730e90e63fbab986c88d86097c349aa086 /flake
parentinitial setup for the framework destkop (named rivendell) (diff)
downloadinfra-ec7ec5112c15550d2f05cce49a87bad968c620a3.tar.gz
make the remote unlock bits a nix module
Move all the hardware configuration for rivendell into the default.nix.
Diffstat (limited to '')
-rw-r--r--flake/hosts.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/flake/hosts.nix b/flake/hosts.nix
index fe23cdd..2739051 100644
--- a/flake/hosts.nix
+++ b/flake/hosts.nix
@@ -227,6 +227,18 @@ in
allowLocalDeployment = false;
};
};
+ rivendell =
+ { name, ... }:
+ {
+ imports = [ ../machines/nixos/x86_64-linux/${name} ];
+ deployment = {
+ tags = [ "bm" ];
+ targetHost = "rivendell";
+ targetUser = "fcuny";
+ buildOnTarget = true;
+ allowLocalDeployment = false;
+ };
+ };
};
};
}