nix-config/modules/home/x/default.nix
Bruno BELANYI 26950332c7
All checks were successful
ci/woodpecker/push/check Pipeline was successful
home: keyboard: extract from X module
This deserves to be its own standalone module, as I would want to use it
in both X and Wayland, etc...
2023-12-23 14:56:55 +01:00

18 lines
277 B
Nix

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