This commit is contained in:
2025-07-02 13:06:58 +00:00
parent eb1a74d694
commit e1cf1f4fa7
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
deploy NODE: deploy NODE:
nixos-rebuild --flake .#{{NODE}} --add-root --fast --target-host root@{{NODE}}.node.dc1.consul --build-host root@{{NODE}}.node.dc1.consul switch nixos-rebuild --flake .#{{NODE}} --fast --target-host root@{{NODE}}.node.dc1.consul --build-host root@{{NODE}}.node.dc1.consul switch
deploy-debug NODE:
nixos-rebuild --flake .#{{NODE}} --show-trace --verbose --fast --target-host root@{{NODE}}.node.dc1.consul --build-host root@{{NODE}}.node.dc1.consul switch
deploy-dry NODE: deploy-dry NODE:
nixos-rebuild --flake .#{{NODE}} --fast --target-host root@{{NODE}}.node.dc1.consul --build-host root@{{NODE}}.node.dc1.consul dry-activate nixos-rebuild --flake .#{{NODE}} --fast --target-host root@{{NODE}}.node.dc1.consul --build-host root@{{NODE}}.node.dc1.consul dry-activate

View File

@@ -52,6 +52,8 @@ in {
config = let config = let
args = "-g ${toString cfg.configurationLimit} -n ${config.hardware.deviceTree.name}"; args = "-g ${toString cfg.configurationLimit} -n ${config.hardware.deviceTree.name}";
in in
mkIf cfg.enable { mkIf cfg.enable {
system.build.installBootLoader = lib.mkForce "${builder} ${args} -c"; system.build.installBootLoader = lib.mkForce "${builder} ${args} -c";
system.boot.loader.id = "kboot-conf"; system.boot.loader.id = "kboot-conf";