nixos/services/desktop/i3.nix

25 lines
521 B
Nix
Raw Normal View History

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