diff options
| author | Kleidi Bujari <mail@4kb.net> | 2026-10-24 22:52:35 -0700 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2026-10-24 22:59:09 -0700 |
| commit | 48c8a4145c5a73874797a6de3f05ce584b1d1798 (patch) | |
| tree | bd4c627e8c8944fb7082b7a9982e8d3677c2a2c4 /modules/xnet/default.nix | |
| parent | 1a181be93f37a94b347b2f5f97a1fef57e11cf89 (diff) | |
| parent | 27db59cac4f3c3e7a1e4187a5f56d4ec61895c5a (diff) | |
| download | depot-48c8a4145c5a73874797a6de3f05ce584b1d1798.tar.gz depot-48c8a4145c5a73874797a6de3f05ce584b1d1798.tar.bz2 depot-48c8a4145c5a73874797a6de3f05ce584b1d1798.zip | |
Diffstat (limited to 'modules/xnet/default.nix')
| -rw-r--r-- | modules/xnet/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/modules/xnet/default.nix b/modules/xnet/default.nix index 28edf60..020accb 100644 --- a/modules/xnet/default.nix +++ b/modules/xnet/default.nix @@ -2,8 +2,6 @@ pkgs, lib, config, - flake, - inputs, ... }: let @@ -47,14 +45,15 @@ in time.timeZone = mkDefault "US/Pacific"; nix = { - nixPath = mkForce [ "nixpkgs=${inputs.nixpkgs}" ]; 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 @@ -64,10 +63,7 @@ in automatic = true; options = mkDefault "--delete-older-than 30d"; }; - registry = { - nixpkgs.flake = inputs.nixpkgs; - depot.flake = flake; - }; + registry.nixpkgs.flake.outPath = pkgs.path; }; documentation = { @@ -104,6 +100,9 @@ in "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFmWInQNT6EoU1NtUYzTs5jtpfbO/m6yvCckOiEGjvDc"; }; extraConfig = '' + Host * + SetEnv TERM=xterm-256color + Host github HostName github.com User git @@ -122,6 +121,11 @@ in Host ee HostName pascal.ee.ryerson.ca User kbujari + + Host src + HostName src.web.4kb.net + User git + PreferredAuthentications publickey ''; }; |
