mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
refactor(nix): allow for host specific homebrew setups
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
homebrew = import ./homebrew.nix // { enable = true; };
|
homebrew = import ./homebrew-common.nix;
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
# Auto upgrade nix package and the daemon service.
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
|||||||
9
nix/darwin/homebrew-common.nix
Normal file
9
nix/darwin/homebrew-common.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
# TODO: Activate after migration is complete
|
||||||
|
# onActivation.cleanup = "uninstall";
|
||||||
|
taps = [ ];
|
||||||
|
brews = [ ];
|
||||||
|
casks = [ "raycast" ];
|
||||||
|
masApps = { };
|
||||||
|
}
|
||||||
@@ -9,4 +9,6 @@
|
|||||||
name = "kogakure";
|
name = "kogakure";
|
||||||
home = "/Users/kogakure";
|
home = "/Users/kogakure";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
homebrew = import ./homebrew.nix;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
# onActivation.cleanup = "uninstall";
|
# onActivation.cleanup = "uninstall";
|
||||||
taps = [ ];
|
taps = [ ];
|
||||||
brews = [ ];
|
brews = [ ];
|
||||||
casks = [ "raycast" ];
|
casks = [
|
||||||
|
"webtorrent"
|
||||||
|
];
|
||||||
masApps = { };
|
masApps = { };
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user