Add tarsnap config

Based on rycee/home-manager#1218
This commit is contained in:
Griffin Smith 2020-05-07 10:56:23 -04:00
parent c6963f8cb5
commit 924c51aa1f

View file

@ -33,6 +33,9 @@ let machine = ./machines/chupacabra.nix; in
# changes in each release. # changes in each release.
home.stateVersion = "19.09"; home.stateVersion = "19.09";
# for when hacking
programs.home-manager.path = "/home/grfn/code/home-manager";
home.packages = with pkgs; [ home.packages = with pkgs; [
(import (fetchTarball "https://github.com/ashkitten/nixpkgs/archive/init-glimpse.tar.gz") {}).glimpse (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" "file:///home/grfn/code"
]; ];
}; };
programs.tarsnap = {
enable = true;
keyfile = "/home/grfn/.private/tarsnap.key";
printStats = true;
humanizeNumbers = true;
};
} }