From 67d7bc2fa8a6b333a424a62cf9030356923dcaac Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 27 Nov 2021 17:40:07 +0300 Subject: fix(tazjin/tverskoy): Persist Zoxide state between reboots Change-Id: Ib1e1fe9749e56eefc83016b1946e6fe0b1f72339 --- users/tazjin/nixos/tverskoy/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'users/tazjin/nixos/tverskoy/default.nix') diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index b691fce379..9fe3244683 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -339,6 +339,7 @@ in lib.fix(self: { ".local/share/Steam" ".local/share/direnv" ".local/share/fish" + ".local/share/zoxide" ".mozilla/firefox" ".password-store" ".rustup" @@ -365,6 +366,13 @@ in lib.fix(self: { }; }; + programs.fish = { + enable = true; + interactiveShellInit = '' + ${pkgs.zoxide}/bin/zoxide init fish | source + ''; + }; + services.screen-locker = { enable = true; enableDetectSleep = true; -- cgit 1.4.1