You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
home.username = "{{ctx.username}}";
|
|
|
|
home.homeDirectory = "{{dirs.home}}";
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
|
|
|
|
news.display = "show";
|
|
|
|
|
|
|
|
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}}
|
|
|
|
};
|
|
|
|
}
|