Make hyprland more usable.
This commit is contained in:
parent
5bc148601a
commit
229a016f5b
2 changed files with 26 additions and 5 deletions
|
@ -71,7 +71,12 @@
|
||||||
in
|
in
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = attrs // {inherit fn;};
|
specialArgs =
|
||||||
|
attrs
|
||||||
|
// {
|
||||||
|
inherit system;
|
||||||
|
inherit fn;
|
||||||
|
};
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
(toString ./options/machine.nix)
|
(toString ./options/machine.nix)
|
||||||
|
|
|
@ -9,22 +9,38 @@
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
mkIf (elem "desktop::hyprland" config.machine.services) {
|
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;
|
enable = true;
|
||||||
package = hyprland.packages."${system}".hyprland;
|
displayManager.sddm = {
|
||||||
xwayland.enable = false;
|
enable = true;
|
||||||
|
autoNumlock = true;
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[
|
[
|
||||||
hy3.packages."${system}".hy3
|
hy3.packages."${system}".hy3
|
||||||
]
|
]
|
||||||
++ (with pkgs; [
|
++
|
||||||
|
(with pkgs; [
|
||||||
kanagawa
|
kanagawa
|
||||||
eww-wayland
|
eww-wayland
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
hyprpicker
|
hyprpicker
|
||||||
waybar
|
waybar
|
||||||
swaybg
|
swaybg
|
||||||
|
gtk3
|
||||||
|
gnome.adwaita-icon-theme
|
||||||
|
gsettings-desktop-schemas
|
||||||
]);
|
]);
|
||||||
|
|
||||||
# TODO: Refactor
|
# TODO: Refactor
|
||||||
|
|
Loading…
Reference in a new issue