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 = {
|
||||
nix-netrc = {
|
||||
file = ../all/nix/netrc.age;
|
||||
path = "/etc/nix/netrc";
|
||||
mode = "444";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
secrets = {
|
||||
nix-netrc = {
|
||||
file = ../all/nix/netrc.age;
|
||||
path = "/etc/nix/netrc";
|
||||
mode = "444";
|
||||
};
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ in
|
|||
hexyl
|
||||
hyperfine
|
||||
just
|
||||
lnav
|
||||
#lnav
|
||||
mtr
|
||||
nix-tree
|
||||
nix-update
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{ config, ... }:
|
||||
|
||||
let
|
||||
homeDir = "/Users/daniel";
|
||||
in
|
||||
|
@ -28,6 +30,7 @@ in
|
|||
keep-outputs = true;
|
||||
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
||||
|
||||
always-allow-substitutes = true;
|
||||
builders-use-substitutes = true;
|
||||
|
||||
extra-substituters = [
|
||||
|
@ -46,6 +49,8 @@ in
|
|||
"pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc="
|
||||
];
|
||||
|
||||
netrc-file = config.age.secrets.nix-netrc.path;
|
||||
|
||||
trusted-users = [ "@admin" ];
|
||||
|
||||
connect-timeout = 5;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{ config, ... }:
|
||||
|
||||
let
|
||||
homeDir = "/Users/daniel";
|
||||
in
|
||||
|
@ -29,6 +31,7 @@ in
|
|||
keep-outputs = true;
|
||||
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
||||
|
||||
always-allow-substitutes = true;
|
||||
builders-use-substitutes = true;
|
||||
|
||||
extra-substituters = [
|
||||
|
@ -54,6 +57,8 @@ in
|
|||
"devshells:YXtbU0DheB229oCr2D0H0qHjj2Ed/e2VZiLSXgQ1IVA="
|
||||
];
|
||||
|
||||
netrc-file = config.age.secrets.nix-netrc.path;
|
||||
|
||||
trusted-users = [ "@admin" ];
|
||||
|
||||
connect-timeout = 5;
|
||||
|
|
Loading…
Reference in a new issue