Kieran's opinionated (and probably slightly dumb) nix config
1{
2 pkgs,
3 inputs,
4 system,
5 ...
6}:
7{
8 imports = [
9 (inputs.import-tree ../../modules/home)
10 ];
11
12 nixpkgs.enable = true;
13
14 home = {
15 username = "pi";
16 homeDirectory = "/home/pi";
17
18 packages = with pkgs; [
19 inputs.nixvim.packages.${system}.default
20
21 # languages
22 go
23 gopls
24 gotools
25 go-tools
26
27 # my apps
28 inputs.ctfd-alerts.packages.${system}.default
29
30 # Fonts
31 fira
32 fira-code
33 fira-code-symbols
34 noto-fonts
35 noto-fonts-cjk-sans
36 noto-fonts-emoji
37 liberation_ttf
38 comic-neue
39
40 # Nerd Fonts (individual packages)
41 nerd-fonts.fira-code
42 nerd-fonts.jetbrains-mono
43 nerd-fonts.ubuntu-mono
44 ];
45 };
46
47 atelier = {
48 shell.enable = true;
49 theming.enable = true;
50 };
51
52 fonts.fontconfig.enable = true;
53
54 # Enable home-manager
55 programs.home-manager.enable = true;
56
57 # Nicely reload system units when changing configs
58 systemd.user.startServices = "sd-switch";
59
60 # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
61 home.stateVersion = "23.05";
62
63 home.file.".config/openbox/lxde-pi-rc.xml".source = ../../dots/lxde-pi-rc.xml;
64}