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 88a6f18607
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

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