mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
25 lines
543 B
Nix
25 lines
543 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
options.myConfig.de.qtile.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.de.qtile.enable {
|
|
services.xserver = {
|
|
enable = true;
|
|
|
|
windowManager.qtile.enable = true;
|
|
desktopManager.wallpaper.mode = "fill";
|
|
};
|
|
|
|
myConfig.x-input.enable = true;
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
|
config.common.default = "*";
|
|
};
|
|
};
|
|
}
|