]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add missing tools for dilion
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 23 Feb 2020 13:11:52 +0000 (14:11 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 23 Feb 2020 13:11:52 +0000 (14:11 +0100)
environments/immae-eu.nix
modules/private/system/dilion.nix
pkgs/crypto/cardano/daedalus.json
pkgs/crypto/sia/default.nix
pkgs/default.nix

index 787d3033ad19a02c3aa0193be46c2a0c3398abc1..2cb624ae608d678cdddf6615cf3c79598e1863fe 100644 (file)
@@ -17,7 +17,7 @@ let
     boinctui
 
     # cryptocurrencies
-    cardano cardano-cli sia monero
+    cardano cardano-cli sia monero_0_15_0_0
     xmr-stak
     solc
     iota-cli-app
@@ -36,11 +36,11 @@ let
     sieve-connect
 
     # git
-    vcsh gitRepo gitAndTools.stgit tig ripgrep
+    vcsh gitRepo gitAndTools.stgit tig ripgrep mr
 
     # graphical tools
     nextcloud-client firefox
-    dwm dmenu st
+    dwm dmenu st xorg.xauth tigervnc
 
     # images
     feh imagemagick tiv graphicsmagick qrcode
@@ -74,7 +74,7 @@ let
     # (nixos {}).manual.manpages
 
     # note taking
-    note terminal-velocity jrnl
+    note terminal-velocity jrnl doing
 
     # office
     sc-im ranger
@@ -85,6 +85,8 @@ let
     ldapvi
     fzf
     buku
+    vimPlugins.vim-plug
+    mailcap
 
     # password management
     pass apg pwgen
@@ -94,10 +96,10 @@ let
 
     # programming
     pelican emacs26-nox ctags
-    wdiff patch
+    wdiff patch gnumake
 
     # security
-    keybase
+    keybase gnupg
 
     # todolist/time management
     taskwarrior vit timewarrior
@@ -112,6 +114,7 @@ let
     # system tools
     telnet bind.dnsutils httpie ngrep nmap p0f socat lsof psmisc
     wget patchelf rename tmux (lib.meta.hiPrio nettools)
+    vlock mosh
 
     # other tools
     pgloader s3cmd lftp jq cpulimit libxslt gandi-cli
index 5b01a532ca7c545a678ec4c5c11332a89e11aae0..ab135b23ed449ed53a66cc1db249a3a9cf376b43 100644 (file)
@@ -51,7 +51,7 @@
     in
       ["command=\"${pkgs.rrsync_sudo}/bin/rrsync /var/lib/backup/eldiron/\"  ${config.myEnv.rsync_backup.ssh_key.public}"];
   };
-  security.sudo.extraRules = [
+  security.sudo.extraRules = pkgs.lib.mkAfter [
     {
       commands = [
         { command = "${pkgs.rsync}/bin/rsync"; options = [ "NOPASSWD" ]; }
       users = [ "backup" ];
       runAs = "root";
     }
+    {
+      commands = [
+        { command = "/home/immae/.nix-profile/root_scripts/*"; options = [ "NOPASSWD" ]; }
+      ];
+      users = [ "immae" ];
+      runAs = "root";
+    }
   ];
 
   system.activationScripts.backup_home = ''
     '';
   };
 
+  security.pki.certificateFiles = [
+    (pkgs.fetchurl {
+      url = "http://downloads.e.eriomem.net/eriomemca.pem";
+      sha256 = "1ixx4c6j3m26j8dp9a3dkvxc80v1nr5aqgmawwgs06bskasqkvvh";
+    })
+  ];
+
   # This is equivalent to setting environment.sessionVariables.NIX_PATH
   nix.nixPath = [
     "home-manager=https://github.com/rycee/home-manager/archive/release-19.03.tar.gz"
     "nixpkgs=https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
   ];
+  nix.binaryCaches = [ "https://hydra.iohk.io" ];
+  nix.binaryCachePublicKeys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ];
 
   # This value determines the NixOS release with which your system is
   # to be compatible, in order to avoid breaking some software such as
index 5bb72f49fb7505bf98423e73fd918e6bd8248c80..dcd14c5dd6f2b9e24a28d67c75aa01347b4d2f83 100644 (file)
@@ -1,15 +1,15 @@
 {
-  "tag": "0.12.1",
+  "tag": "0.15.1",
   "meta": {
     "name": "daedalus",
     "url": "https://github.com/input-output-hk/daedalus",
-    "branch": "refs/tags/0.12.1"
+    "branch": "refs/tags/0.15.1"
   },
   "github": {
     "owner": "input-output-hk",
     "repo": "daedalus",
-    "rev": "1276852b9a766d9fd4cda10561254f1a8ddd33ed",
-    "sha256": "0jf6ibwf0r4587g1ixq6zvi40kzwy137jgay5136yfbg15xw14k2",
+    "rev": "998fd3189c9a54fac496dfef7a6224714c67bc80",
+    "sha256": "1r3gwfv6hn7lzp4h2s6849m7x12nxadsql358ss615krvdlnb6rr",
     "fetchSubmodules": true
   }
 }
index 45908afbc235525ea5104b6c8853e63974785ee9..27e401497dbe5ae2a04949a3b9d5496709b9104f 100644 (file)
@@ -1,12 +1,15 @@
-{ stdenv, fetchzip }:
+{ stdenv, fetchzip, autoPatchelfHook }:
 stdenv.mkDerivation rec {
-  version = "v1.3.7";
+  version = "v1.4.3";
   name = "Sia-${version}";
   src = fetchzip {
     url = "https://sia.tech/static/releases/${name}-linux-amd64.zip";
-    sha256 = "1ljzwrlkx4hc16r8siiyakn039afipp95dyr83c8yfq3r3bfasqd";
+    sha256 = "1i67zjzk4cwfzb1dxaxc1m41fa44sz1d0mf6dmlyg6pm4cyqizki";
   };
-  phases = "installPhase";
+  phases = "installPhase fixupPhase";
+  nativeBuildInputs = [
+    autoPatchelfHook
+    ];
   installPhase = ''
     mkdir -p $out/share/doc
     mkdir -p $out/bin
@@ -14,6 +17,5 @@ stdenv.mkDerivation rec {
     cp -a $src/doc $out/share/doc/sia
     cp -a $src/LICENSE $src/README.md $out/share/sia
     cp -a $src/{siac,siad} $out/bin
-    cp -a $src/{siac,siad}.sig $out/share/sia/
     '';
 }
index b6f9eae18809b5595bd62f5dec33b5604c15337e..3e77992e1d77ac1624d1f0a1a60fd3dab3686a1d 100644 (file)
@@ -67,4 +67,10 @@ rec {
   dovecot_fts-xapian = callPackage ./dovecot/plugins/fts_xapian {
     inherit mylibs;
   };
+  monero_0_15_0_0 = (import (builtins.fetchTarball {
+    name = "nixos-19.09";
+    url = "https://releases.nixos.org/nixos/19.09/nixos-19.09.2145.c2c5dcc00b0/nixexprs.tar.xz";
+    sha256 = "0dh8qc3lzrba5mxxxh57i1374wc7ha3c30h7wsmj5zr7bhc5zm4p";
+  }) {}).monero;
+
 }