This commit is contained in:
2025-08-11 19:09:19 +00:00
parent b23ee7ffb0
commit cea09283d2
4 changed files with 41 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ _prompt() {
} }
insert_secrets_output() { insert_secrets_output() {
local pattern="outputs = { self, darwin, nix-homebrew, homebrew-bundle, homebrew-core, homebrew-cask, home-manager, nixpkgs, disko, agenix } @inputs:" local pattern="outputs = { self, darwin, nix-homebrew, homebrew-bundle, homebrew-core, homebrew-cask, home-manager, nixpkgs, agenix } @inputs:"
local insert_text="secrets " local insert_text="secrets "
awk -v pat="$pattern" -v insert="$insert_text" ' awk -v pat="$pattern" -v insert="$insert_text" '

View File

@@ -78,7 +78,6 @@
inherit user hostname; inherit user hostname;
}; };
modules = [ modules = [
inputs.disko.nixosModules.disko
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
./hosts/nixos/${hostname} ./hosts/nixos/${hostname}
]; ];

View File

@@ -1,10 +1,4 @@
{ {
agenix,
config,
pkgs,
lib,
...
}: {
imports = [ imports = [
../../profiles/base ../../profiles/base
../../profiles/darwin ../../profiles/darwin

View File

@@ -69,4 +69,44 @@
]; ];
}; };
}; };
launchd.agents = {
pbcopy = {
enable = true;
config = {
Label = "localhost.pbcopy";
ProgramArguments = [ "/usr/bin/pbcopy" ];
KeepAlive = {
Crashed = true;
SuccessfulExit = false;
};
ProcessType = "Background";
inetdCompatibility = { Wait = false; };
Sockets = {
Listener = {
SockServiceName = "2224";
SockNodeName = "127.0.0.1";
};
};
};
};
pbpaste = {
enable = true;
config = {
Label = "localhost.pbpaste";
ProgramArguments = [ "/usr/bin/pbpaste" ];
KeepAlive = {
Crashed = true;
SuccessfulExit = false;
};
ProcessType = "Background";
inetdCompatibility = { Wait = false; };
Sockets = {
Listener = {
SockServiceName = "2225";
SockNodeName = "127.0.0.1";
};
};
};
};
} }