1
0
Fork 0

darwin: adjust nix config

This commit is contained in:
Daniel Kempkens 2024-12-06 11:48:08 +01:00
parent 9b4377762a
commit 6157eabfb8
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 11 additions and 3 deletions

View file

@ -5,7 +5,6 @@
secrets = {
nix-netrc = {
file = ../all/nix/netrc.age;
path = "/etc/nix/netrc";
mode = "444";
};

View file

@ -5,7 +5,6 @@
secrets = {
nix-netrc = {
file = ../all/nix/netrc.age;
path = "/etc/nix/netrc";
mode = "444";
};

View file

@ -66,7 +66,7 @@ in
hexyl
hyperfine
just
lnav
#lnav
mtr
nix-tree
nix-update

View file

@ -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;

View file

@ -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;