From fe071f7cf313832a79446d4f5fa16557b78fb771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 3 Nov 2024 15:51:26 +0100 Subject: [PATCH] add z --- modules/environment/user-impermanence.nix | 1 + programs/shell/fish/home-manager.nix | 5 ++++- programs/shell/fish/z.nix | 11 +++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 programs/shell/fish/z.nix diff --git a/modules/environment/user-impermanence.nix b/modules/environment/user-impermanence.nix index 1e0ddea4..8d17a83a 100644 --- a/modules/environment/user-impermanence.nix +++ b/modules/environment/user-impermanence.nix @@ -19,6 +19,7 @@ with lib; { inherit name; value.home.persistence.default = { persistentStoragePath = "/persistent/home/${name}"; + allowOther = true; }; }) config.environment.impermanence.users); diff --git a/programs/shell/fish/home-manager.nix b/programs/shell/fish/home-manager.nix index 02ee3f7d..8c12ec7e 100644 --- a/programs/shell/fish/home-manager.nix +++ b/programs/shell/fish/home-manager.nix @@ -1,5 +1,8 @@ {...}: { - imports = [./tide.nix]; + imports = [ + ./tide.nix + ./z.nix + ]; programs.fish = { enable = true; }; diff --git a/programs/shell/fish/z.nix b/programs/shell/fish/z.nix new file mode 100644 index 00000000..4959ff2d --- /dev/null +++ b/programs/shell/fish/z.nix @@ -0,0 +1,11 @@ +{pkgs, ...}: { + programs.fish.plugins = with pkgs.fishPlugins; [ + { + name = "z"; + src = z.src; + } + ]; + home.persistence.default.directories = [ + ".local/share/z" + ]; +}