diff options
| author | Fuwn <[email protected]> | 2024-09-09 04:43:38 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-09 04:43:38 -0700 |
| commit | 839b40baca6d057e1c78a96319b168b047ca12f4 (patch) | |
| tree | 1f34ff07597ad516bde543e7a8686b0f8c6161a1 /home/ebisu/fortune/system | |
| parent | Bump: system.autoUpgrade.allowReboot (diff) | |
| download | nixos-config-839b40baca6d057e1c78a96319b168b047ca12f4.tar.xz nixos-config-839b40baca6d057e1c78a96319b168b047ca12f4.zip | |
Bump: organise
Diffstat (limited to 'home/ebisu/fortune/system')
| -rw-r--r-- | home/ebisu/fortune/system/shell/fish.nix | 6 | ||||
| -rw-r--r-- | home/ebisu/fortune/system/variables.nix | 3 |
2 files changed, 5 insertions, 4 deletions
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"; |