mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 12:56:12 +01:00
28 lines
676 B
Nix
Executable File
28 lines
676 B
Nix
Executable File
# Enable Qtile
|
|
{pkgs, ...}: {
|
|
# --------------------------------------
|
|
# Enable QTILE
|
|
# --------------------------------------
|
|
services.xserver.windowManager.qtile = {
|
|
enable = true;
|
|
configFile = /home/nel/dotfiles/qtile/config.py;
|
|
extraPackages = python3Packages: with python3Packages; [qtile-extras];
|
|
};
|
|
|
|
# --------------------------------------
|
|
# Necessary things
|
|
# --------------------------------------
|
|
environment.sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
config.common.default = "*";
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-wlr
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
};
|
|
}
|