From d4368978c1fc0e0b991bdfacbc10f5a5a1bce8aa Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Thu, 24 Sep 2015 21:43:18 +0200 Subject: [PATCH] added encfs --- bin/mount-private-files | 7 +++++++ configuration.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 bin/mount-private-files diff --git a/bin/mount-private-files b/bin/mount-private-files new file mode 100755 index 0000000..5a0397d --- /dev/null +++ b/bin/mount-private-files @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$1" == "umount" ]; then + fusermount -u ~/Documents/Private +else + encfs ~/Documents/.private ~/Documents/Private +fi diff --git a/configuration.nix b/configuration.nix index 733bc87..939b720 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,7 +61,7 @@ atom git nodejs (haskellPackages.ghcWithPackages (hs: with hs; [ cabal-install ] )) # Libs and Tools - xsel urxvt_perls xclip python34Packages.udiskie + xsel urxvt_perls xclip python34Packages.udiskie encfs # Desktop Environment helpers dmenu bar i3lock sxhkd # Games