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

  config = mkIf cfg.enable {
    nixfiles.modules.foot.enable = true;

    hm.home.packages = with pkgs; [ wl-clipboard ];
  };
}

Consider giving Nix/NixOS a try! <3