Pin NIX_PATH, nixpkgs flake

This commit is contained in:
Sandro - 2023-02-01 01:27:35 +01:00
parent 3e28b93011
commit 97a2d97047
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 13 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, zentralwerk, ... }:
{ config, inputs, lib, pkgs, zentralwerk, ... }:
# this file contains default configuration that may be turned on depending on other config settings.
# options should go to modules.
@ -71,6 +71,12 @@
options = "--delete-older-than 21d";
randomizedDelaySec = "6h";
};
nixPath = [
"nixpkgs=${builtins.unsafeDiscardStringContext inputs.nixos}"
"nixos=${builtins.unsafeDiscardStringContext inputs.nixos}"
"nixos-config=/you/shall/deploy/from/the/flake"
];
registry.nixpkgs.flake = inputs.nixos;
settings = {
builders-use-substitutes = true; # TODO: move
connect-timeout = 20;

View File

@ -356,11 +356,11 @@
},
"nixos": {
"locked": {
"lastModified": 1675111798,
"narHash": "sha256-di8ZRfbUT+DGBaIXJHSpyjQRkR0DAe/C79c3WvaLrt4=",
"lastModified": 1675200355,
"narHash": "sha256-TJWs5sOwfqK+9Yq15RBIeozVMRnqYSqCRBhfnn+w30M=",
"owner": "SuperSandro2000",
"repo": "nixpkgs",
"rev": "3dd783a9a59d3da0d55b7b96e515e58891a3ad95",
"rev": "09e91f75f780359921c20c3cee408123db79fb97",
"type": "github"
},
"original": {
@ -408,11 +408,11 @@
]
},
"locked": {
"lastModified": 1675199377,
"narHash": "sha256-Bk59zSy/lH0Gtp5vErhnktWVWGx9UVRINem2ephxMFE=",
"lastModified": 1675210774,
"narHash": "sha256-qhrDfDV/D0VsOHGskqOAhUxCTwPFIPgWIG/ASGLZMws=",
"owner": "SuperSandro2000",
"repo": "nixos-modules",
"rev": "e59b245ffa3d0578561a081c1cdad34f2cd67cd1",
"rev": "f0501fae1643407e2344a952055c61831c204030",
"type": "github"
},
"original": {