about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-07T14·56-0400
committerGriffin Smith <root@gws.fyi>2020-05-07T14·56-0400
commit924c51aa1fd963665ed0e9c40d7bbb0025f88a20 (patch)
tree20a7c6763a9a15a7b31e0c0a05fded7e933b5516 /home
parentc6963f8cb5a7995d889c6aacfd5e13510c63844c (diff)
Add tarsnap config
Based on rycee/home-manager#1218
Diffstat (limited to 'home')
-rw-r--r--home/home.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/home.nix b/home/home.nix
index 1a4d6e50de9a..c8debbfda8d3 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -33,6 +33,9 @@ let machine = ./machines/chupacabra.nix; in
   # changes in each release.
   home.stateVersion = "19.09";
 
+  # for when hacking
+  programs.home-manager.path = "/home/grfn/code/home-manager";
+
   home.packages = with pkgs; [
     (import (fetchTarball "https://github.com/ashkitten/nixpkgs/archive/init-glimpse.tar.gz") {}).glimpse
 
@@ -110,4 +113,11 @@ let machine = ./machines/chupacabra.nix; in
       "file:///home/grfn/code"
     ];
   };
+
+  programs.tarsnap = {
+    enable = true;
+    keyfile = "/home/grfn/.private/tarsnap.key";
+    printStats = true;
+    humanizeNumbers = true;
+  };
 }