Compare commits

..

1 commit

Author SHA1 Message Date
6073288d4e
make nixos.nix reusable rather than opinionated
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
2025-09-22 22:00:43 +02:00
2 changed files with 4 additions and 2 deletions

View file

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

View file

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