This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
home.nix.tmpl
36 lines (35 loc) · 1.21 KB
/
home.nix.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ config, pkgs, misc, ... }: {
# DO NOT EDIT: This file is managed by fleek. Manual changes will be overwritten.
nixpkgs = {
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
{{ if .Config.Unfree }}
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = (_: true);
{{ end }}
{{ if .Config.AllowBroken }}
allowBroken = true;
{{ end }}
};
};
{{ if not .Config.Ejected }}
# managed by fleek, modify ~/.fleek.yml to change installed packages
{{ end }}
# packages are just installed (no configuration applied)
# programs are installed and configuration applied to dotfiles
home.packages = [
# user selected packages
{{- range .Config.Packages }}
pkgs.{{ . }}{{ end }}
# Fleek Bling
{{- range $p, $pkg := .Bling.FinalPackages .Config }}
pkgs.{{ $pkg }}{{ end }}
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
];
fonts.fontconfig.enable = true;
home.stateVersion =
"22.11"; # To figure this out (in-case it changes) you can comment out the line and see what version it expected.
programs.home-manager.enable = true;
}