nix-config/home/x/default.nix
2021-05-10 00:31:01 +02:00

19 lines
275 B
Nix

{ config, lib, ... }:
let
cfg = config.my.home.x;
in
{
imports = [
./cursor.nix
./keyboard.nix
];
options.my.home.x = with lib; {
enable = mkEnableOption "X server configuration";
};
config = lib.mkIf cfg.enable {
xsession.enable = true;
};
}