nixos/services/desktop/i3.nix

29 lines
503 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
pkgs,
...
}:
with lib;
mkIf (elem "desktop::i3" config.machine.services) {
services.xserver = {
enable = true;
windowManager.i3 = {
enable = true;
configFile = import ../../config/etc/i3/config.nix { inherit pkgs; };
extraPackages = with pkgs; [
dmenu
file
i3lock
i3status
xdg-user-dirs
];
};
};
machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
py3status
pytz
tzlocal
];
}