forked from Shinonome/dots-hyprland
fix for commit 3c
This commit is contained in:
+14
-16
@@ -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;};
|
||||
|
||||
Reference in New Issue
Block a user