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, ... }:
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue