chore(daedalus): use flake binaries

This commit is contained in:
Serĉanto de Scio 2024-08-25 19:22:49 +10:00
parent 8ee5f271f0
commit 9563498926
Signed by: sercanto
GPG key ID: A4122FF3971B6865
3 changed files with 10 additions and 10 deletions

View file

@ -34,6 +34,9 @@ in {
overlays = []; overlays = [];
}; };
}; };
defaults = {
_module.args.inputs = inputs;
};
airgead = { airgead = {
imports = [ imports = [
hosts/airgead hosts/airgead

View file

@ -1,18 +1,14 @@
# NixOps configuration for the hosts running Daedalus # NixOps configuration for the hosts running Daedalus
{ {
config, config,
pkgs, inputs,
lib, lib,
pkgs,
... ...
}: let }: {
flake = builtins.getFlake (toString ../.);
daedalusMainnet = import flake.inputs.daedalus.packages."${pkgs.system}".daedalus-mainnet;
#daedalusPreview = import flake.inputs.daedalus.packages."${pkgs.system}".daedalus-preview;
#daedalusPreprod = import flake.inputs.daedalus.packages."${pkgs.system}".daedalus-preprod;
in {
environment.systemPackages = [ environment.systemPackages = [
daedalusMainnet inputs.daedalus.packages."${pkgs.system}".daedalus-mainnet
#daedalusPreview #inputs.daedalus.packages."${pkgs.system}".daedalus-preprod
#daedalusPreprod #inputs.daedalus.packages."${pkgs.system}".daedalus-preview
]; ];
} }

View file

@ -1,5 +1,6 @@
# Common configuration for MIO desktops # Common configuration for MIO desktops
{ {
inputs,
config, config,
pkgs, pkgs,
... ...