mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat: manage homebrew with nix-darwin
This commit is contained in:
parent
97a380f28d
commit
acecbf8139
2 changed files with 36 additions and 15 deletions
21
system.nix
21
system.nix
|
|
@ -111,6 +111,27 @@
|
|||
end
|
||||
'';
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
caskArgs.require_sha = true;
|
||||
onActivation = {
|
||||
autoUpdate = true;
|
||||
cleanup = "uninstall";
|
||||
upgrade = true;
|
||||
};
|
||||
|
||||
casks = let
|
||||
noQuarantine = name: {
|
||||
inherit name;
|
||||
args = {no_quarantine = true;};
|
||||
};
|
||||
in [
|
||||
"blackhole-16ch"
|
||||
(noQuarantine "eloston-chromium")
|
||||
"sf-symbols"
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue