2021-04-02 20:46:45 +02:00
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.my.home.x;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
2021-05-06 12:38:42 +02:00
|
|
|
./cursor.nix
|
2021-04-02 20:46:45 +02:00
|
|
|
./keyboard.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
options.my.home.x = with lib; {
|
|
|
|
enable = mkEnableOption "X server configuration";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
xsession.enable = true;
|
|
|
|
};
|
|
|
|
}
|