aboutsummaryrefslogtreecommitdiff
path: root/share/system/common.nix
blob: ab2b6b486a6ff232fd5204ef63c68c19c4e03a1c (plain)
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
# Common system settings shared across every machine
# Used mostly for adding substituters and such
{ ... }:
{
  nix = {
    settings = {
      experimental-features = [
        "nix-command"
        "flakes"
      ];
      auto-optimise-store = true;
    };
    registry = {
      "templates" = {
        from = {
          type = "indirect";
          id = "templates";
        };
        to = {
          type = "git";
          url = "https://codeberg.org/miranb/nix-templates";
        };
      };
    };
  };
}