mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-03-18 03:51:26 -04:00
Get some home configurations going on
This commit is contained in:
parent
86c1af2c53
commit
0844c862e6
7 changed files with 262 additions and 22 deletions
18
modules/hypr/default.nix
Normal file
18
modules/hypr/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ inputs, pkgs, lib, config, ...}: {
|
||||
imports = [./waybar.nix];
|
||||
|
||||
options.hypr.enable = lib.mkEnableOption "enables hyprland";
|
||||
|
||||
config = lib.mkIf config.hypr.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue