add some initial stuff

This commit is contained in:
Lucy Hochkamp 2025-03-15 15:45:30 +01:00
commit 62df62c3aa
No known key found for this signature in database
23 changed files with 2101 additions and 0 deletions

22
modules/presets/gui.nix Normal file
View file

@ -0,0 +1,22 @@
{
pkgs,
config,
lib,
...
}:
let
cfg = config.xyno.presets.gui;
in
{
options.xyno.presets.gui.enable = lib.mkEnableOption "enables xynos gui config";
config = cfg.enable {
xyno.desktop.niri.enable = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services.displayManager.defaultSession = "niri";
services.displayManager.sddm = {
settings.General.DisplayServer = "wayland";
enable = true;
wayland.enable = true;
};
};
}