up
This commit is contained in:
@@ -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" '
|
||||||
|
|||||||
@@ -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}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
{
|
{
|
||||||
agenix,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
../../profiles/base
|
../../profiles/base
|
||||||
../../profiles/darwin
|
../../profiles/darwin
|
||||||
|
|||||||
@@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user