refactor(nix): allow for host specific homebrew setups

This commit is contained in:
Stefan Imhoff
2024-06-30 08:47:06 +02:00
parent ff5f89dd03
commit 98ed207c77
4 changed files with 15 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{ pkgs, config, ... }:
{
homebrew = import ./homebrew.nix // { enable = true; };
homebrew = import ./homebrew-common.nix;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;

View File

@@ -0,0 +1,9 @@
{
enable = true;
# TODO: Activate after migration is complete
# onActivation.cleanup = "uninstall";
taps = [ ];
brews = [ ];
casks = [ "raycast" ];
masApps = { };
}

View File

@@ -9,4 +9,6 @@
name = "kogakure";
home = "/Users/kogakure";
};
homebrew = import ./homebrew.nix;
}

View File

@@ -3,6 +3,8 @@
# onActivation.cleanup = "uninstall";
taps = [ ];
brews = [ ];
casks = [ "raycast" ];
casks = [
"webtorrent"
];
masApps = { };
}