41 current 2025-04-30 02:52:21 25.05.20250424.f771eb4 6.12.24 *
This commit is contained in:
@@ -41,12 +41,13 @@
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
'';
|
||||
|
||||
# recall agenix secrets cannot be used at eval time, so we must do this trash
|
||||
# like what the fuck? I spent 4 hours figuring this out. will i ever reach nix nirvana?
|
||||
initExtra = ''
|
||||
${builtins.readFile ./zshrc}
|
||||
if [ -f "${osConfig.age.secrets.zsh_remote.path}" ]; then
|
||||
source "${osConfig.age.secrets.zsh_remote.path}"
|
||||
fi
|
||||
'';
|
||||
# initExtra = builtins.readFile ./zshrc;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,10 +48,16 @@ in {
|
||||
};
|
||||
|
||||
res = "1366x768";
|
||||
age.secrets.zsh_remote.file = ../../secrets/zsh_remote.age;
|
||||
age.secretsDir = "/home/synchronous/.agenix/agenix";
|
||||
age.secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
|
||||
age.identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
|
||||
age = {
|
||||
secrets.zsh_remote = {
|
||||
file = ../../secrets/zsh_remote.age;
|
||||
owner = "synchronous";
|
||||
mode = "0400";
|
||||
};
|
||||
secretsDir = "/home/synchronous/.agenix/agenix";
|
||||
secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
|
||||
identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
|
||||
};
|
||||
|
||||
# config = {
|
||||
# res = "1366x768";
|
||||
|
||||
Reference in New Issue
Block a user