diff options
Diffstat (limited to 'modules/xnet')
| -rw-r--r-- | modules/xnet/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/xnet/default.nix b/modules/xnet/default.nix index 67bbbe5..415fc0b 100644 --- a/modules/xnet/default.nix +++ b/modules/xnet/default.nix @@ -45,14 +45,15 @@ in time.timeZone = mkDefault "US/Pacific"; nix = { - nixPath = mkForce [ "nixpkgs=${pkgs.path}" ]; settings = { auto-optimise-store = true; + nix-path = mkForce [ "nixpkgs=${pkgs.path}" ]; experimental-features = [ "nix-command" "flakes" "pipe-operators" ]; + warn-dirty = false; # timeout fast from binary cache @@ -62,7 +63,7 @@ in automatic = true; options = mkDefault "--delete-older-than 30d"; }; - # registry.nixpkgs.flake = pkgs.path; + registry.nixpkgs.flake.outPath = "path:${pkgs.path}"; }; documentation = { @@ -99,6 +100,9 @@ in "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFmWInQNT6EoU1NtUYzTs5jtpfbO/m6yvCckOiEGjvDc"; }; extraConfig = '' + Host * + SetEnv TERM=xterm-256color + Host github HostName github.com User git |
