summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2024-03-07 23:16:22 +0100
committerstuebinm2024-03-07 23:16:22 +0100
commita2ae3706ec9bbacd07615592679610648b366246 (patch)
tree560033c21067420d90dcb3f8cec231c10cf18327
parentf0222c8625d7a0fa460e4388d313947e6fa9c515 (diff)
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)
-rw-r--r--flake.nix2
-rw-r--r--home/packages.nix4
-rw-r--r--pkgs/overlay.nix13
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 {};