fix(darwin): Use flake.admin.username for homebrew primaryUser
This commit is contained in:
parent
cf6917e56d
commit
3d64bf5a6e
1 changed files with 10 additions and 8 deletions
|
@ -1,10 +1,12 @@
|
||||||
|
{ config, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.flake;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
flake.modules.darwin.graphical.homebrew =
|
flake.modules.darwin.graphical.homebrew = {
|
||||||
{ config, ... }:
|
enable = true;
|
||||||
{
|
primaryUser = cfg.admin.username;
|
||||||
enable = true;
|
onActivation.cleanup = "uninstall";
|
||||||
primaryUser = config.home.username;
|
casks = [ "ghostty" ];
|
||||||
onActivation.cleanup = "uninstall";
|
};
|
||||||
casks = [ "ghostty" ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue