From 27496a4209360148a966bd5633923a4d91ae3e14 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 23 Dec 2020 20:38:25 +0530 Subject: adds magic symlinking config + move gpg agent config to home manager --- home.nix | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'home.nix') diff --git a/home.nix b/home.nix index b142b24..14497c8 100644 --- a/home.nix +++ b/home.nix @@ -1,14 +1,28 @@ { pkgs, ... }: { - home.packages = with pkgs; [ - picom - mtm - ]; + #home.packages = with pkgs; [ + #picom + #]; + + services.gpg-agent = { + enable = true; + maxCacheTtl = 864000; + defaultCacheTtl = 864000; + enableSshSupport = false; + }; + + home.file = { + ".config/dunst".source = ./config/dunst; + ".config/lf".source = ./config/lf; + ".config/qutebrowser".source = ./config/qutebrowser; + ".local/share/qutebrowser/userscripts".source = ./config/qutebrowser/userscripts; + ".local/share/qutebrowser/greasemonkey".source = ./config/qutebrowser/greasemonkey; + # ".local/share/qutebrowser/sessions".source = ./private-config/qutebrowser/sessions; + }; services.picom = { enable = true; backend = "glx"; - inactiveOpacity = "0.8"; inactiveDim = "0.3"; opacityRule = [ "98:class_g = 'St' && focused" @@ -17,7 +31,7 @@ "100:class_g = 'qutebrowser' && focused" ]; extraOptions = '' - focus-exclude = [ "class_g = 'dwm'" "class_g = 'dmenu'"]; + focus-exclude = [ "class_g = 'dwm'", "class_g = 'dmenu'"]; ''; menuOpacity = "0.9"; }; -- cgit v1.3.1