Bruno BELANYI
26950332c7
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This deserves to be its own standalone module, as I would want to use it in both X and Wayland, etc...
18 lines
277 B
Nix
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
|
|
];
|
|
};
|
|
}
|