nix-config/home/x/default.nix
Bruno BELANYI 9e6bc604f3 home: x: add 'xsel' package
I like it better than 'xclip'.
2021-05-16 00:03:59 +02:00

23 lines
333 B
Nix

{ config, lib, pkgs, ... }:
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;
home.packages = with pkgs; [
xsel
];
};
}