nix-config/home/x/default.nix

18 lines
258 B
Nix

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