24 lines
486 B
Nix
24 lines
486 B
Nix
{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;
|
|
};
|
|
}
|