nixos/programs/kiwmi: remove

Haven't used it and kiwmi doesn't build and get updated much.
This commit is contained in:
Gabriel Arazas 2024-01-20 17:18:11 +08:00
parent 72d2f095b5
commit 440b9fed2f
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 0 additions and 37 deletions

View File

@ -4,7 +4,6 @@
./programs/cardboard-wm.nix
./programs/distrobox.nix
./programs/gnome-session
./programs/kiwmi.nix
./programs/pop-launcher.nix
./programs/wezterm.nix
./services/archivebox.nix

View File

@ -1,36 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.programs.kiwmi;
package = cfg.package.override { extraOptions = cfg.extraOptions; };
in
{
options.programs.kiwmi = {
enable = lib.mkEnableOption "Kiwmi, a fully programmable Wayland compositor";
package = lib.mkOption {
description = "The package containing the {command}`kiwmi` and {command}`kiwmic`.";
type = lib.types.package;
default = pkgs.kiwmi;
};
extraOptions = lib.mkOption {
description = "Command line arguments passed to Kiwmi.";
type = with lib.types; listOf str;
default = [ ];
defaultText = "[ ]";
example = lib.literalExpression ''
[ "-c" "./config/kiwmi/init.lua" ]
'';
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ package ];
services.xserver.displayManager.sessionPackages = [ package ];
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
};
};
}