flake.nix cosmetics
This commit is contained in:
parent
73a506ca10
commit
dbbe13a52f
41
flake.nix
41
flake.nix
@ -42,32 +42,21 @@
|
|||||||
nur,
|
nur,
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
myData = import ./data.nix;
|
myData = import ./data.nix;
|
||||||
pkgsIA64 = import nixpkgs {system = "x86_64-linux";};
|
mkDeployPkgs = system:
|
||||||
pkgsArm64 = import nixpkgs {system = "aarch64-linux";};
|
import nixpkgs {
|
||||||
deployPkgsIA64 = import nixpkgs {
|
system = system;
|
||||||
system = "x86_64-linux";
|
overlays = [
|
||||||
overlays = [
|
deploy-rs.overlay
|
||||||
deploy-rs.overlay
|
(_self: super: {
|
||||||
(_self: super: {
|
deploy-rs = {
|
||||||
deploy-rs = {
|
inherit (import nixpkgs {system = system;}) deploy-rs;
|
||||||
inherit (pkgsIA64) deploy-rs;
|
lib = super.deploy-rs.lib;
|
||||||
lib = super.deploy-rs.lib;
|
};
|
||||||
};
|
})
|
||||||
})
|
];
|
||||||
];
|
};
|
||||||
};
|
deployPkgsIA64 = mkDeployPkgs "x86_64-linux";
|
||||||
deployPkgsArm64 = import nixpkgs {
|
deployPkgsArm64 = mkDeployPkgs "aarch64-linux";
|
||||||
system = "aarch64-linux";
|
|
||||||
overlays = [
|
|
||||||
deploy-rs.overlay
|
|
||||||
(_self: super: {
|
|
||||||
deploy-rs = {
|
|
||||||
inherit (pkgsArm64) deploy-rs;
|
|
||||||
lib = super.deploy-rs.lib;
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
#nixosConfigurations.vm = nixpkgs.lib.nixosSystem {
|
#nixosConfigurations.vm = nixpkgs.lib.nixosSystem {
|
||||||
|
Loading…
Reference in New Issue
Block a user