feat: xsession
This commit is contained in:
parent
f9f9abf279
commit
badd1aa7ad
4 changed files with 18 additions and 30 deletions
|
@ -1,6 +1,9 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
|
||||||
|
./xorg.nix
|
||||||
|
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./qt.nix
|
./qt.nix
|
||||||
];
|
];
|
||||||
|
|
15
modules/home/shell/xorg.nix
Normal file
15
modules/home/shell/xorg.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
cfg = config.marleyos.xorg;
|
|
||||||
in {
|
|
||||||
options.marleyos.xorg.enable = lib.mkEnableOption "xorg";
|
|
||||||
|
|
||||||
# config = lib.mkIf cfg.enable {
|
|
||||||
#
|
|
||||||
# };
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue