initial commit
This commit is contained in:
commit
813b424831
13 changed files with 171 additions and 0 deletions
16
modules/graphical.nix
Normal file
16
modules/graphical.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{config, pkgs, lib, ...}:
|
||||
|
||||
let
|
||||
cfg = config.modules.graphical;
|
||||
in
|
||||
|
||||
{
|
||||
options = {
|
||||
modules.graphical.enable = lib.mkEnableOption "Enable the GUI";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.niri.enable = true;
|
||||
services.displayManager.ly.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue