me like nix
1{ ... }: {
2 flake.modules.nixos.nix-settings = {
3 nix.settings.experimental-features = [
4 "nix-command"
5 "flakes"
6 ];
7 nix.settings.download-buffer-size = 268435456;
8
9 # nixos-raspberrypi binary cache (pull + push)
10 nix.settings.extra-substituters = [ "https://nixos-raspberrypi.cachix.org" ];
11 nix.settings.extra-trusted-public-keys = [ "nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI=" ];
12 nix.settings.trusted-users = [
13 "root"
14 "sean"
15 ];
16
17 nixpkgs.config.allowUnfree = true;
18 };
19}