2023-09-09 22:50:25 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2019-05-04 13:47:21 +02:00
|
|
|
|
2023-09-09 22:50:25 +02:00
|
|
|
with lib;
|
2019-05-04 13:47:21 +02:00
|
|
|
|
2023-09-09 22:50:25 +02:00
|
|
|
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.python310Packages; [ py3status pytz tzlocal ];
|
2019-05-04 13:47:21 +02:00
|
|
|
}
|