mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix: flatten homeModule implementation
This commit is contained in:
parent
8bfdb84f43
commit
8ad54af27b
18 changed files with 0 additions and 0 deletions
37
nix/homeModules/common/user-nixconf.nix
Normal file
37
nix/homeModules/common/user-nixconf.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
nix = {
|
||||
package = lib.mkForce pkgs.nixVersions.nix_2_23;
|
||||
|
||||
settings = {
|
||||
allow-import-from-derivation = "true";
|
||||
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"
|
||||
];
|
||||
};
|
||||
|
||||
registry.flakies = {
|
||||
from.id = "flakies";
|
||||
from.type = "indirect";
|
||||
to.type = "git";
|
||||
to.url = "https://git.earth2077.fr/leana/flakies";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue