all repos — nixfiles @ 3f6be3b842d2c5172c79f3603f74afa23990cbce

System and user configuration, managed by nix and home-manager

user/nanopi.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, ... }:
{
  imports = [
    ./modules/tabnine.nix
    ./settings/base.nix
    ./settings/development/base.nix
    ./settings/git.nix
    ./settings/nix.nix
    ./settings/nixos.nix
    ./settings/music-management.nix
    ./settings/zsh.nix
  ];
  home = {
    username = "alan";
    homeDirectory = "/home/alan";
    stateVersion = "22.11";
  };
  # home-manager complains when setting nix.conf otherwise
  nix.package = pkgs.nix;
  nix.settings = {
    max-jobs = 4;
    experimental-features = "nix-command flakes";
  };
}