feat: add hyprland

This commit is contained in:
2024-11-29 16:48:35 +05:00
parent 5848712d74
commit 8e7997b285
5 changed files with 655 additions and 6 deletions

View File

@@ -43,7 +43,11 @@
};
# Enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
experimental-features = [ "nix-command" "flakes" ];
};
services.xserver = {
# Enable the X11 windowing system.
@@ -120,6 +124,13 @@
polkitPolicyOwners = [ "shahab" ];
};
# Hyprland
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
virtualisation = {
podman = {
enable = true;