mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix!: refactored homeModules
This commit is contained in:
parent
1c48edddf4
commit
e9f8ccd2b3
50 changed files with 14 additions and 41 deletions
37
nix/homeModules/common/user-nixconf/default.nix
Normal file
37
nix/homeModules/common/user-nixconf/default.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