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 | |
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 '')
-rw-r--r-- | home-manager/config/lf/default.nix | 4 | ||||
-rw-r--r-- | home-manager/config/lf/keybindings/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix index ac092cc8..fbd17497 100644 --- a/home-manager/config/lf/default.nix +++ b/home-manager/config/lf/default.nix @@ -1,11 +1,11 @@ { pkgs, sysLib, - config, + nixosConfig, ... }: let commands = import ./commands {inherit pkgs sysLib;}; - keybindings = import ./keybindings {inherit config;}; + keybindings = import ./keybindings {inherit nixosConfig;}; in { xdg.configFile."lf/icons".source = ./icons; xdg.configFile."lf/colors".source = ./colors; 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"; |