blob: 087415cc66f93e6328cc72d7c17be98642c02ee9 (
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
|
# let
# nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.11";
# pkgs = import nixpkgs { config = {}; overlays = []; };
# in
# {
# i3-commands = pkgs.callPackage ./i3-commands.nix { };
# }
{
config,
pkgs,
...
} : {
imports = [
../polybar
../rofi
../kitty
../picom
];
xsession.enable = true;
xsession.windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
};
xdg.configFile."i3/config".enable = false;
home.file.".config/i3/config" = {
source = ./config;
onChange = "${pkgs.i3-gaps}/bin/i3-msg restart";
};
home.packages = with pkgs; [
i3lock
xss-lock
networkmanagerapplet
flameshot
picom
nitrogen
pamixer
(pkgs.callPackage ./i3-commands.nix { })
];
}
|