forked from Shinonome/dots-hyprland
31 lines
564 B
Nix
31 lines
564 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.programs.illogical-impulse;
|
|
in {
|
|
|
|
imports = lib.optionals cfg.settings.hyprland.useNixForConf [
|
|
./hypr/keybinds.nix
|
|
./hypr/execs.nix
|
|
./hypr/rules.nix
|
|
./hypr/env.nix
|
|
./hypr/colours.nix
|
|
./hyprlock.nix
|
|
./hypridle.nix
|
|
];
|
|
|
|
config = lib.mkIf cfg.settings.hyprland.useNixForConf {
|
|
home.file = {
|
|
".config/hypr/scripts" = {
|
|
source = builtins.path {
|
|
path = ../../.config/hypr/hyprland/scripts;
|
|
executable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|