init (cerulean template)
This commit is contained in:
commit
1b7b1e66f0
65 changed files with 5597 additions and 0 deletions
33
hosts/modules/wm/hyprland.nix
Normal file
33
hosts/modules/wm/hyprland.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
hyprpkgs = inputs.hyprland.inputs.nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
environment.defaultPackages = with pkgs; [
|
||||
hyprsunset
|
||||
];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
wlr.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${system}.hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.graphics = {
|
||||
package = lib.mkForce hyprpkgs.mesa;
|
||||
package32 = lib.mkForce hyprpkgs.pkgsi686Linux.mesa;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue