Michael Hoang
98e7dba872
Merge pull request #909 from motheki/fast-syntax-highlighting-support
...
Add support for zsh-fast-syntax-highlighting
2024-11-06 07:31:39 +00:00
Trevor Opiyo
48e5c8de1a
Update modules/programs/zsh/default.nix
...
Changes added by Enzime
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-11-06 01:10:24 -06:00
Trevor Opiyo
897fc37c47
Update default.nix
...
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-11-05 08:16:35 -06:00
Emily
0e3f3f017c
Merge pull request #1146 from emilazy/push-ylsrzmyxtlor
...
prometheus-node-exporter: fix log permissions
2024-11-05 04:09:18 +00:00
Emily
84d14d4043
prometheus-node-exporter: fix log permissions
...
The daemon won’t start as the assigned user doesn’t have
permissions to create the log file.
2024-11-05 03:00:55 +00:00
Michael Hoang
2f05a81019
Merge pull request #1145 from qowoz/shellcheck-timezone
...
time: shellcheck fix
2024-11-05 01:54:14 +00:00
zowoq
6ff3a49ceb
time: shellcheck fix
...
https://www.shellcheck.net/wiki/SC2143
2024-11-05 11:12:21 +10:00
Michael Hoang
5d89120785
Merge pull request #1144 from Enzime/push-mkkptszzrnys
...
ci: switch to `macos-13`
2024-11-05 00:11:47 +00:00
Michael Hoang
07db4e57d3
ci: switch to macos-13
...
The `macos-12` runner image will be removed by 3 Dec 2024.
2024-11-05 10:41:56 +11:00
Emily
189d2d422c
Merge pull request #1129 from mweinelt/node-exporter
...
module: add prometheus-node-exporter service
2024-11-04 05:40:01 +00:00
Michael Hoang
4652874d01
Merge pull request #1138 from Enzime/push-trqkuxxuyztn
...
fix: submodules not working with Nix 2.24
2024-11-03 02:14:38 +00:00
Michael Hoang
53b9de4d6c
ci: remove tests to ensure submodules work
2024-11-03 12:56:25 +11:00
Michael Hoang
1d8c91b40e
darwin-rebuild: do not resolve flake path
...
Backport of c274d045ac
Fixes #549
2024-11-03 12:56:25 +11:00
Michael Hoang
406cb56d06
Back out "Add support for submodules in flakes"
...
This backs out commit 5452c8c638
.
2024-11-03 12:56:25 +11:00
Michael Hoang
146629a543
Merge pull request #1125 from aschleck/new-window-path
...
Configure the folder that new Finder windows open
2024-11-03 10:19:55 +11:00
Michael Hoang
446e1ef8e1
Merge pull request #1130 from aschleck/fn-key
...
Allow configuring the fn key action
2024-11-03 10:17:21 +11:00
Emily
f203352cc0
Merge pull request #1135 from Enzime/push-lxwqqpssklyn
...
environment: remove misleading `environment.loginShell` option
2024-11-02 22:23:10 +00:00
April Schleck
21809c4261
Allow configuring the fn key action
2024-11-02 09:04:53 -07:00
April Schleck
0dacfdea63
Configure the folder that new Finder windows open
2024-11-02 08:53:08 -07:00
Emily
e56d80b283
Merge pull request #1136 from Enzime/push-znntomztlvku
...
users: don't check home directory is correct before creating user
2024-11-02 15:15:43 +00:00
Michael Hoang
318df382e6
users: don't check home directory is correct before creating user
2024-11-02 10:33:31 +11:00
Michael Hoang
683d0c4cd1
Merge pull request #1133 from bew/patch-1
...
karabiner-elements: allow use of custom package
2024-11-01 19:07:54 +11:00
Emily
8dbda1064b
Merge pull request #1134 from Enzime/push-ynpwzrxomtxw
...
zsh: enable by default as zsh is the default shell on macOS
2024-10-31 17:30:35 +00:00
Benoît de Chezelles
331fd8d3b5
karabiner-elements: allow use of custom package
2024-10-31 16:51:05 +01:00
Michael Hoang
63f4d40e55
tmux: remove programs.tmux.defaultCommand
2024-10-31 16:00:03 +11:00
Michael Hoang
1588cb2e99
environment: remove misleading environment.loginShell
option
2024-10-31 16:00:03 +11:00
Michael Hoang
470f87c182
zsh: enable by default as zsh is the default shell on macOS
...
Historically this was a footgun because users would not always have this
enabled leading to `darwin-rebuild` and other programs not being found.
2024-10-31 15:09:11 +11:00
Martin Weinelt
6c8d45fb20
module: add prometheus-node-exporter service
2024-10-31 02:08:34 +01:00
Michael Hoang
b379bd4d87
Merge pull request #1124 from SuperSandro2000/cleanup
...
Cleanup release.nix
2024-10-29 17:44:39 +11:00
Sandro Jäckel
6eea6b4a75
Reuse nixpkgs instead of accessing channel
...
This fixes pure evaluation in flakes
2024-10-29 16:18:04 +11:00
Emily
a55c84e06f
Merge pull request #1128 from Enzime/push-yxyppuxmyunx
...
users: remove `users.forceRecreate` option
2024-10-29 01:38:20 +00:00
Michael Hoang
f380194f3d
users: create users with home directory /var/empty
by default
2024-10-28 11:05:35 +11:00
Michael Hoang
c908607e8a
users: remove users.forceRecreate
option
2024-10-28 11:01:14 +11:00
Michael Hoang
a15a3d9f1f
users: fix unclosed string
2024-10-28 10:51:09 +11:00
Michael Hoang
5c0c6aaa79
Merge pull request #1120 from Enzime/push-ltvtsllrqvqy
...
users: update properties for known users
2024-10-28 10:08:11 +11:00
Michael Hoang
febc3b3f51
users: remove with lib;
2024-10-28 00:38:39 +11:00
Michael Hoang
32f0cf2140
users: replace FDA check with more fine grained permissions check
2024-10-28 00:38:39 +11:00
Michael Hoang
9cd3976486
users: ensure all users' home directories in the config are correct
2024-10-27 21:52:41 +11:00
Michael Hoang
55be3e1a5f
users: move checks to system.checks
2024-10-27 21:52:41 +11:00
Michael Hoang
dc6f754fe5
users: allow shell
to be managed by macOS
2024-10-27 21:52:41 +11:00
Michael Hoang
3712ff78cc
users: change default shell to /usr/bin/false
to match macOS
2024-10-27 21:26:19 +11:00
Michael Hoang
bd161d61d6
users: allow home
to be managed by macOS
2024-10-27 21:26:19 +11:00
Michael Hoang
c9af5c2d13
users: update properties on known users
2024-10-27 21:26:19 +11:00
Michael Hoang
13816f682d
tests: fix old test getting messed up in refactor
...
2788e4fa98 (diff-0642dcb4e551dcf07032904ee7f6b7ea645db36939f159908ccb2b85a2bbd1b8L53)
2024-10-27 21:26:19 +11:00
Michael Hoang
fd6660cb91
tests: fix negative asserts with grep
not working
...
Using `grep -v` without `-z` will return 0 even if there is a match
found as all the non-matching lines will be matched. Instead of using
`grep -vqz`, `(! grep ...)` is more readable.
The brackets are necessary as `! grep` will not trigger `set -e`[0], so we
run it inside a subshell to use its non-zero exit code.
[0]: https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#The-Set-Builtin
2024-10-27 21:26:19 +11:00
Michael Hoang
2eb472230a
Merge pull request #1126 from booxter/emacs-keepalive
...
Add keepalive flag for emacs service
2024-10-27 09:35:30 +11:00
Ihar Hrachyshka
445c6bfc65
Add keepalive flag for emacs service
2024-10-26 13:05:25 -04:00
Michael Hoang
7840909b00
Merge pull request #1115 from PhilipBorgesen/align_usage
...
darwin-rebuild: Align usage description with implementation
2024-10-25 14:25:25 +11:00
Philip Børgesen
c98bb238b1
darwin-rebuild: Align usage description with implementation
...
This change updates the usage description of darwin-rebuild.sh as
follows:
* Add options:
--print-build-logs / -L
--no-registries
--commit-lock-file
--no-write-lock-file
--override-input
* Specify that --no-flake and the flake related options are
mutually exclusive.
* Specify that --keep-going and -k are aliases.
* Specify that --keep-failed and -K are aliases.
* Correct the description of --update-input; only one value follows.
The --no-build-hook argument remains undocumented, like for nix.
2024-10-25 05:07:51 +02:00
Michael Hoang
8c675759e9
Merge pull request #813 from PhilipBorgesen/power-related-options
...
Power related options (sleep, wake-on-lan, restart after power failure, ...)
2024-10-25 13:01:10 +11:00