about summary refs log tree commit diff stats
path: root/home-manager/config/lf/keybindings/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-06 22:15:22 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:33:24 +0200
commit8d186b0236914145f232258064b41eaa0a424a97 (patch)
tree077e8a30b9e118c9c586a787176173c2e7e62d9d /home-manager/config/lf/keybindings/default.nix
parentRefactor(hm/conf/lf): Separate keybindings and commands (diff)
downloadnixos-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.nix4
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";