mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
19 lines
475 B
Nix
19 lines
475 B
Nix
{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"
|
|
''}"
|
|
];
|
|
Label = "org.kittywitch.start_nixos_native";
|
|
RunAtLoad = true;
|
|
};
|
|
};
|
|
}
|