config/modules/rice/hyprland/default.nix

20 lines
403 B
Nix
Raw Normal View History

2024-02-29 22:20:26 -05:00
{
pkgs,
lib,
inputs,
...
}: {
imports = [./config.nix ./binds.nix];
2024-02-29 22:20:26 -05:00
wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.default;
systemd = {
variables = ["--all"];
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
};
}