From 839b40baca6d057e1c78a96319b168b047ca12f4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 9 Sep 2024 04:43:38 -0700 Subject: Bump: organise --- home/ebisu/fortune/system/shell/fish.nix | 6 +++--- home/ebisu/fortune/system/variables.nix | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'home/ebisu/fortune/system') diff --git a/home/ebisu/fortune/system/shell/fish.nix b/home/ebisu/fortune/system/shell/fish.nix index 0a43859..0e3611f 100644 --- a/home/ebisu/fortune/system/shell/fish.nix +++ b/home/ebisu/fortune/system/shell/fish.nix @@ -150,11 +150,11 @@ suzuri = "SUZURI_MINIMAL=1 SUZURI_REVERSE=1 ${config.home.homeDirectory}/Documents/Code/Git/Fuwn/suzuri/suzuri"; "5ch" = "html2md -i 'https://ff5ch.syoboi.jp/' -s section | glow"; shinobu = "curl --silent https://shinobu.fuwn.workers.dev/shinobu -o /tmp/shinobu && nsxiv /tmp/shinobu"; - auto_subtitle = "source $HOME/Documents/Code/Git/Random/auto-subtitle/venv/bin/activate && auto_subtitle --model medium --task translate --srt_only True"; + auto_subtitle = "source ${config.home.homeDirectory}/Documents/Code/Git/Random/auto-subtitle/venv/bin/activate && auto_subtitle --model medium --task translate --srt_only True"; steamy = "mangohud gamemoderun steam-runtime"; koix = "koi -f"; - seamonkey = "$HOME/.local/src/seamonkey/seamonkey-bin"; - doom = "$HOME/.config/emacs/bin/doom"; + seamonkey = "${config.home.homeDirectory}/.local/src/seamonkey/seamonkey-bin"; + doom = "${config.xdg.configHome}/emacs/bin/doom"; }; }; } diff --git a/home/ebisu/fortune/system/variables.nix b/home/ebisu/fortune/system/variables.nix index 56f9f77..97457ba 100644 --- a/home/ebisu/fortune/system/variables.nix +++ b/home/ebisu/fortune/system/variables.nix @@ -2,13 +2,14 @@ pkgs, config, secrets, + flakeDirectory, ... }: { home.sessionVariables = { # https://github.com/nix-community/home-manager/issues/354#issuecomment-475803163 LOCALES_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; - FLAKE = "${config.home.homeDirectory}/.nixos-config"; + FLAKE = "${config.home.homeDirectory}/${flakeDirectory}"; # Default programs EDITOR = "lvim"; -- cgit v1.2.3