stop passing pathFromRoot where not needed

Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Kiara Grouwstra 2025-09-22 21:58:38 +02:00
parent 03a22b1cb8
commit 03bd36fbb3
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
2 changed files with 2 additions and 4 deletions

View file

@ -4,10 +4,9 @@
... ...
}: }:
let let
inherit (import ./constants.nix) pathToRoot pathFromRoot;
inherit (pkgs) system; inherit (pkgs) system;
deployment-config = { deployment-config = {
inherit pathToRoot pathFromRoot; inherit (import ./constants.nix) pathToRoot;
nodeName = "ssh"; nodeName = "ssh";
targetSystem = system; targetSystem = system;
sshOpts = [ ]; sshOpts = [ ];

View file

@ -4,10 +4,9 @@
... ...
}: }:
let let
inherit (import ./constants.nix) pathToRoot pathFromRoot;
inherit (pkgs) system; inherit (pkgs) system;
deployment-config = { deployment-config = {
inherit pathToRoot pathFromRoot; inherit (import ./constants.nix) pathToRoot;
nodeName = "target"; nodeName = "target";
targetSystem = system; targetSystem = system;
sshOpts = [ ]; sshOpts = [ ];