mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 21:46:12 +01:00
29 lines
680 B
Nix
Executable File
29 lines
680 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
|
|
];
|
|
};
|
|
}
|