mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Update nix
This commit is contained in:
parent
ae89fe77ca
commit
600496e419
4 changed files with 253 additions and 252 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.mods.desktop;
|
||||
in {
|
||||
imports = [
|
||||
|
|
@ -17,11 +20,14 @@ in {
|
|||
mods.xorg.enable = true;
|
||||
mods.sound.enable = true;
|
||||
mods.desktop.wayland.enable = lib.mkDefault false;
|
||||
programs.hyprland = if cfg.wayland.enable then {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
} else {
|
||||
enable = false;
|
||||
};
|
||||
programs.hyprland =
|
||||
if cfg.wayland.enable
|
||||
then {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
}
|
||||
else {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue