Pin flakes registry
This commit is contained in:
parent
e3f3b47602
commit
78439054dd
2 changed files with 10 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ nixpkgs, ... }:
|
inputs@{ nixpkgs, ... }:
|
||||||
{
|
{
|
||||||
nixosConfigurations = (
|
nixosConfigurations = (
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{ pkgs, lib, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [ /etc/nixos/hardware-configuration.nix ];
|
imports = [ /etc/nixos/hardware-configuration.nix ];
|
||||||
|
|
||||||
|
@ -142,6 +147,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
registry = {
|
||||||
|
nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue