From 0ab05578b3ff853920b83204fe36146af2f303be Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 21 Apr 2020 21:40:46 +0200 Subject: ma zsh: use bat as cat but without indentation it makes copy-pasting with the mouse easier if only header and snip is enabled --- makefu/2configs/home-manager/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu/2configs/home-manager') diff --git a/makefu/2configs/home-manager/zsh.nix b/makefu/2configs/home-manager/zsh.nix index 4cd9becc7..0dc7f256b 100644 --- a/makefu/2configs/home-manager/zsh.nix +++ b/makefu/2configs/home-manager/zsh.nix @@ -8,7 +8,7 @@ { # bat home-manager.users.makefu.home.packages = [ pkgs.bat ]; home-manager.users.makefu.programs.zsh.shellAliases = { - cat = "bat"; + cat = "bat --style=header,snip"; catn = "${pkgs.coreutils}/bin/cat"; ncat = "${pkgs.coreutils}/bin/cat"; }; -- cgit v1.2.3 From e7caceb6df27615f33083ae9430b61ffebcff5a7 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 22 Apr 2020 08:16:49 +0200 Subject: ma zsh.nix: mirage -> sxiv --- makefu/2configs/home-manager/zsh.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'makefu/2configs/home-manager') diff --git a/makefu/2configs/home-manager/zsh.nix b/makefu/2configs/home-manager/zsh.nix index 0dc7f256b..1f4ceea6c 100644 --- a/makefu/2configs/home-manager/zsh.nix +++ b/makefu/2configs/home-manager/zsh.nix @@ -9,6 +9,7 @@ home-manager.users.makefu.home.packages = [ pkgs.bat ]; home-manager.users.makefu.programs.zsh.shellAliases = { cat = "bat --style=header,snip"; + mirage = "sxiv"; # only available when tools/extra-gui is in use catn = "${pkgs.coreutils}/bin/cat"; ncat = "${pkgs.coreutils}/bin/cat"; }; -- cgit v1.2.3 From 0c3b57081d8439debb67d041e72815c5be5cc3f5 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 23 Apr 2020 16:44:47 +0200 Subject: ma zsh: disable home-manager gpg-agent and use programs.gpg-agent --- makefu/2configs/home-manager/cli.nix | 9 --------- makefu/2configs/home-manager/zsh.nix | 9 +++++++-- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'makefu/2configs/home-manager') diff --git a/makefu/2configs/home-manager/cli.nix b/makefu/2configs/home-manager/cli.nix index 6b5d26111..5d5673b81 100644 --- a/makefu/2configs/home-manager/cli.nix +++ b/makefu/2configs/home-manager/cli.nix @@ -1,15 +1,6 @@ {pkgs, ... }: { imports = [ ./zsh.nix ]; home-manager.users.makefu = { - services.gpg-agent = { - enable = true; - defaultCacheTtl = 900; - maxCacheTtl = 7200; - defaultCacheTtlSsh = 3600; - maxCacheTtlSsh = 86400; - enableSshSupport = true; - enableScDaemon = true; - }; programs.direnv = { stdlib = '' use_nix() { diff --git a/makefu/2configs/home-manager/zsh.nix b/makefu/2configs/home-manager/zsh.nix index 1f4ceea6c..f972e98b4 100644 --- a/makefu/2configs/home-manager/zsh.nix +++ b/makefu/2configs/home-manager/zsh.nix @@ -1,5 +1,12 @@ { pkgs, ... }: { + programs = { + ssh.startAgent = false; + gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + }; imports = [ { #direnv home-manager.users.makefu.home.packages = [ pkgs.direnv pkgs.nur.repos.kalbasit.nixify ]; @@ -54,8 +61,6 @@ setopt HIST_IGNORE_SPACE setopt HIST_FIND_NO_DUPS - unset SSH_AGENT_PID - export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh" compdef _pass brain zstyle ':completion::complete:brain::' prefix "$HOME/brain" compdef _pass secrets -- cgit v1.2.3 From 5ccd86776ec41e479a1069bfe27a283241fcaafd Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 23 Apr 2020 17:07:43 +0200 Subject: ma home-manager: bump, fix deprecations --- makefu/2configs/home-manager/desktop.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'makefu/2configs/home-manager') diff --git a/makefu/2configs/home-manager/desktop.nix b/makefu/2configs/home-manager/desktop.nix index 406f7f0d1..cf20af1b1 100644 --- a/makefu/2configs/home-manager/desktop.nix +++ b/makefu/2configs/home-manager/desktop.nix @@ -7,7 +7,6 @@ programs.browserpass = { browsers = [ "firefox" ] ; enable = true; }; programs.firefox = { enable = true; - enableIcedTea = true; }; programs.obs-studio.enable = true; xdg.enable = true; -- cgit v1.2.3