yep, more dotfiles
1{
2 # Provides the NixOS configuration if HM was loaded through the NixOS module
3 osConfig ? null
4, ...
5}:
6
7{
8 imports = [
9 ./agenix.nix
10 ./aws.nix
11 ./chromium.nix
12 ./compose-key.nix
13 ./epita.nix
14 ./firefox.nix
15 ./foot.nix
16 ./git.nix
17 ./helix.nix
18 ./imv.nix
19 ./jujutsu.nix
20 ./kitty.nix
21 ./launcher.nix
22 ./rust.nix
23 ./shell.nix
24 ./stylix.nix
25 ./swaybar.nix
26 ./sway.nix
27 ./thunderbird.nix
28 ./tools.nix
29 ./vscodium.nix
30 ./waybar.nix
31 ./xdg-mime.nix
32 ./zellij
33 ];
34
35 config = {
36 programs.home-manager.enable = osConfig == null;
37
38 home.stateVersion =
39 if osConfig != null
40 then osConfig.system.stateVersion
41 else "24.05";
42
43 # Reload system units when switching config
44 systemd.user.startServices = "sd-switch";
45 };
46}