mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 14:42:55 +00:00
sync
This commit is contained in:
5
justfile
5
justfile
@@ -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
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user