1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
Commit graph

1655 commits

Author SHA1 Message Date
Glib Shpychka
9f93b19585
feat: support writing arrays to system defaults 2023-03-14 14:50:10 +02:00
Marwan Aljubeh
ca62d93c6c
Only use --force for patches applied in reverse
Using `--forward` already instructs `--patch` to ignore patches that it thinks are reversed or already applied.
2023-03-07 13:37:18 +00:00
Marwan Aljubeh
42e0e4f3b4
Add --force to all patch invocations 2023-03-07 13:35:24 +00:00
Marwan Aljubeh
e62b83a934
Fix system.patches
Currently, `system.patches` doesn't work because it will attempt to first detect if the patch has already been applied by checking if it can be applied in reverse.

However, when that happens, `patch` detects that the supplied patch is incorrectly reversed and attempts to ask the user if they want to "Ignore -R":

```
Unreversed (or previously applied) patch detected!  Ignore -R? [y]
```

Because the output is piped to `/dev/null` the user will basically see nothing and `darwin-rebuild switch` will hang until the user presses "Enter" (possibly to check if the terminal is frozen). At which point, patch will ignore the --reverse and exit successfully, preventing the patch from being applied at all.

This change fixes that bug by using `--force` which tells patch that we know what we're doing and prevents it from prompting the user if they want to ignore `--reverse`.
2023-03-07 12:53:20 +00:00
Domen Kožar
87b9d090ad
Merge pull request #550 from n8henrie/issue_549
Add support for submodules in flakes
2023-01-09 20:10:39 +00:00
Domen Kožar
3db1d870b0
Merge pull request #586 from hercules-ci/add-hercules-ci-agent
Add `services.hercules-ci-agent`
2023-01-03 13:46:21 +00:00
Robert Hensing
7ec26a9042 services.hercules-ci-agent: Explain default concurrentTasks is core count 2022-12-29 19:01:54 +01:00
Domen Kožar
267040e7a2
Merge pull request #583 from chloelyn/docs/readme
Remove inaccurate notice that the uninstaller uninstalls Nix
2022-12-24 14:11:58 +00:00
Robert Hensing
5311f8ded0 hercules-ci-agent: Remove old nix version check
This problem is multiple releases in the past now. It has served
its purpose.
2022-12-22 20:18:53 +01:00
Robert Hensing
3cb5cfa5f9 hercules-ci-agent: init
Source files originate from the hercules-ci-agent repository and
I will make sure to keep them in sync, bidirectionally.

The module is split into two files to make maintenance of the
common parts with NixOS easier.
2022-12-22 20:18:53 +01:00
Robert Hensing
617604488e Add meta.maintainers option 2022-12-22 20:18:53 +01:00
Alaina Newmark
023af2a1a2
Remove inaccurate notice for uninstaller in README 2022-12-20 15:36:30 -06:00
Domen Kožar
adb8ac0453
Merge pull request #452 from psm14/mouse-scaling
add mouse scaling system setting
2022-12-16 13:07:17 +00:00
Domen Kožar
7e7498acfe
Merge pull request #580 from sliminality/add-24h-time
Add option to use 24-hour system time
2022-12-16 13:06:46 +00:00
Domen Kožar
2795e05cca
Merge pull request #468 from lf-/postgres-update
services/postgresql: update to the latest upstream nixos module
2022-12-14 12:28:02 +00:00
Domen Kožar
852f451fee
Merge pull request #578 from saccarosium/rebuild-flake-no-out-link
Rebuild flake no out link, like #310 but with latest master
2022-12-14 10:56:22 +00:00
Domen Kožar
d308c2b35a
Merge pull request #575 from 4825764518/wg-quick
Add wg-quick module
2022-12-14 10:54:36 +00:00
Nathan Henrie
e3c24b5e0c Test submodule support 2022-12-14 03:45:00 -07:00
Nathan Henrie
5452c8c638 Add support for submodules in flakes
Fixes https://github.com/LnL7/nix-darwin/issues/549
2022-12-14 03:44:26 -07:00
Slim Lim
6774344719 Add option to set 24-hour time
Normally, the system region setting determines whether the clock uses
12- or 24-hour time. This flag allows users to override this setting and
use 24-hour time even if their region does not.
2022-12-13 15:42:25 -08:00
saccarosium
38463b15ec darwin-rebuild: fixing logic error in if statement 2022-12-08 10:00:51 +01:00
saccarosium
da843c0dde darwin-rebuild: use --no-link for flake builds 2022-12-08 09:48:45 +01:00
4825764518
c148d28c67
Add wg-quick module 2022-12-02 20:55:53 -05:00
Domen Kožar
6349b99bc2
Merge pull request #568 from lockejan/docs/readme
update flake example in readme and flake.lock
2022-11-18 15:15:20 +00:00
Jan Schmitt
34c4a4cf90
chore: update flake.lock 2022-11-18 08:39:53 +01:00
Jan Schmitt
7d0d40ed26
docs: update flake input for example 2022-11-18 08:39:52 +01:00
Domen Kožar
4182ad42d5
Merge pull request #553 from n8henrie/issue_543
Add system terminfo to TERMINFO_DIRS by default
2022-11-15 17:44:04 +00:00
Jade Lovelace
c9fcec4b6b services/postgresql: update to the latest upstream nixos module
I want a newish postgres config to work on my Mac.

This contains a little hack (putting the check-config derivation into
the start script as a comment) to deal with not having #356.

It's otherwise identical to the upstream module.
2022-11-10 13:13:10 -08:00
Domen Kožar
cfc0125eaf
Merge pull request #544 from PhotonQuantum/fix-darwin-rebuild
Fix darwin rebuild fails with flake and dry-run
2022-11-02 20:11:24 +00:00
Domen Kožar
b717703064
Merge pull request #561 from rockofox/patch-1
Correct capitalisation of NixOS
2022-11-01 09:17:57 +00:00
Domen Kožar
21791d4c01
Merge pull request #470 from toonn/berbiche-fix-applications-symlink
Disable taking control of ~/Applications folder MkII
2022-11-01 09:17:24 +00:00
rockofox
64fbf13a8f
Correct capitalisation of NixOS
Spell NixOS with capital OS like it's on the official website, etc. This is just a really small change, but it just bugs me :p
2022-10-26 14:37:53 +02:00
Domen Kožar
f6648ca069
Merge pull request #560 from pshirshov/fix/broken-fontrestore
fixes #559, #485: workaround for broken fontrestore on Ventura
2022-10-26 10:20:05 +01:00
Pavel Shirshov
f34b284d3f fixes #559, #485: workaround for broken fontrestore on Ventura 2022-10-25 22:01:55 +01:00
Domen Kožar
0f90e1c34c
Merge pull request #557 from pshirshov/wip/custom-defaults-writes
Custom defaults writes
2022-10-24 14:23:03 +02:00
Pavel Shirshov
c946ee42fa #517: custom preferences for 'defaults' can be specified 2022-10-24 13:12:54 +01:00
Domen Kožar
8be7f19712
Merge pull request #552 from Ma27/fix-manual
Fix manual by escaping `"` as well
2022-10-23 12:00:27 +02:00
Nathan Henrie
6b73d2c605 Type: TERMINFO_DIRS not TERMINFO 2022-10-20 14:49:26 -06:00
Nathan Henrie
ed993c5038 Add system terminfo to TERMINFO_DIRS by default 2022-10-19 15:09:28 -06:00
Maximilian Bosch
115ab9a0b1
Fix manual by escaping " as well
See https://github.com/NixOS/nixpkgs/issues/196651 for context.

NOTE: untested because I haven't found a quick way to build the manual
without building a nix-darwin configuration.
2022-10-19 18:50:52 +02:00
LightQuantum
184f30c864
Fix darwin rebuild fails with flake and dry-run 2022-10-10 20:24:46 +08:00
Domen Kožar
ef56fd8979
Merge pull request #540 from thefloweringash/mandatory-features
nix: fix mandatoryFeatures in nix.buildMachines
2022-10-10 11:07:41 +02:00
Andrew Childs
d0121790d4 nix: fix mandatoryFeatures in nix.buildMachines
Copied directly from https://github.com/NixOS/nixpkgs/pull/193404
2022-10-03 12:33:21 +09:00
Daiderd Jordan
02d2551c92
Merge pull request #534 from zwhitchcox/patch-1
Add comma for clarity
2022-09-26 18:34:24 +02:00
Domen Kožar
95ba7e548d
Merge pull request #536 from DeterminateSystems/runcommand
Fix nix-darwin with recent nixpkgs
2022-09-26 00:06:28 +02:00
Graham Christensen
07f640580b rename the nixFlakes reference 2022-09-25 15:43:15 -04:00
Zane Hitchcox
2ee7b84e6b
remove duplicate "to be" 2022-09-25 15:11:18 -04:00
James Walker
a2a9f30fee
rename runCommandNoCC 2022-09-25 14:12:08 -04:00
Zane Hitchcox
3e28ca913f
Add comma for clarity 2022-09-25 13:36:11 -04:00
Domen Kožar
088c98a584
Merge pull request #530 from brianmcgee/feat/extensible-lib
feat(eval-config): make lib overridable
2022-09-20 13:45:21 +01:00