feat: xsession

This commit is contained in:
punkfairie 2025-05-26 15:06:22 -07:00
parent f9f9abf279
commit badd1aa7ad
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
4 changed files with 18 additions and 30 deletions

View file

@ -1,6 +1,9 @@
{
imports = [
./stylix.nix
./xorg.nix
./gtk.nix
./qt.nix
];

View file

@ -0,0 +1,15 @@
{
lib,
config,
...
}: {
options.marleyos.xorg.enable = lib.mkEnableOption "xorg";
config = lib.mkIf config.marleyos.xorg.enable {
xsession = {
enable = true;
numlock.enable = true;
};
};
}

View file

@ -1,13 +0,0 @@
{
config,
lib,
...
}: let
cfg = config.marleyos.xorg;
in {
options.marleyos.xorg.enable = lib.mkEnableOption "xorg";
# config = lib.mkIf cfg.enable {
#
# };
}

View file

@ -1,17 +0,0 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.xorg.xsession;
in {
options.marleyos.xorg.xsession.enable = lib.mkEnableOption "xsession";
config = lib.mkIf cfg.enable {
xsession = {
enable = true;
numlock.enable = true;
};
};
}