add hyprland module ready for configuration

This commit is contained in:
Gabriella Bere 2024-08-21 11:15:31 +01:00
parent 55f7db0e89
commit c35e614993

View file

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