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,9 +1,11 @@
|
|||
{
|
||||
flake.modules.darwin.graphical.homebrew =
|
||||
{ config, ... }:
|
||||
let
|
||||
cfg = config.flake;
|
||||
in
|
||||
{
|
||||
flake.modules.darwin.graphical.homebrew = {
|
||||
enable = true;
|
||||
primaryUser = config.home.username;
|
||||
primaryUser = cfg.admin.username;
|
||||
onActivation.cleanup = "uninstall";
|
||||
casks = [ "ghostty" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue