nix-config/modules/home/x/default.nix

18 lines
277 B
Nix
Raw Permalink Normal View History

{ config, lib, pkgs, ... }:
2021-04-02 20:46:45 +02:00
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
];
2021-04-02 20:46:45 +02:00
};
}