~sumner/nixos-configuration

6fcb74ee2aab76d46d6ab5fbb0b5cfeaed989668 — Sumner Evans 4 months ago 154b039
sway: cleanup module
1 files changed, 2 insertions(+), 9 deletions(-)

M modules/services/gui/sway.nix
M modules/services/gui/sway.nix => modules/services/gui/sway.nix +2 -9
@@ 4,17 4,10 @@
  rev = "master"; # 'rev' could be a git rev, to pin the overlay.
  url = "https://github.com/nix-community/nixpkgs-wayland/archive/${rev}.tar.gz";
  waylandOverlay = (import "${builtins.fetchTarball url}/overlay.nix");

  # TODO: https://github.com/nix-community/nixpkgs-wayland#nvidia-users
  waylandOverlayEgl = (import "${builtins.fetchTarball url}/overlay-egl.nix");
in
{
  options = {
    wayland.enable = mkOption {
      type = types.bool;
      description = "Enable the wayland stack";
      default = false;
    };
  options.wayland = {
    enable = mkEnableOption "the wayland stack";
  };

  config = mkIf cfg.enable {