remove nixpkgs overlay for deploy-rs
This commit is contained in:
parent
8c7c294aba
commit
cf611e6362
1 changed files with 2 additions and 17 deletions
19
flake.nix
19
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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue