common: nix-options: directly set flake-registry
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
1f851ab8b9
commit
92ff9a23cf
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
documentation = {
|
||||
|
@ -22,8 +22,7 @@
|
|||
log-lines = 32;
|
||||
# basically pwn-as-a-service
|
||||
accept-flake-config = false;
|
||||
# set by `nix.registry.nixpkgs.flake`
|
||||
flake-registry = "/etc/nix/registry.json";
|
||||
flake-registry = config.nix.registry.nixpkgs.flake;
|
||||
};
|
||||
|
||||
# Let <nixpkgs> be the used system packages, such that `nix-shell` can pick them up
|
||||
|
|
Loading…
Reference in a new issue