Fix FLAKE env variable

This commit is contained in:
SebastianStork 2024-08-06 15:27:19 +02:00
parent 068841280e
commit c1a9c265fb
2 changed files with 3 additions and 1 deletions

View file

@ -129,7 +129,7 @@
bind = SUPER, D, togglespecialworkspace, chat bind = SUPER, D, togglespecialworkspace, chat
# Flake workspace # 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 windowrulev2 = noblur, class:(kitty), onworkspace:special:flake
bind = SUPER, Q, togglespecialworkspace, flake bind = SUPER, Q, togglespecialworkspace, flake
''; '';

View file

@ -7,6 +7,8 @@
{ {
imports = [ ../common-home.nix ]; imports = [ ../common-home.nix ];
home.sessionVariables.FLAKE = "~/Projects/nixos/my-config";
myConfig = { myConfig = {
sops.enable = true; sops.enable = true;
shell.zsh.enable = true; shell.zsh.enable = true;