This commit is contained in:
kenji
2025-08-20 13:23:21 -05:00
parent e1ac8eeed1
commit 84ac1c05e2
2 changed files with 9 additions and 18 deletions
+1 -6
View File
@@ -9,6 +9,7 @@
in { in {
imports = [ imports = [
../options.nix ../options.nix
./hyprland/default.nix
]; ];
# ++ lib.optionals (cfg.enable && cfg.settings.hyprland.useNixForConf) [ # ++ lib.optionals (cfg.enable && cfg.settings.hyprland.useNixForConf) [
# ./hyprland/default.nix # ./hyprland/default.nix
@@ -25,12 +26,6 @@ in {
home.file = { home.file = {
".config/quickshell".source = builtins.path {path = ../../.config/quickshell;}; ".config/quickshell".source = builtins.path {path = ../../.config/quickshell;};
".config/hypr" = lib.mkIf (!cfg.settings.hyprland.useNixForConf) {
source = builtins.path {
path = ../../.config/hypr;
# executable = true;
};
};
# dont forget hypridle and hyprlock!!! # dont forget hypridle and hyprlock!!!
".config/kitty".source = builtins.path {path = ../../.config/kitty;}; ".config/kitty".source = builtins.path {path = ../../.config/kitty;};
+8 -12
View File
@@ -12,7 +12,7 @@ in {
systemd.enable = true; systemd.enable = true;
}; };
imports = [ imports = lib.optionals cfg.settings.hyprland.useNixForConf [
./hypr/keybinds.nix ./hypr/keybinds.nix
./hypr/execs.nix ./hypr/execs.nix
./hypr/rules.nix ./hypr/rules.nix
@@ -22,18 +22,14 @@ in {
./hypridle.nix ./hypridle.nix
]; ];
home.file = { config = lib.mkIf cfg.settings.hyprland.useNixForConf {
".config/hypr/scripts" = { home.file = {
source = builtins.path { ".config/hypr/scripts" = {
path = ../../.config/hypr/hyprland/scripts; source = builtins.path {
executable = true; path = ../../.config/hypr/hyprland/scripts;
executable = true;
};
}; };
}; };
}; };
# wayland.windowManager.hyprland = {
# enable = true;
# xwayland.enable = true;
# systemd.enable = true;
# };
} }