2021-05-12 21:36:30 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2021-04-02 20:46:45 +02:00
|
|
|
let
|
|
|
|
cfg = config.my.home.x;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
2021-09-25 15:29:30 +02:00
|
|
|
./keyboard
|
2021-04-02 20:46:45 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
options.my.home.x = with lib; {
|
|
|
|
enable = mkEnableOption "X server configuration";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
xsession.enable = true;
|
2021-05-12 21:36:30 +02:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
xsel
|
|
|
|
];
|
2021-04-02 20:46:45 +02:00
|
|
|
};
|
|
|
|
}
|