Michael Hoang
2af06b0862
examples: clean up
2024-11-07 15:26:53 +11:00
Michael Hoang
c13549d7a6
examples: drop ofborg
example
...
We decided to drop this example as the package is not available in
Nixpkgs and we won't be able to import it easily and keep this example
evaluating as a useful smoke test. The code in this example is already
documented under `services.ofborg.*` so any interested users can still
find out how to set up `ofborg`.
2024-11-07 15:24:16 +11:00
Michael Hoang
569153467b
ofborg: automatically add ofborg
to known{Users,Groups}
2024-11-07 11:41:51 +11:00
Michael Hoang
dd48cbd776
examples: fix evaluation
2024-11-07 11:41:51 +11:00
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
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
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
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
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
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
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
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
Ihar Hrachyshka
445c6bfc65
Add keepalive flag for emacs service
2024-10-26 13:05:25 -04: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
Emily
04193f188e
Merge pull request #1118 from Enzime/push-zvvxxryylwxt
...
users: ensure users' shells are installed
2024-10-24 09:05:00 +01:00
Michael Hoang
a5d770b257
Merge pull request #1117 from Enzime/push-owuqqzqkrnpn
...
users: prevent deleting the user calling `darwin-rebuild`
2024-10-24 18:51:17 +11:00
Michael Hoang
b089e7e726
users: switch back to using dscl
for deleting users
...
The previous default behaviour when nix-darwin deletes users is that
their home directories are left intact, however as the `-keepHome` flag
for `sysadminctl -deleteUser` is broken, we'll need to switch back for
now.
2024-10-24 18:33:05 +11:00
Philip Børgesen
f737259769
power,sleep: Add options to control restart and sleep behavior
2024-10-24 06:13:11 +02:00
Philip Børgesen
5907cbbb31
networking: Add wakeOnLan option
2024-10-24 06:13:07 +02:00
Michael Hoang
b702750226
users: ensure Full Disk Access is granted before trying to create users
2024-10-24 14:33:16 +11:00
Michael Hoang
2be05de06e
users: add missing newlines for FDA prompt
2024-10-24 14:33:02 +11:00
Michael Hoang
467a0d3d0c
users: prevent deleting the user calling darwin-rebuild
...
`sysadminctl -deleteUser` will only prevent you from deleting the
current user if it's not the last admin and not the last secure token
user, otherwise it will happily oblige.
2024-10-24 14:33:02 +11:00
Michael Hoang
bbe1917238
users: ensure users' shells are installed
2024-10-24 14:18:31 +11:00
Michael Hoang
5f05c2c3d2
Merge pull request #1106 from NickHu/aerospace
...
module: add aerospace service
2024-10-24 10:50:04 +11:00
Michael Hoang
8c02940d70
users: ensure Full Disk Access is granted before trying to delete users
2024-10-23 01:29:01 +11:00
Michael Hoang
0a686597fa
users: don't allow name
to be empty
2024-10-22 22:54:04 +11:00
Michael Hoang
11c777c719
users: change default description
to null
2024-10-22 22:54:04 +11:00
Michael Hoang
ac7932f9de
users: use lib.escapeShellArg
for group description
2024-10-22 19:43:18 +11:00