nix-config/modules/home/x/default.nix
Bruno BELANYI 65a8f7c481 home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the
top-level directory.
2023-11-11 18:12:05 +00:00

22 lines
312 B
Nix

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