{ config, pkgs, ... }: { home.username = "{{ctx.username}}"; home.homeDirectory = "{{dirs.home}}"; home.stateVersion = "23.11"; home.packages = [ # START silo {{#each cfg.packages}} pkgs.{{this}} {{/each}} {{#each cfg.modules}} {{#if this.enabled}} # {{@key}} packages {{#each this.packages}} pkgs.{{{this}}} {{/each}} {{/if}} {{/each}} # END ]; fonts.fontconfig.enable = true; # Let Home Manager install and manage itself. programs = { home-manager.enable = true; {{#if-installed direnv}} direnv = { enable = true; nix-direnv.enable = true; }; {{/if-installed}} }; }