DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 16e98fb6baf7bf428b03065c8a0299a7fb1e9563 nix-arta/modules/nixos/nix.nix -rw-r--r-- 748 bytes
16e98fb6Jonni Liljamo feat: flake inputs 7 days ago
                                                                                
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
{
  flake.modules.nixos.nix = {...}: {
    nix = {
      gc = {
        automatic = true;
        dates = "weekly";
        options = "--delete-older-than 7d";
      };
      settings = {
        auto-optimise-store = true;
        experimental-features = ["nix-command" "flakes"];
        trusted-users = ["@wheel"];
        trusted-substituters = [
          "https://cache.hydra.lab.liljamo.com"
          "https://hyprland.cachix.org"
        ];
        trusted-public-keys = [
          "hydracache:gJygjf4gFURF0LZhKosqLyFW4PG/EMgJSaAbaCnsOEA="
          "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
        ];
      };
    };

    programs.nh = {
      enable = true;
      flake = "$HOME/dev/nix-arta";
    };
  };
}