fix for commit 3c

This commit is contained in:
kenji
2025-08-19 18:35:27 -05:00
parent 3c496175dc
commit 650a5fa73c
4 changed files with 177 additions and 22 deletions
+14 -16
View File
@@ -7,24 +7,22 @@
}: let
cfg = config.programs.illogical-impulse;
in {
imports = [
../options.nix
];
imports =
[
../options.nix
]
++ lib.optionals (cfg.enable && cfg.settings.hyprland.useNixForConf) [
./hyprland/default.nix
];
config = lib.mkIf cfg.enable {
wayland.windowManager.hyprland = lib.mkIf cfg.settings.hyprland.useNixForConf {
enable = true;
xwayland.enable = true;
systemd.enable = true;
};
imports = lib.optionals cfg.settings.hyprland.useNixForConf [
./hyprland/hypr/keybinds.nix
./hyprland/hypr/execs.nix
./hyprland/hypr/rules.nix
./hyprland/hypr/env.nix
./hyprland/hypr/colours.nix
];
# imports = lib.optionals cfg.settings.hyprland.useNixForConf [
# ./hyprland/hypr/keybinds.nix
# ./hyprland/hypr/execs.nix
# ./hyprland/hypr/rules.nix
# ./hyprland/hypr/env.nix
# ./hyprland/hypr/colours.nix
# ];
home.file = {
".config/quickshell".source = builtins.path {path = ../../.config/quickshell;};