base: remove nixpkgs from closure of non-interactive systems
This commit is contained in:
parent
71e92dd437
commit
192734c323
3 changed files with 7 additions and 6 deletions
|
@ -16,10 +16,6 @@ in
|
|||
|
||||
time.timeZone = mkDefault "Europe/Berlin";
|
||||
|
||||
nix.nixPath = lib.mapAttrsToList (name: value: "${name}=${value}") inputs;
|
||||
nix.registry = lib.mapAttrs' (name: value: lib.nameValuePair name { flake = value; }) inputs;
|
||||
nix.settings.flake-registry = "${config.dadada.inputs.flake-registry}/flake-registry.json";
|
||||
|
||||
nix.settings.substituters = [ https://cache.nixos.org/ ];
|
||||
|
||||
nix.settings.trusted-public-keys = [
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
, ...
|
||||
}:
|
||||
let
|
||||
inputs = config.dadada.inputs;
|
||||
secretsPath = config.dadada.secrets.path;
|
||||
in
|
||||
with lib; {
|
||||
|
@ -19,6 +20,10 @@ with lib; {
|
|||
programs.ssh.enableAskPassword = true;
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
nix.nixPath = lib.mapAttrsToList (name: value: "${name}=${value}") inputs;
|
||||
nix.registry = lib.mapAttrs' (name: value: lib.nameValuePair name { flake = value; }) inputs;
|
||||
nix.settings.flake-registry = "${config.dadada.inputs.flake-registry}/flake-registry.json";
|
||||
|
||||
age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
fonts.packages = mkDefault (with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue