mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: use home-manager to generate nixConf
This commit is contained in:
parent
61337c950a
commit
ff0025f604
4 changed files with 9 additions and 3 deletions
|
|
@ -8,7 +8,6 @@
|
|||
allow-import-from-derivation = true
|
||||
sandbox = true
|
||||
'';
|
||||
package = pkgs.nixVersions.nix_2_21;
|
||||
};
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
nix.settings = {
|
||||
/*
|
||||
substituters can only be used by users that are trusted by nix -> nix trusts the user to do it right
|
||||
trusted-substituters can be used by any user -> nix trusts everything the substituter provides
|
||||
|
||||
"In addition, each store path should be trusted as described in trusted-public-keys"
|
||||
-> keys for everything
|
||||
*/
|
||||
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://leana8959.cachix.org"
|
||||
];
|
||||
|
||||
trusted-substituters = [
|
||||
"https://leana8959.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue