aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-12-23 20:38:25 +0530
committerAkshay Nair <phenax5@gmail.com>2020-12-23 20:38:41 +0530
commit27496a4209360148a966bd5633923a4d91ae3e14 (patch)
treec5eb4bdc8379cbf6c1bbdc61c95731dca8de643c
parent2670c52795a0ee02c434122d43c0940c3755ca8d (diff)
downloadnixos-config-27496a4209360148a966bd5633923a4d91ae3e14.tar.gz
nixos-config-27496a4209360148a966bd5633923a4d91ae3e14.zip
adds magic symlinking config + move gpg agent config to home manager
Diffstat (limited to '')
-rw-r--r--configuration.nix8
-rw-r--r--external/zsh/paths.zsh2
-rw-r--r--home.nix26
3 files changed, 25 insertions, 11 deletions
diff --git a/configuration.nix b/configuration.nix
index abfc199..c2c32fa 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -58,10 +58,10 @@
sound.enable = true;
# hardware.pulseaudio.enable = true;
- programs.gnupg.agent = {
- enable = true;
- enableSSHSupport = false;
- };
+ #programs.gnupg.agent = {
+ #enable = true;
+ #enableSSHSupport = false;
+ #};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
diff --git a/external/zsh/paths.zsh b/external/zsh/paths.zsh
index 7f5b26b..2efc0ce 100644
--- a/external/zsh/paths.zsh
+++ b/external/zsh/paths.zsh
@@ -30,7 +30,7 @@ export PATH;
# Util config
export rofi_LIBS=/usr;
-export GNUPGHOME=$XDG_CONFIG_HOME/gnupg;
+export GNUPGHOME=$HOME/.gnupg;
export PASSWORD_STORE_DIR=$XDG_CONFIG_HOME/password-store;
export BTPD_HOME=$XDG_CONFIG_HOME/btpd;
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";
};