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; + } ]; }; };