add some initial stuff
This commit is contained in:
commit
62df62c3aa
23 changed files with 2101 additions and 0 deletions
22
modules/presets/gui.nix
Normal file
22
modules/presets/gui.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue