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
d99f9ae9fd
Merge pull request #1108 from Enzime/users
...
Use `sysadminctl` instead of `dscl`
2024-10-24 01:33:54 +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
9ee30f2534
darwin-rebuild: add comments explaining the custom sudo
logic
2024-10-23 01:11:40 +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
Emily
64d9d1ae25
Merge pull request #1112 from Enzime/push-wkxpqmxomwxp
...
ci: don't run tests twice for PRs from forks
2024-10-22 07:37:24 +01:00
Michael Hoang
c2224d0d1d
Merge pull request #1113 from Enzime/push-zoqltpyrrrnq
...
ci: update Nix to match versions in nixpkgs
2024-10-22 17:33:11 +11:00
Michael Hoang
ea7e178ad4
users: use lib.escapeShellArg
for createhomedir
2024-10-22 16:02:21 +11:00
Michael Hoang
8451125cf8
users: use lib.escapeShellArg
for dscl
paths
2024-10-22 16:02:21 +11:00
Michael Hoang
7a3ec6459c
networking: use lib.escapeShellArgs
instead of custom version
2024-10-22 16:02:21 +11:00
Michael Hoang
7bb6366f40
users: use lib.escapeShellArgs
instead of custom version
2024-10-22 16:02:21 +11:00
Michael Hoang
26f7e45fb1
users: use lib.escapeShellArgs
for sysadminctl -addUser
2024-10-22 16:02:21 +11:00
Michael Hoang
cb2e5fa6c5
users: use lib.escapeShellArg
for sysadminctl -deleteUser
2024-10-22 16:02:21 +11:00
Michael Hoang
9a6b12b9ef
users: use lib.escapeShellArg
for id -u
2024-10-22 16:02:21 +11:00
Michael Hoang
5b873c48ac
users: set default
for users.users.<user>.name
2024-10-22 16:02:21 +11:00
Andrew Lubawy
2788e4fa98
Use sysadminctl
instead of dscl
...
Co-authored-by: Michael Hoang <enzime@users.noreply.github.com>
2024-10-22 16:02:21 +11:00
Michael Hoang
cbb190eccb
ci: update Nix to match versions in nixpkgs
2024-10-22 14:56:25 +11:00
Michael Hoang
8724129dc8
ci: don't run tests twice for PRs from forks
...
By only triggering on pushes to `master`, when users push to
non-`master` branches on forks, this workflow won't get triggered and
will only get triggered when users make a PR to the main repo.
2024-10-22 14:35:08 +11:00
Michael Hoang
a001f44cfc
Merge pull request #992 from emmceemoore/software-update-fix
...
Use the correct file location for `SoftwareUpdate` plist.
2024-10-20 11:07:25 +11:00
Nick Hu
7ebf95a73e
style fixes
2024-10-19 10:49:55 +01:00
Nick Hu
72e93853c2
module: add aerospace service
2024-10-16 22:50:44 +01:00
Michael Hoang
a60ac02f94
Merge pull request #1104 from Enzime/skhd
...
skhd: add `skhd` to `PATH`
2024-10-14 21:25:30 +11:00
Michael Hoang
6347a9dcd1
skhd: add skhd
to PATH
2024-10-14 17:18:08 +11:00
Emily
ccf8cc56c9
Merge pull request #1101 from Enzime/quiet-pgrep
...
defaults: don't output Dock PID
2024-10-14 03:59:35 +01:00
Michael Hoang
fd0e3ed30b
Merge pull request #794 from fesplugas/patch-1
...
fix: postgresql service initdb
2024-10-13 08:39:35 +11:00
Michael Hoang
d32e6de094
defaults: don't output Dock PID
2024-10-09 21:57:33 +11:00
Michael Hoang
48b50b3b13
Merge pull request #1097 from isabelroses/bash/completions
...
programs/bash: move to completion.*
2024-10-08 22:10:05 +11:00
isabel
c9fd4820d5
programs/bash: move to completion.*
...
a port of https://github.com/NixOS/nixpkgs/pull/291552 for darwin
2024-10-08 10:05:26 +01:00
Michael Hoang
8c8388ade7
Merge pull request #1095 from aspauldingcode/master
...
jankyborders service option order above or below
2024-10-04 09:48:17 +10:00
Michael Hoang
c266b57bbe
Merge pull request #1077 from rsrohitsingh682/add-netadata
...
feat: add netdata service
2024-10-04 09:44:43 +10:00
Rohit Singh
239d802869
netdata: add netdata service in nix-darwin.
2024-10-03 23:42:10 +05:30
aspauldingcode
2893a1bcf7
push change to jankyborders test
2024-10-03 08:01:15 -06:00
Alex S.
5cd9995215
Update modules/services/jankyborders/default.nix
...
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-10-02 10:38:08 -06:00
aspauldingcode
af95f7b7ec
add JankyBorders option order and set below by default (values: above/below)
2024-10-01 17:47:30 -06:00
Emily
f61d5f2051
Merge pull request #1096 from isabelroses/fix/mdDoc
...
fix: remove deprecated lib.mdDoc
2024-09-30 15:40:10 +01:00
isabel
a42623df7a
fix: remove deprecated lib.mdDoc
2024-09-30 15:12:13 +01:00
Michael Hoang
4b43b68281
Merge pull request #1094 from rogeruiz/rogeruiz/add-slow-motion-allowed-for-dock
...
Adding option for slow-motion-allowed
2024-09-29 20:08:41 +10:00
Roger Steve Ruiz
f9ee41a05d
Adding option for slow-motion-allowed;
...
This was inspired by a recent Daring Fireball post where I was reminded about
this feature and how it's missing from being able to configure it in Nix-Darwin.
[https://daringfireball.net/linked/2024/09/28/hidden-pref-to-restore-slow-motion-dock-minimizing-on-macos ]()
2024-09-28 23:28:34 -05:00