mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:06:11 +01:00
28
hosts/modules/qtile.nix
Executable file
28
hosts/modules/qtile.nix
Executable file
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user