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 {
imports = [
../options.nix
./hyprland/default.nix
];
# ++ lib.optionals (cfg.enable && cfg.settings.hyprland.useNixForConf) [
# ./hyprland/default.nix
@@ -25,12 +26,6 @@ in {
home.file = {
".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!!!
".config/kitty".source = builtins.path {path = ../../.config/kitty;};
+3 -7
View File
@@ -12,7 +12,7 @@ in {
systemd.enable = true;
};
imports = [
imports = lib.optionals cfg.settings.hyprland.useNixForConf [
./hypr/keybinds.nix
./hypr/execs.nix
./hypr/rules.nix
@@ -22,6 +22,7 @@ in {
./hypridle.nix
];
config = lib.mkIf cfg.settings.hyprland.useNixForConf {
home.file = {
".config/hypr/scripts" = {
source = builtins.path {
@@ -30,10 +31,5 @@ in {
};
};
};
# wayland.windowManager.hyprland = {
# enable = true;
# xwayland.enable = true;
# systemd.enable = true;
# };
};
}