remove nixpkgs overlay for deploy-rs

This commit is contained in:
Pim Kunis 2023-11-12 14:15:21 +01:00
parent 8c7c294aba
commit cf611e6362

View file

@ -7,22 +7,7 @@
}; };
outputs = { self, nixpkgs, deploy-rs, ... }: outputs = { self, nixpkgs, deploy-rs, ... }:
let let system = "x86_64-linux";
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;
};
})
];
};
in { in {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt;
@ -39,7 +24,7 @@
nodes.jefke = { nodes.jefke = {
hostname = "jefke.hyp"; hostname = "jefke.hyp";
profiles.hypervisor = { profiles.hypervisor = {
path = deployPkgs.deploy-rs.lib.activate.nixos path = deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.hypervisor; self.nixosConfigurations.hypervisor;
}; };
}; };