From c1a9c265fb8f3ca8ff53663f83f9dad9c68d982e Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 6 Aug 2024 15:27:19 +0200 Subject: [PATCH] Fix FLAKE env variable --- modules/home/hyprland/keybinds.nix | 2 +- users/seb/home.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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;