From f65b217a928456e175d321f58768a0ff8f8da3d5 Mon Sep 17 00:00:00 2001 From: oddlama Date: Mon, 22 May 2023 23:53:45 +0200 Subject: [PATCH] feat: change passwords and hide new hashes --- README.md | 9 +++++---- hosts/common/core/issue.nix | 1 + secrets/global.nix.age | Bin 477 -> 770 bytes users/myuser/default.nix | 4 ++-- users/root/default.nix | 6 +++++- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0f961b8..526062c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ This is my personal nix config. - `hardware/` configuration for various hardware components - `.nix` commonly required configuration for `` - `/` configuration for `` + - `[microvms/]` configuration for microvms. This is optional even for existing microvms, since they can also be defined in-place. - `secrets/` Local secrets for this host. Still theoretically accessible by other hosts, but owned by this one. - `local.nix.age` Repository-wide local secrets. Decrypted on import via `builtins.extraBuiltins.rageImportEncrypted`. - `[host.pub]` This host's public key. Used for agenix rekeying if it exists. @@ -102,10 +103,10 @@ all commands using these extra parameters, or permanently add the following the 2. Run all commands with `--option plugin-files "$NIX_PLUGINS"/lib/nix/plugins --option extra-builtins-file ./nix/extra-builtins.nix` or permantently - ```ini - plugin-files = /lib/nix/plugins - extra-builtins-file = /path/to/nix-config/nix/extra-builtins.nix - ``` + ```ini + plugin-files = /lib/nix/plugins + extra-builtins-file = /path/to/nix-config/nix/extra-builtins.nix + ``` ## Misc diff --git a/hosts/common/core/issue.nix b/hosts/common/core/issue.nix index d089afa..ba51081 100644 --- a/hosts/common/core/issue.nix +++ b/hosts/common/core/issue.nix @@ -1,4 +1,5 @@ let + # IP addresses: ${"${interface} \e{halfbright}\4{${interface}}\e{reset} \e{halfbright}\6{${interface}}\e{reset}"} issue_text = '' \d \t This is \e{cyan}\n\e{reset} [\e{lightblue}\l\e{reset}] (\s \m \r) diff --git a/secrets/global.nix.age b/secrets/global.nix.age index 9cce0ec177c54ce6176e36bc2ced7fbf30a34ffb..34c4d440f533a7c26150d6d6b028635ea2e4b0ae 100644 GIT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