diff --git a/flake.nix b/flake.nix index 936f340..b1143c8 100644 --- a/flake.nix +++ b/flake.nix @@ -7,22 +7,7 @@ }; outputs = { self, nixpkgs, deploy-rs, ... }: - let - system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; - deployPkgs = import nixpkgs { - inherit system; - overlays = [ - deploy-rs.overlay - (self: super: { - deploy-rs = { - inherit (pkgs) deploy-rs; - lib = super.deploy-rs.lib; - }; - }) - ]; - }; - + let system = "x86_64-linux"; in { formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt; @@ -39,7 +24,7 @@ nodes.jefke = { hostname = "jefke.hyp"; profiles.hypervisor = { - path = deployPkgs.deploy-rs.lib.activate.nixos + path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.hypervisor; }; };