From a2ae3706ec9bbacd07615592679610648b366246 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 7 Mar 2024 23:16:22 +0100 Subject: home: add git annex remote for amatl the tool is still a bit rough, but it should work well enough for actual use (even if i have to restart xochitl afterwards) --- flake.nix | 2 +- home/packages.nix | 4 ++-- pkgs/overlay.nix | 13 +++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 2ba2802..a7755d7 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,7 @@ kijetesantakaluotokieni showrt isabelle-utils isabat travelynx crs-tracker crs-php bahnhof-name matrix-to hikari_unstable heartwood radicle-interface radicle-tui - inweb nomsring bookwyrm mollysocket; + inweb nomsring bookwyrm mollysocket git-annex-remote-remarkable2; tests.bookwyrm = nixpkgs.nixosTest ./tests/bookwyrm.nix; }; diff --git a/home/packages.nix b/home/packages.nix index ce4fc4e..5e863e8 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -26,8 +26,8 @@ in # general cli utils almanac libnotify grim slurp wl-clipboard showrt kijetesantakaluotokieni mpc_cli duf dufs progress hledger - wineWowPackages.full sops xdg-utils - mercurial darcs + wineWowPackages.full sops xdg-utils exiftool + mercurial darcs git-annex-remote-remarkable2 # graphical utils kitty baobab # gnss things diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix index ae1741b..a0d629f 100644 --- a/pkgs/overlay.nix +++ b/pkgs/overlay.nix @@ -17,6 +17,19 @@ in inherit (unstable) lean4; + + git-annex-remote-remarkable2 = self.callPackage + ({ rustPlatform, fetchgit, ... }: + rustPlatform.buildRustPackage rec { + name = "git-annex-remote-remarkable2"; + src = fetchgit { + url = "https://stuebinm.eu/git/git-annex-remote-remarkable2"; + rev = "refs/heads/main"; + hash = "sha256-ZDoZFFADti3ZwLZqeP/F3BbW+Csuprw6+1LBBQIjnlo="; + }; + cargoLock.lockFile = "${src.outPath}/Cargo.lock"; + }) { }; + #### packages which are actually in use somewhere #### galmon-core = self.callPackage ./galmon.nix {}; -- cgit v1.2.3