1
1
Fork 0
nixos/options/custom/desktops/hyprland/default.nix
Myned 53c8575116
git: migrate to forgejo
Squashes 1,331 commits

Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 19:41:21 -05:00

32 lines
691 B
Nix

{
config,
lib,
...
}:
with lib;
let
cfg = config.custom.desktops.hyprland;
in
{
options.custom.desktops.hyprland.enable = mkOption { default = false; };
config = mkIf cfg.enable {
custom.desktops.hyprland = mkIf config.custom.full {
binds.enable = true;
plugins.enable = true;
rules.enable = true;
settings.enable = true;
};
# https://github.com/hyprwm/Hyprland
programs.hyprland.enable = true;
# https://wiki.hyprland.org
home-manager.users.${config.custom.username}.wayland.windowManager.hyprland = {
enable = true;
systemd.variables = [ "--all" ]; # Import some environment variables into session
};
};
}