Compare commits

..

3 commits

View file

@ -81,7 +81,8 @@
# deploy-rs unfortunately uses an `import nixpkgs`, and its # deploy-rs unfortunately uses an `import nixpkgs`, and its
# library functions depend on an instantiated nixpkgs, so we # library functions depend on an instantiated nixpkgs, so we
# can't get around multi-nixpkgs-eval. # can't get around multi-nixpkgs-eval.
deployRsPackages = import nixpkgs { deploy-rs =
(import nixpkgs {
inherit system; inherit system;
overlays = [ overlays = [
inputs.deploy-rs.overlays.default inputs.deploy-rs.overlays.default
@ -92,7 +93,7 @@
}; };
}) })
]; ];
}; }).deploy-rs;
in in
{ {
################## ##################
@ -120,7 +121,7 @@
profiles.system = { profiles.system = {
user = "root"; user = "root";
path = deployRsPackages.deploy-rs.lib.${system}.activate.nixos self.nixosConfigurations.hetzner-1; path = deploy-rs.lib.activate.nixos self.nixosConfigurations.hetzner-1;
}; };
sshUser = "tlater"; sshUser = "tlater";
@ -174,7 +175,7 @@
packages = nixpkgs.lib.attrValues { packages = nixpkgs.lib.attrValues {
inherit (sops-nix.packages.${system}) sops-import-keys-hook sops-init-gpg-key; inherit (sops-nix.packages.${system}) sops-import-keys-hook sops-init-gpg-key;
inherit (deployRsPackages.deploy-rs) deploy-rs; inherit (deploy-rs) deploy-rs;
}; };
}; };