about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-09-10 08:30:22 +0200
committerSoispha <soispha@vhack.eu>2023-09-10 08:30:22 +0200
commite573fc95e0d4e2376f8e8750331b4812e8aeebc3 (patch)
tree8f1e5a2417f8e611243b5eed2bbe6dc0496cd76c /hm
parentBuild(flake): Update (diff)
downloadnixos-config-e573fc95e0d4e2376f8e8750331b4812e8aeebc3.zip
Fix(treewide): Provide `snap-synced-forked` as overlay and thus as pkg
Diffstat (limited to '')
-rw-r--r--hm/soispha/pkgs/default.nix1
-rw-r--r--hm/soispha/pkgs/scripts.nix6
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/backsnap3
3 files changed, 1 insertions, 9 deletions
diff --git a/hm/soispha/pkgs/default.nix b/hm/soispha/pkgs/default.nix
index e8b105ca..83744400 100644
--- a/hm/soispha/pkgs/default.nix
+++ b/hm/soispha/pkgs/default.nix
@@ -60,6 +60,7 @@ with pkgs; let
       xdg-utils # open urls and such things
       yokadi # Command line oriented, sqlite powered, todo list
       killall # kill a application by name
+      snap-sync-forked # A btrfs based backup solution
     ];
 
     WM = {
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix
index d06fc67f..1341370c 100644
--- a/hm/soispha/pkgs/scripts.nix
+++ b/hm/soispha/pkgs/scripts.nix
@@ -50,11 +50,6 @@
     dependencies = builtins.attrValues {inherit (pkgs) git git-crypt nixos-rebuild sudo openssh coreutils mktemp gnugrep gnused;};
   };
 
-  backsnap-scr = write_script {
-    name = "backsnap";
-    path = "wrappers";
-    dependencies = builtins.attrValues {}; # TODO: add snap-sync
-  };
   ll-scr = sysLib.writeShellScriptWithLibraryUnwrapped {
     name = "ll";
     src = ./scripts/wrappers/ll;
@@ -87,7 +82,6 @@
   };
 in [
   aumo-scr
-  backsnap-scr
   con2pdf-scr
   dldragon-scr
   gtk-themes-scr
diff --git a/hm/soispha/pkgs/scripts/wrappers/backsnap b/hm/soispha/pkgs/scripts/wrappers/backsnap
deleted file mode 100755
index cd08045d..00000000
--- a/hm/soispha/pkgs/scripts/wrappers/backsnap
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /usr/bin/env dash
-snap-sync --noconfirm -u d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0
-umount /run/dt/d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0