mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: SSH CA
This commit is contained in:
parent
a28e1ce6e2
commit
ccf6a6f704
23 changed files with 678 additions and 431 deletions
|
|
@ -1,5 +1,16 @@
|
|||
_: {
|
||||
{ pkgs, ... }: {
|
||||
nix.envVars = {
|
||||
"SSH_AUTH_SOCK" = "/Users/kat/.gnupg/S.gpg-agent.ssh";
|
||||
};
|
||||
|
||||
launchd.daemons.start_nixos_native = {
|
||||
serviceConfig.ProgramArguments = [
|
||||
"/bin/sh" "-c"
|
||||
"/bin/wait4path /nix/store && ${pkgs.writeScript "start_nixos_native" ''
|
||||
/usr/bin/open "utm://start?name=NixOS Native"
|
||||
''}"
|
||||
];
|
||||
serviceConfig.Label = "org.kittywitch.start_nixos_native";
|
||||
serviceConfig.RunAtLoad = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue