blob: 982aea1491bcd5e2b56818057493aaf6154aff2b (
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
42
43
44
45
46
47
48
49
|
{ inputs, config, ... }:
let
hm = config.flake.modules.homeManager;
in
{
flake.modules.homeManager.i3 =
# 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 = [
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
];
};
}
|