summaryrefslogtreecommitdiff
path: root/modules/nixos/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/hyprland.nix')
-rw-r--r--modules/nixos/hyprland.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix
new file mode 100644
index 0000000..9d00cec
--- /dev/null
+++ b/modules/nixos/hyprland.nix
@@ -0,0 +1,25 @@
+{ pkgs, ... }:
+
+{
+ # Enable Hyprland
+ programs.hyprland = {
+ enable = true;
+ withUWSM = true;
+ };
+ environment.sessionVariables.NIXOS_OZONE_WL = "1";
+ environment.sessionVariables.WLR_NO_HARDWARE_CURSORS = "1";
+
+ programs.hyprlock.enable = true;
+ services.hypridle.enable = true;
+
+ environment.systemPackages = with pkgs; [
+ pyprland
+ hyprpicker
+ hyprcursor
+ hyprlock
+ hypridle
+ hyprpaper
+ hyprsunset
+ hyprpolkitagent
+ ];
+} \ No newline at end of file