2024-04-11 22:38:26 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
imports = [./desktop.nix];
|
2023-10-30 15:02:25 +00:00
|
|
|
environment = {
|
2023-12-11 11:16:33 +00:00
|
|
|
sessionVariables = {
|
|
|
|
XDG_SESSION_DESKTOP = "Hyprland";
|
2024-03-04 06:37:35 +00:00
|
|
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
2023-12-11 11:16:33 +00:00
|
|
|
};
|
2023-10-30 15:02:25 +00:00
|
|
|
systemPackages = with pkgs; [
|
2024-04-07 10:28:26 +01:00
|
|
|
hyprpaper
|
2024-04-10 09:48:19 +01:00
|
|
|
hyprpicker
|
2023-10-30 15:02:25 +00:00
|
|
|
];
|
|
|
|
};
|
2024-04-11 22:38:26 +01:00
|
|
|
services.greetd.settings = let
|
|
|
|
command = "Hyprland";
|
2024-02-01 07:24:18 +00:00
|
|
|
in {
|
2024-04-11 22:38:26 +01:00
|
|
|
default_session = {inherit command;};
|
|
|
|
initial_session = {inherit command;};
|
2024-01-23 19:53:52 +00:00
|
|
|
};
|
2024-04-11 22:38:26 +01:00
|
|
|
programs.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
xwayland.enable = true;
|
2023-08-03 16:01:13 +01:00
|
|
|
};
|
2023-08-02 10:23:16 +01:00
|
|
|
}
|