home: fix path copy-to-store

This commit is contained in:
Primrose 2025-04-04 23:52:49 +02:00
parent 1b739cedf1
commit 875f7e7d4b
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
8 changed files with 15 additions and 15 deletions

View file

@ -6,7 +6,7 @@
}: let
cfg = config.programs.fish;
fishExe = "${lib.getExe cfg.package}";
fishExe = lib.getExe cfg.package;
in {
imports = [
./aliasesAbbrs.nix
@ -15,7 +15,7 @@ in {
#
# tmux sessionizer
#
home.sessionVariables = lib.mapAttrs (_: path: "${config.home.homeDirectory}/${path}") {
home.sessionVariables = lib.mapAttrs (_: path: config.home.homeDirectory + "/${path}") {
REPO_PATH = "r";
PLAYGROUND_PATH = "pg";
WORKTREE_PATH = "wt";
@ -55,9 +55,7 @@ in {
xdg.configFile =
lib.mapAttrs'
(path: _:
lib.nameValuePair
"fish/functions/${path}"
{source = lib.path.append ./functions path;})
lib.nameValuePair "fish/functions/${path}" {source = "${./functions}/${path}";})
(builtins.readDir ./functions);
programs.fish = {