Added daedalus

This commit is contained in:
Craige McWhirter 2020-06-08 12:21:51 +10:00
parent c6e9850968
commit f19ea59aa6
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
4 changed files with 35 additions and 5 deletions

View file

@ -7,6 +7,7 @@
imports = [ imports = [
../hardware/purism_librem_15.nix # Include the results of the hardware scan. ../hardware/purism_librem_15.nix # Include the results of the hardware scan.
../roles/android.nix # Provide an Android dev environment ../roles/android.nix # Provide an Android dev environment
../roles/daedalus.nix # The open source cryptocurrency wallet for ADA
../roles/desktop-feeds.nix # Tools for news feeds and podcasts ../roles/desktop-feeds.nix # Tools for news feeds and podcasts
../roles/haskell-dev.nix # Haskel dev environment ../roles/haskell-dev.nix # Haskel dev environment
../roles/host_common.nix # Common host configuration options ../roles/host_common.nix # Common host configuration options
@ -75,8 +76,6 @@
gnused gnused
google-authenticator # 2FA google-authenticator # 2FA
google-chrome # A freeware web browser developed by Google google-chrome # A freeware web browser developed by Google
gphoto2
gphoto2fs
gvfs gvfs
imagemagick imagemagick
iptables # iptables iptables # iptables

View file

@ -5,10 +5,22 @@
"homepage": "https://cardano.org", "homepage": "https://cardano.org",
"owner": "input-output-hk", "owner": "input-output-hk",
"repo": "cardano-node", "repo": "cardano-node",
"rev": "044e82d68a5e5d05258c93eda6c00d8541e4d977", "rev": "9925ef37dccbe7f423f3ceb81a5e1da3d924393b",
"sha256": "0ds1k350n84qq8sbdpin0fkbsk8pq5b7hyv23yqkslzvrgdh400g", "sha256": "1yw5axs33g33znqxjkmjlrgks8ky79mc6lj2f28m2i2qfifyz12y",
"type": "tarball", "type": "tarball",
"url": "https://github.com/input-output-hk/cardano-node/archive/044e82d68a5e5d05258c93eda6c00d8541e4d977.tar.gz", "url": "https://github.com/input-output-hk/cardano-node/archive/9925ef37dccbe7f423f3ceb81a5e1da3d924393b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"daedalus": {
"branch": "refs/tags/1.1.0",
"description": "The open source cryptocurrency wallet for ada, built to grow with the community",
"homepage": "https://daedaluswallet.io/",
"owner": "input-output-hk",
"repo": "daedalus",
"rev": "25866a431aba60bf73aeb1a51f9134143145fa07",
"sha256": "1jwqm14fxzd8qglwyxm989rajfjnvjql1mbx135fl1sw75znd7ih",
"type": "tarball",
"url": "https://github.com/input-output-hk/daedalus/archive/25866a431aba60bf73aeb1a51f9134143145fa07.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"niv": { "niv": {

18
roles/daedalus.nix Normal file
View file

@ -0,0 +1,18 @@
# NixOps configuration for the hosts running Daedalus
{ config, pkgs, lib, ... }:
let
sources = import ../nix/sources.nix;
daedalusProject = import sources.daedalus {};
in
{
environment.systemPackages = [
daedalusProject.daedalus
];
}

View file

@ -7,6 +7,7 @@
[ [
../roles/games-kids.nix ../roles/games-kids.nix
../roles/host_common.nix ../roles/host_common.nix
../roles/daedalus.nix
../roles/openssh.nix ../roles/openssh.nix
../secrets/user-craige.nix ../secrets/user-craige.nix
../secrets/user-fiona.nix ../secrets/user-fiona.nix