From c35e614993c79995f7acfada66efea4a208e7126 Mon Sep 17 00:00:00 2001
From: Gabriella Bere <contact@gabbie.blue>
Date: Wed, 21 Aug 2024 11:15:31 +0100
Subject: [PATCH] add hyprland module ready for configuration

---
 flake.nix | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/flake.nix b/flake.nix
index 7d0115f..02edefd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -5,10 +5,15 @@
     # NixOS official package source, using the nixos-24.05 branch as stable and nixos-unstable as default
     nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
     stablepkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
+
+    # Home manager using nixos-unstable
     home-manager = {
       url = "github:nix-community/home-manager";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+
+    # Hyprland wm
+    hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
   };
 
   outputs = { self, nixpkgs, ... } @ inputs:
@@ -26,6 +31,11 @@
 	./modules/nh.nix
 	./modules/environment.nix
         ./modules/waydroid.nix
+
+        # Import hyprland module
+        hyprland.homeManagerModules.default {
+          wayland.windowManager.hyprland.enable = true;
+        }
       ];
     };
   };