mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
19 lines
332 B
Nix
19 lines
332 B
Nix
{ config, pkgs, lib, ... }:
|
|
let
|
|
cfg = config.luj.i3;
|
|
in with lib;
|
|
{
|
|
options.luj.i3 = {
|
|
enable = mkEnableOption "activate i3";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
xsession.windowManager.i3 = {
|
|
enable = true;
|
|
package = pkgs.i3-gaps;
|
|
};
|
|
|
|
xdg.configFile."i3/config".source = lib.mkForce ./config;
|
|
|
|
};
|
|
}
|