diff --git a/modules/home/hyprland/keybinds.nix b/modules/home/hyprland/keybinds.nix index e7c276e..d728318 100644 --- a/modules/home/hyprland/keybinds.nix +++ b/modules/home/hyprland/keybinds.nix @@ -129,7 +129,7 @@ bind = SUPER, D, togglespecialworkspace, chat # Flake workspace - workspace = special:flake, border:false, gapsout:30, on-created-empty:kitty --directory ~/Projects/nixos/my-config --override background_opacity=0.7 + workspace = special:flake, border:false, gapsout:30, on-created-empty:kitty --override background_opacity=0.7 --directory ${config.home.sessionVariables.FLAKE} windowrulev2 = noblur, class:(kitty), onworkspace:special:flake bind = SUPER, Q, togglespecialworkspace, flake ''; diff --git a/users/seb/home.nix b/users/seb/home.nix index 237f035..8f73c2e 100644 --- a/users/seb/home.nix +++ b/users/seb/home.nix @@ -7,6 +7,8 @@ { imports = [ ../common-home.nix ]; + home.sessionVariables.FLAKE = "~/Projects/nixos/my-config"; + myConfig = { sops.enable = true; shell.zsh.enable = true;