forked from mirrors_public/oddlama_nix-config
feat: implement repository-wide secrets
This commit is contained in:
parent
efa04063e6
commit
b03c913349
9 changed files with 130 additions and 8 deletions
|
@ -77,12 +77,6 @@ in {
|
|||
|
||||
users.mutableUsers = false;
|
||||
|
||||
# Setup to use Secrets
|
||||
rekey.forceRekeyOnSystem = "x86_64-linux";
|
||||
rekey.hostPubkey = ../../secrets/pubkeys + "/${config.networking.hostName}.pub";
|
||||
rekey.masterIdentities = [../../secrets/yk1-nix-rage.pub];
|
||||
rekey.extraEncryptionPubkeys = [../../secrets/backup.pub];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{pkgs, ...}: {
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
|
@ -23,6 +23,8 @@
|
|||
builders-use-substitutes = true
|
||||
experimental-features = nix-command flakes recursive-nix
|
||||
flake-registry = /etc/nix/registry.json
|
||||
plugin-files = ${pkgs.nix-plugins}/lib/nix/plugins
|
||||
extra-builtins-file = ${../../nix/extra-builtins.nix}
|
||||
'';
|
||||
optimise.automatic = true;
|
||||
gc.automatic = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue