summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-10 07:47:38 -0500
committerseth <[email protected]>2023-12-10 07:47:38 -0500
commitb68737baf9f8ff6cb6f42b3781b995598bc8ba80 (patch)
tree86cd0e1d09bb51808d421a63740812e180e66df9
parent90411b997c347ec133c3e61b0d1f2c8682e994c1 (diff)
seth: install attic
-rw-r--r--users/seth/programs/default.nix10
-rw-r--r--users/seth/shell/fish.nix3
-rw-r--r--users/seth/shell/zsh.nix3
3 files changed, 11 insertions, 5 deletions
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