mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
Remove unsafe config check
This commit is contained in:
parent
8b7c488869
commit
333417627f
1 changed files with 9 additions and 12 deletions
|
|
@ -1,18 +1,15 @@
|
||||||
{ inputs, pkgs, lib, config, ...}: {
|
{ inputs, pkgs, lib, config, ...}: {
|
||||||
imports = [./waybar.nix];
|
|
||||||
|
|
||||||
options.hypr.enable = lib.mkEnableOption "enables hyprland";
|
options.hypr.enable = lib.mkEnableOption "enables hyprland";
|
||||||
|
|
||||||
config = lib.mkIf config.hypr.enable {
|
config.programs.hyprland = lib.mkIf config.hypr.enable {
|
||||||
programs.hyprland = {
|
enable = true;
|
||||||
enable = true;
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||||
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
environment.sessionVariables = {
|
config.environment.sessionVariables = lib.mkIf config.hypr.enable {
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue