about summary refs log tree commit diff
path: root/modules/nixos/wayland.nix
blob: b64ab32880ce5cf7c664b0930fcd4a4e06065f54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  config,
  lib,
  pkgs,
  ...
}:
with lib; let
  cfg = config.nixfiles.modules.wayland;
in {
  options.nixfiles.modules.wayland.enable = mkEnableOption "Wayland";

  config = mkIf cfg.enable {
    hm.home.packages = with pkgs; [wl-clipboard];
  };
}

Consider giving Nix/NixOS a try! <3