mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
Combine config sections
This commit is contained in:
parent
4e4ad2e7a8
commit
f865c8a586
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{ inputs, pkgs, lib, config, ...}: {
|
||||
|
||||
options.hyprland.enable = lib.mkEnableOption "enables hyprland";
|
||||
options.hypr.enable = lib.mkEnableOption "enables hypr";
|
||||
|
||||
|
|
@ -10,7 +9,7 @@
|
|||
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
xserver = lib.mkIf config.hypr.enable {
|
||||
services.xserver = lib.mkIf config.hypr.enable {
|
||||
enable = true;
|
||||
windowManager.hypr = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue