my system configurations ^-^
1{
2 inputs,
3 pkgs,
4 osConfig,
5 lib,
6 ...
7}: let
8 inherit (lib) optionals concatLists;
9 cfg = osConfig.settings.programs;
10in {
11 imports = [
12 ./beets.nix
13 ./direnv.nix
14 ./hyfetch.nix
15 ./nushell.nix
16 ];
17 config = lib.mkIf cfg.cli.enable {
18 home.packages = with pkgs;
19 with inputs;
20 concatLists [
21 (optionals cfg.categories.tools.enable [
22 brightnessctl
23 ddcutil
24 grim
25 killall
26 playerctl
27 slurp
28 wl-clipboard
29 ])
30 (optionals cfg.categories.dev.enable [
31 # nix
32 nix-output-monitor
33 ])
34 ];
35 };
36}