From b68737baf9f8ff6cb6f42b3781b995598bc8ba80 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 10 Dec 2023 07:47:38 -0500 Subject: seth: install attic --- users/seth/programs/default.nix | 10 +++++++--- users/seth/shell/fish.nix | 3 ++- users/seth/shell/zsh.nix | 3 ++- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'users') diff --git a/users/seth/programs/default.nix b/users/seth/programs/default.nix index 22200a6..6ae66d9 100644 --- a/users/seth/programs/default.nix +++ b/users/seth/programs/default.nix @@ -13,14 +13,18 @@ ./vim.nix ]; - home.packages = with pkgs; [ + home.packages = with pkgs; let + inherit (stdenv.hostPlatform) system; + in [ fd - nix-your-shell nurl rclone restic + + inputs.attic.packages.${system}.attic + (let - getchvim = inputs.getchvim.packages.${pkgs.stdenv.hostPlatform.system}.default; + getchvim = inputs.getchvim.packages.${system}.default; in # remove desktop file symlinkJoin { diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix index fc241d0..279b021 100644 --- a/users/seth/shell/fish.nix +++ b/users/seth/shell/fish.nix @@ -1,5 +1,6 @@ { config, + lib, pkgs, ... }: { @@ -13,7 +14,7 @@ source $nixfile end - nix-your-shell fish | source + ${lib.getExe pkgs.nix-your-shell} fish | source abbr -a !! --position anywhere --function last_history_item ''; diff --git a/users/seth/shell/zsh.nix b/users/seth/shell/zsh.nix index 23d5813..2842a1f 100644 --- a/users/seth/shell/zsh.nix +++ b/users/seth/shell/zsh.nix @@ -1,5 +1,6 @@ { config, + lib, pkgs, ... }: { @@ -30,7 +31,7 @@ promptinit colors - nix-your-shell zsh | source /dev/stdin + ${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin zmodload zsh/zutil zmodload zsh/complist -- cgit v1.2.3