summaryrefslogtreecommitdiff
path: root/modules/xnet
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-09-01 13:09:24 -0700
committerKleidi Bujari <mail@4kb.net>2026-09-01 13:09:24 -0700
commit2454b38c235d710550cf9968c9e0d190d4cd01bc (patch)
tree552ffdfb9a17dbdc0b8d1a6c08b6f860b92666fd /modules/xnet
parent68d01fdea7f2052f629cb55bacc3a221d1bb61ea (diff)
downloaddepot-2454b38c235d710550cf9968c9e0d190d4cd01bc.tar.gz
depot-2454b38c235d710550cf9968c9e0d190d4cd01bc.tar.bz2
depot-2454b38c235d710550cf9968c9e0d190d4cd01bc.zip
[nixos/xnet] remove inputs dependency from xnetHEADmaster
inputs is inherently a flake feature and pkgs.path works just as well.
Diffstat (limited to 'modules/xnet')
-rw-r--r--modules/xnet/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/xnet/default.nix b/modules/xnet/default.nix
index 28edf60..e646c02 100644
--- a/modules/xnet/default.nix
+++ b/modules/xnet/default.nix
@@ -3,7 +3,6 @@
lib,
config,
flake,
- inputs,
...
}:
let
@@ -47,7 +46,7 @@ in
time.timeZone = mkDefault "US/Pacific";
nix = {
- nixPath = mkForce [ "nixpkgs=${inputs.nixpkgs}" ];
+ nixPath = mkForce [ "nixpkgs=${pkgs.path}" ];
settings = {
auto-optimise-store = true;
experimental-features = [
@@ -65,7 +64,7 @@ in
options = mkDefault "--delete-older-than 30d";
};
registry = {
- nixpkgs.flake = inputs.nixpkgs;
+ nixpkgs.flake = pkgs.path;
depot.flake = flake;
};
};