nixos/system/hyprland.nix

24 lines
486 B
Nix
Raw Normal View History

{pkgs, ...}: {
imports = [./desktop.nix];
environment = {
sessionVariables = {
XDG_SESSION_DESKTOP = "Hyprland";
XDG_CURRENT_DESKTOP = "Hyprland";
};
systemPackages = with pkgs; [
hyprpaper
hyprpicker
];
};
services.greetd.settings = let
command = "Hyprland";
in {
default_session = {inherit command;};
initial_session = {inherit command;};
};
programs.hyprland = {
enable = true;
xwayland.enable = true;
2023-08-03 16:01:13 +01:00
};
}