blob: c262a4c797b393061e657300175aab71153e9af3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ inputs, config, ... }:
let
hm = config.flake.modules.homeManager;
in
{
flake.modules.homeManager.i3 =
{
config,
pkgs,
...
}:
{
imports = [
hm.polybar
hm.rofi
hm.kitty
hm.picom
];
xsession.enable = true;
xsession.windowManager.i3 = {
enable = true;
package = pkgs.i3;
};
xdg.configFile."i3/config".enable = false;
home.file.".config/i3/config" = {
source = ./config;
onChange = "${pkgs.i3}/bin/i3-msg restart";
};
home.packages = with pkgs; [
i3lock
xss-lock
networkmanagerapplet
flameshot
picom
nitrogen
pamixer
inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.i3-commands
inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.rofi-passmenu
];
};
}
|