From 924c51aa1fd963665ed0e9c40d7bbb0025f88a20 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 7 May 2020 10:56:23 -0400 Subject: [PATCH] Add tarsnap config Based on rycee/home-manager#1218 --- home/home.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/home.nix b/home/home.nix index 1a4d6e50d..c8debbfda 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; + }; }