diff options
author | Soispha <soispha@vhack.eu> | 2023-05-06 22:15:22 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:33:24 +0200 |
commit | 8d186b0236914145f232258064b41eaa0a424a97 (patch) | |
tree | 077e8a30b9e118c9c586a787176173c2e7e62d9d /home-manager/config/lf/keybindings/default.nix | |
parent | Refactor(hm/conf/lf): Separate keybindings and commands (diff) | |
download | nixos-config-8d186b0236914145f232258064b41eaa0a424a97.tar.gz nixos-config-8d186b0236914145f232258064b41eaa0a424a97.zip |
Fix(hm/conf/lf/keymappings): Set mapping to real path
Diffstat (limited to 'home-manager/config/lf/keybindings/default.nix')
-rw-r--r-- | home-manager/config/lf/keybindings/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/config/lf/keybindings/default.nix b/home-manager/config/lf/keybindings/default.nix index bc2178cf..0f3d92bd 100644 --- a/home-manager/config/lf/keybindings/default.nix +++ b/home-manager/config/lf/keybindings/default.nix @@ -1,4 +1,4 @@ -{config, ...}: { +{nixosConfig, ...}: { # Remove some defaults m = null; "\"'\"" = null; @@ -69,7 +69,7 @@ # Movement gjr = "cd ~/.local/share/Trash/files"; - gus = "cd /run/${config.home.username}"; + gus = "cd /run/${builtins.toString nixosConfig.users.users.soispha.uid}"; "gr." = "cd ~/repos"; grr = "cd ~/repos/rust"; |