nix: flatten nixosModule implementation

This commit is contained in:
Primrose 2024-11-14 19:02:53 +01:00
parent 59ab652d82
commit e1c2e28442
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
15 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ pkgs, lib, ... }:
{
nix = {
package = lib.mkDefault pkgs.nixVersions.nix_2_22;
settings = {
extra-substituters = [
"https://nix-community.cachix.org"
"https://leana8959.cachix.org"
];
extra-trusted-substituters = [
"https://nix-community.cachix.org"
"https://leana8959.cachix.org"
];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
];
experimental-features = [
"nix-command"
"flakes"
];
allow-import-from-derivation = true;
sandbox = true;
};
};
}