Commit graph

2320 commits

Author SHA1 Message Date
Malo Bourgon
cbe4a600d4
modules/homebrew: add homebrew.goPackages option
Add support for `go "pkg"` entries in the generated Brewfile. Homebrew
Bundle supports installing Go packages via `go install`; the `go`
formula is automatically installed if not already present.
2026-02-10 09:24:17 -08:00
Malo Bourgon
c65c24c87c
modules/homebrew: add postinstall option for brews and casks
Both `brew bundle` formula and cask installers support a `postinstall`
option -- a shell command to run after the package is installed or
upgraded. The command only executes when the package actually changed,
not on every `brew bundle` run.

Examples from the Homebrew docs added to the `homebrew.brews` and
`homebrew.casks` option examples and tests.
2026-02-10 09:22:16 -08:00
Malo Bourgon
a3fd89f1bb
modules/homebrew: add link: :overwrite support
Homebrew supports `link: :overwrite` which runs `brew link --overwrite`,
force-overwriting existing symlinks. Extract the existing
`restart_service` special-case logic into a reusable helper
(`mkBrewfileLineBoolOrSymbolString`) for options that can be either a
bool or a Ruby symbol in the Brewfile.
2026-02-10 09:22:15 -08:00
Malo Bourgon
36815b4852
modules/homebrew: add restart_service "always" support
Homebrew supports restart_service: :always which restarts the service
on every brew bundle run, even if the formula wasn't changed.
2026-02-10 09:22:15 -08:00
Michael Hoang
7c952d9a52
Add support for installing vscode extensions via brew (#1222) 2026-02-10 15:13:34 +00:00
Frank Chiarulli Jr.
fdbfb1dc1b add support for installing vscode extensions via brew 2026-02-09 21:59:25 -05:00
Sam
0d7874ef7e
modules/homebrew: remove duplicates from brewfile (#1689) 2026-02-04 05:49:06 +00:00
Josh Gibbs
53dd29f381
remove duplicates from brewfile 2026-02-03 21:22:21 -08:00
Sam
0fc4e7ac67
networking: add dhcpClientId option to set DHCP Client ID (#1562)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2026-01-18 19:31:43 +00:00
Ihar Hrachyshka
05a5979906 networking: add dhcpClientId option to set DHCP Client ID 2026-01-18 14:10:56 -05:00
Michael Hoang
8b720b9662
programs/direnv: add enable[shell]Integration options (#1680)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2026-01-16 11:11:07 +00:00
Radek Pietruszewski
6d323f4ffd
programs/direnv: add enable*Integration options
Ability to disable shell hook is needed to use alternative shell hooks - e.g. direnv-instant. These options mirror NixOS's exactly.
2026-01-16 10:14:43 +01:00
Michael Hoang
7b1d394e7d
feat(screencapture): add save-selections (#1677) 2026-01-12 12:21:49 +00:00
vaaski
48124872b6
fix(screencapture): move test location 2026-01-10 23:37:15 +01:00
Michael Hoang
9f48ffaca1
Add flake-parts module (#1670)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2026-01-06 16:55:03 +00:00
Manuel Mendez
3ab1648f50 Add flake-parts module 2026-01-06 10:20:38 -05:00
vaaski
e5e7b6e878
feat(screencapture): add save-selections 2026-01-06 15:41:11 +01:00
Sam
c31afa6e76
fix(modules): fixed typos in various modules (#1672)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-12-29 17:10:40 +00:00
Nikita Lenyk
8cecf9c5c5 fix(modules): fixed typos in various modules 2025-12-29 18:31:13 +02:00
Michael Hoang
f0c8e1f6fe
feat(gnupg): add configurable package option and install it (#1667) 2025-12-26 21:26:36 +00:00
Angel J
d70b24c2a8
test(gnupg): add tests for gnupg agent configuration
Signed-off-by: Angel J <78835633+Iamanaws@users.noreply.github.com>
2025-12-26 07:44:43 -08:00
angel
0b53d57d3a
feat(gnupg): add configurable package option and install it
Signed-off-by: Angel J <78835633+Iamanaws@users.noreply.github.com>
2025-12-26 07:42:37 -08:00
Sam
c2b36207f2
readme: recommend only the Lix installer (#1659)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-12-23 21:20:13 +00:00
Sam
eb05ef6d65
readme: recommend only the Lix installer 2025-12-23 15:57:16 -05:00
Michael Hoang
adc6bed3ad
modules/examples/lnl: drop qes (#1666) 2025-12-23 20:15:52 +00:00
Sam
c496b15409
modules/examples/lnl: drop qes
See:
- https://github.com/NixOS/nixpkgs/issues/371202
- https://github.com/NixOS/nixpkgs/pull/473109
- https://github.com/astratagem/dotfield/issues/1
- https://github.com/asmvik/skhd/issues/44

Looks like it was merged into skhd pre-2020 and was only in nixpkgs in a
cached state. Based on that last link the cached version may not even
work on newer versions of macOS?

Regardless, this is causing tests to fail.
2025-12-23 14:09:41 -05:00
Michael Hoang
5fb45ece61
Update nixpkgs (#1658) 2025-12-18 06:13:12 +00:00
Hleb Shauchenka
bfe00257dc
Update nixpkgs 2025-12-17 15:48:28 +01:00
Michael Hoang
9b628e171b
github-runner: fix authentication with actions/checkout@v6 (#1655) 2025-12-14 03:47:29 +00:00
Louis Opter
a58dd30d2b
github-runner: canonicalizes workDir to fix actions/checkout@v6
We ran into this issue wherein GitHub's `actions/checkout` would fail
because `git-config` would fail to include additional configuration.

The symptom was:

```
Error: fatal: could not read Username for 'https://github.com': terminal prompts disabled
```

And is caused by `git config --local includeIf.gitdir:/var/lib/github-runners/_work/…`.

Wherein `git` apparently resolves (canonicalizes) the current repository
path which then does not match the argument for `includeIf.gitdir` which
then means the configuration that `actions/checkout` is trying to apply
does not get pulled in, which then prevents git from authenticating with
GitHub and fails the build.

Ngl, gemini 3 found that out for me.

We could prefix `/private` everywhere, but changing the user's home
directory is going to [be tricky], not sure what do to about that.

[be tricky]: 7e22bf538a/modules/users/default.nix (L208)
2025-12-12 20:52:37 +00:00
Louis Opter
8393ede275
github-runner: fix warnings from nixd" 2025-12-12 20:52:33 +00:00
Sam
7e22bf538a
version: bump to 26.05 (#1649) 2025-12-06 23:50:51 +00:00
Sam
000ec99b5a
version: bump to 26.05 2025-11-30 21:11:37 -07:00
Michael Hoang
e95de00a47
fold -> foldr (#1646)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-11-26 12:44:44 +00:00
zowoq
36fed93cf5 fold -> foldr
deprecated in f4d36941eb
2025-11-26 19:41:19 +10:00
Sam
3bda9f6b14
zsh: allow configuring history (#1635)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-11-18 22:37:57 +00:00
Michael Hoang
c00da4e0a4
readme: update determinate installer instructions (#1642) 2025-11-18 19:02:47 +00:00
Sam
e9bf5c5232
readme: update determinate installer instructions
The `--prefer-upstream-nix` flag is only guaranteed to be supported
until January 1st, but what's described now doesn't work at all, so this
is still an improvement.
2025-11-18 08:43:48 -07:00
Michael Hoang
973db96394
applications: change pathsToLink to a list (#1636) 2025-11-14 16:13:24 +00:00
zowoq
31e3a75444 applications: change pathsToLink to a list
fbe214434a
2025-11-14 09:54:32 +10:00
Bryan Lai
454d8d95c6 zsh: allow configuring history 2025-11-13 14:54:56 +08:00
Bryan Lai
7d5e904fb2 chore: ignore .DS_Store 2025-11-13 14:39:29 +08:00
Sam
5125a3cd41
fix: zsh-fast-syntax-highlighting path (#1624)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled
2025-11-08 18:51:26 +00:00
Michael Hoang
e2b82ebd0f
Add system.defaults.finder._FXEnableColumnAutoSizing (#1626) 2025-11-07 07:42:06 +00:00
Yiyu Zhou
7451154694 Add system.defaults.finder._FXEnableColumnAutoSizing 2025-11-06 14:29:09 -08:00
XYenon
54802bec7c fix: zsh-fast-syntax-highlighting path
https://github.com/NixOS/nixpkgs/pull/101007
2025-11-05 15:41:07 +08:00
Michael Hoang
b8c7ac0302
Adapt to a Vim package rename/replacement in Nixpkgs (#1623) 2025-11-05 01:01:20 +00:00
Josh Tilles
89abe5ba46 Adapt to a vim pkg rename/replacement in Nixpkgs
Addresses an error like the following:
```sh-session
$ sudo darwin-rebuild --verbose --print-build-logs switch
building the system configuration...
fetching git input 'git+file:///private/etc/nix-darwin'
error:
       … while evaluating an expression to select 'drvPath' on it
         at «internal»:1:552:
       … while evaluating strict
         at «internal»:1:552:
       (stack trace truncated; use '--show-trace' to show the full trace)

       error: 'vim_configurable' has been renamed to/replaced by 'vim-full'
```

See <853d9f31ea>

Fixes nix-darwin/nix-darwin#1622
2025-11-04 17:31:53 -05:00
Michael Hoang
69921864a7
dnsmasq: make the daemon wait for the nix store to be mounted (#1620) 2025-11-03 16:12:48 +00:00
Wigger Boelens
682de76b1e
dnsmasq: make the daemon wait for the nix store to be mounted
This resolves the issue of the daemon not starting because the nix store is not yet mounted

Signed-off-by: Wigger Boelens <me@wigger.email>
2025-11-03 15:54:39 +01:00