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 = { secrets = {
nix-netrc = { nix-netrc = {
file = ../all/nix/netrc.age; file = ../all/nix/netrc.age;
path = "/etc/nix/netrc";
mode = "444"; mode = "444";
}; };

View file

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

View file

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

View file

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

View file

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