wip on wayland

main
Ingolf Wagner 2024-05-03 23:43:26 +02:00
parent 4b10d4a813
commit 43127e2660
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
3 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,13 @@
{ config, pkgs, lib, ... }:
with lib;
{
options.components.gui.wayland.enable = mkOption {
type = lib.types.bool;
default = ! config.components.gui.xorg.enable;
};
config = mkIf config.components.gui.wayland.enable {
programs.hyprland.enable = true;
};
}

View File

@ -4,7 +4,13 @@ with lib;
imports = [ ./xlock.nix ];
config = mkIf config.components.gui.enable {
options.components.gui.xorg.enable = mkOption {
type = lib.types.bool;
default = config.components.gui.enable;
};
config = mkIf config.components.gui.xorg.enable {
# system.custom.fonts.enable = true;

View File

@ -11,7 +11,7 @@ let
in
{
config = mkIf config.components.gui.enable {
config = mkIf config.components.gui.xorg.enable {
environment.systemPackages = [
lockProgram
(pkgs.makeDesktopItem {