Make hyprland more usable.

This commit is contained in:
Kevin Baensch 2024-05-09 13:28:32 +02:00
parent 5bc148601a
commit 229a016f5b
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 26 additions and 5 deletions

View file

@ -71,7 +71,12 @@
in
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = attrs // {inherit fn;};
specialArgs =
attrs
// {
inherit system;
inherit fn;
};
modules =
[
(toString ./options/machine.nix)

View file

@ -9,22 +9,38 @@
}:
with lib;
mkIf (elem "desktop::hyprland" config.machine.services) {
programs.hyprland = {
programs = {
dconf.enable = true;
hyprland = {
enable = true;
package = hyprland.packages."${system}".hyprland;
xwayland.enable = false;
};
};
services.xserver = {
enable = true;
displayManager.sddm = {
enable = true;
autoNumlock = true;
wayland.enable = true;
};
};
environment.systemPackages =
[
hy3.packages."${system}".hy3
]
++ (with pkgs; [
++
(with pkgs; [
kanagawa
eww-wayland
rofi-wayland
hyprpicker
waybar
swaybg
gtk3
gnome.adwaita-icon-theme
gsettings-desktop-schemas
]);
# TODO: Refactor