diff options
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"; |