diff options
| author | Kleidi Bujari <mail@4kb.net> | 2025-07-04 13:07:33 -0400 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2025-07-04 13:07:33 -0400 |
| commit | 97c67006ac6ddfc888de854b88922838c1262276 (patch) | |
| tree | 6d66194bef5d98d0c2d6cbf5750d6405721aaf0b /modules/xnet/default.nix | |
| parent | 4993aa9ea9c6375e2eca0b43323bbc9a3936fc99 (diff) | |
| download | depot-97c67006ac6ddfc888de854b88922838c1262276.tar.gz depot-97c67006ac6ddfc888de854b88922838c1262276.tar.bz2 depot-97c67006ac6ddfc888de854b88922838c1262276.zip | |
pull desktop from xnet and fix nix cli nixpkgs pin
Diffstat (limited to 'modules/xnet/default.nix')
| -rw-r--r-- | modules/xnet/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/xnet/default.nix b/modules/xnet/default.nix index 9d224cf..0664575 100644 --- a/modules/xnet/default.nix +++ b/modules/xnet/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, ... }: +{ pkgs, lib, config, flake, inputs, ... }: let inherit (builtins) fetchurl @@ -8,6 +8,7 @@ let inherit (lib) mkDefault + mkForce mkOption types splitString @@ -27,7 +28,7 @@ in ./net ./desktop ./gitserver - ./monitoring + # ./monitoring ]; options.xnet = { @@ -45,9 +46,10 @@ in boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; nix = { + nixPath = mkForce [ "nixpkgs=${inputs.nixpkgs}" ]; settings = { auto-optimise-store = true; - experimental-features = [ "nix-command" "flakes" ]; + experimental-features = [ "nix-command" "flakes" "pipe-operators" ]; warn-dirty = false; # timeout fast from binary cache @@ -57,6 +59,10 @@ in automatic = true; options = mkDefault "--delete-older-than 30d"; }; + registry = { + nixpkgs.flake = inputs.nixpkgs; + depot.flake = flake; + }; }; documentation = { |
