1{
2 config,
3 nixosConfig,
4 pkgs,
5 lib,
6 tlib,
7 ...
8}:
9let
10 l = lib;
11in
12{
13 imports = [
14 ../wayland
15 ../wlsunset
16 ../mako
17 ../tofi
18 ];
19
20 home.packages = with pkgs; [niri xwayland-satellite brightnessctl swaybg];
21 xdg.configFile."niri/config.kdl".text =
22 let
23 replace = {
24 wallpaper = toString ../../mayer/wallpaper.png;
25 };
26 in
27 l.replaceStrings
28 (l.map (n: "%%${n}%%") (l.attrNames replace))
29 (l.attrValues replace)
30 (l.fileContents ./config.kdl);
31}