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
|
[[ ! -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 = ''
|
initExtra = ''
|
||||||
${builtins.readFile ./zshrc}
|
${builtins.readFile ./zshrc}
|
||||||
if [ -f "${osConfig.age.secrets.zsh_remote.path}" ]; then
|
if [ -f "${osConfig.age.secrets.zsh_remote.path}" ]; then
|
||||||
source "${osConfig.age.secrets.zsh_remote.path}"
|
source "${osConfig.age.secrets.zsh_remote.path}"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
# initExtra = builtins.readFile ./zshrc;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,10 +48,16 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
res = "1366x768";
|
res = "1366x768";
|
||||||
age.secrets.zsh_remote.file = ../../secrets/zsh_remote.age;
|
age = {
|
||||||
age.secretsDir = "/home/synchronous/.agenix/agenix";
|
secrets.zsh_remote = {
|
||||||
age.secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
|
file = ../../secrets/zsh_remote.age;
|
||||||
age.identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
|
owner = "synchronous";
|
||||||
|
mode = "0400";
|
||||||
|
};
|
||||||
|
secretsDir = "/home/synchronous/.agenix/agenix";
|
||||||
|
secretsMountPoint = "/home/synchronous/.agenix/agenix.d";
|
||||||
|
identityPaths = ["/home/synchronous/.ssh/id_ed25519"];
|
||||||
|
};
|
||||||
|
|
||||||
# config = {
|
# config = {
|
||||||
# res = "1366x768";
|
# res = "1366x768";
|
||||||
|
|||||||
Reference in New Issue
Block a user