darwin: adjust nix config
This commit is contained in:
parent
9b4377762a
commit
6157eabfb8
5 changed files with 11 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
||||||
secrets = {
|
secrets = {
|
||||||
nix-netrc = {
|
nix-netrc = {
|
||||||
file = ../all/nix/netrc.age;
|
file = ../all/nix/netrc.age;
|
||||||
path = "/etc/nix/netrc";
|
|
||||||
mode = "444";
|
mode = "444";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
secrets = {
|
secrets = {
|
||||||
nix-netrc = {
|
nix-netrc = {
|
||||||
file = ../all/nix/netrc.age;
|
file = ../all/nix/netrc.age;
|
||||||
path = "/etc/nix/netrc";
|
|
||||||
mode = "444";
|
mode = "444";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ in
|
||||||
hexyl
|
hexyl
|
||||||
hyperfine
|
hyperfine
|
||||||
just
|
just
|
||||||
lnav
|
#lnav
|
||||||
mtr
|
mtr
|
||||||
nix-tree
|
nix-tree
|
||||||
nix-update
|
nix-update
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
homeDir = "/Users/daniel";
|
homeDir = "/Users/daniel";
|
||||||
in
|
in
|
||||||
|
@ -28,6 +30,7 @@ in
|
||||||
keep-outputs = true;
|
keep-outputs = true;
|
||||||
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
||||||
|
|
||||||
|
always-allow-substitutes = true;
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
|
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
|
@ -46,6 +49,8 @@ in
|
||||||
"pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc="
|
"pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc="
|
||||||
];
|
];
|
||||||
|
|
||||||
|
netrc-file = config.age.secrets.nix-netrc.path;
|
||||||
|
|
||||||
trusted-users = [ "@admin" ];
|
trusted-users = [ "@admin" ];
|
||||||
|
|
||||||
connect-timeout = 5;
|
connect-timeout = 5;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
homeDir = "/Users/daniel";
|
homeDir = "/Users/daniel";
|
||||||
in
|
in
|
||||||
|
@ -29,6 +31,7 @@ in
|
||||||
keep-outputs = true;
|
keep-outputs = true;
|
||||||
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
||||||
|
|
||||||
|
always-allow-substitutes = true;
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
|
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
|
@ -54,6 +57,8 @@ in
|
||||||
"devshells:YXtbU0DheB229oCr2D0H0qHjj2Ed/e2VZiLSXgQ1IVA="
|
"devshells:YXtbU0DheB229oCr2D0H0qHjj2Ed/e2VZiLSXgQ1IVA="
|
||||||
];
|
];
|
||||||
|
|
||||||
|
netrc-file = config.age.secrets.nix-netrc.path;
|
||||||
|
|
||||||
trusted-users = [ "@admin" ];
|
trusted-users = [ "@admin" ];
|
||||||
|
|
||||||
connect-timeout = 5;
|
connect-timeout = 5;
|
||||||
|
|
Loading…
Reference in a new issue