1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

1584 commits

Author SHA1 Message Date
Dominik Gleich
c8a8faedbc
Change zsh default prompt 2024-05-20 09:48:03 +02:00
Michael Hoang
ffc01182f9
Merge pull request #953 from techknowlogick/patch-1
remove final lib.mddoc
2024-05-17 09:25:37 +10:00
techknowlogick
de20ea4882
remove final lib.mddoc 2024-05-16 12:48:56 -04:00
Domen Kožar
cb02884fa1
Merge pull request #952 from sandydoo/fix-924
cachix-agent: fix crash calling `security`
2024-05-16 16:58:05 +02:00
Sander
e043606b50
cachix-agent: fix crash calling security
One of cachix-agent's dependencies, `hs-certificate`, makes calls to
`security`. This lives in `/usr/bin`, which isn't available from
launchd. This commit makes the system paths available to cachix-agent.

Fixes #924.
2024-05-16 18:04:33 +04:00
Michael Hoang
de8b0d60d6
Merge pull request #928 from rmgpinto/persistent-others
Add persistent others to dock
2024-05-14 12:22:58 +10:00
Ricardo Pinto
457a5d9952
Add persistent others to dock 2024-05-13 13:46:54 +01:00
Michael Hoang
230a197063
Merge pull request #940 from qowoz/nix-daemon
nix-daemon: increase SoftResourceLimits.NumberOfFiles
2024-04-24 18:09:31 +10:00
zowoq
ec06ea8837 nix-daemon: increase SoftResourceLimits.NumberOfFiles
1048576 matches the nixos/nix plist

e3a4e40a35/misc/launchd/org.nixos.nix-daemon.plist.in (L29)
2024-04-24 16:03:49 +10:00
Michael Hoang
9e7c20ffd0
Merge pull request #932 from wegank/mddoc-remove
treewide: remove lib.mdDoc
2024-04-20 02:24:36 +10:00
Michael Hoang
eb25dc61a6
Merge pull request #936 from JeffersonBledsoe/master
Update ShowDate documentation in menuExtraClock
2024-04-19 12:08:17 +10:00
Weijia Wang
def1e23be8 treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
Michael Hoang
99b3f9a1f5
Merge pull request #938 from wegank/release-bump
ci, readme: update stable nixpkgs to 23.11
2024-04-19 12:03:01 +10:00
Weijia Wang
1098e60e92 ci, readme: update stable nixpkgs to 23.11 2024-04-18 18:29:24 +02:00
Jefferson Bledsoe
81f7aab5ed
Update ShowDate in menuExtraClock 2024-04-18 13:53:30 +00:00
Michael Hoang
36524adc31
Merge pull request #915 from malob/add-nix-optimise-module
Add `nix.optimise` module
2024-03-30 12:48:46 +11:00
Michael Hoang
f0dd0838c3
Merge pull request #917 from HyunggyuJang/fix-meta
Use valid maintainer in meta example
2024-03-28 13:02:14 +11:00
Malo Bourgon
398510f601 Add nix.optimise module 2024-03-27 12:50:04 -07:00
Hyunggyu Jang
83a9a41f1b Use valid maintainer 2024-03-26 13:58:02 +09:00
Michael Hoang
bcc8afd06e
Merge pull request #906 from miterion/master
Remove override.css
2024-03-18 10:13:25 +11:00
Heiko Carrasco
576be4317c
Remove override.css as done in https://github.com/NixOS/nixpkgs/pull/295847 2024-03-17 14:28:18 -04:00
Michael Hoang
d9ea313bc4
Merge pull request #903 from bs10x/patch-1 2024-03-13 09:09:39 +11:00
Basil Feitknecht
c18685e773
update README.md
fixed minor typo
2024-03-12 16:11:23 +01:00
Michael Hoang
c7ae5dc969
Merge pull request #725 from mitchmindtree/trezord 2024-03-13 02:00:15 +11:00
Michael Hoang
550340062c
Merge pull request #900 from amarshall/avoid-alias
darwin-uninstaller: Fix when using nixpkgs.config.allowAliases = false
2024-03-07 11:31:23 +11:00
Andrew Marshall
5c2700533c darwin-uninstaller: Fix when using nixpkgs.config.allowAliases = false 2024-03-06 08:04:42 -05:00
Michael Hoang
daa03606df
Merge pull request #898 from dfrankland/dock-persistent-apps
Add support for persistent-apps in dock
2024-03-04 23:12:54 +11:00
Dylan Frankland
5c65cfb656 Add support for persistent-apps in dock 2024-03-03 21:32:17 -08:00
Michael Hoang
e7d7a7f0c5
Merge pull request #821 from qowoz/users
users: fix `forceRecreate` bash comparison
2024-03-04 16:25:51 +11:00
Michael Hoang
1032f0963f
Merge pull request #767 from jmmaloney4/master
a few fixes for ipfs module
2024-03-04 16:23:30 +11:00
Michael Hoang
530f265072
Merge pull request #897 from dfrankland/fix-writing-values-with-containers
fix writing values with containers
2024-03-04 16:16:05 +11:00
Dylan Frankland
b620e32a76 fix writing values with containers
Complex container values like `-array` have their own DSL which does not
allow specifying all data types. Instead of using the DSL use plist
fragments instead.
2024-03-02 22:29:56 -08:00
Michael Hoang
17c2ca3c75
Merge pull request #896 from vendored/patches/support-new-nix-2.20-command-syntax
Support new nix 2.20 command syntax
2024-03-03 13:49:27 +11:00
Mark Sisson
3397ab3b77
feat(nix): adapt nix.conf validation for different Nix versions
This commit updates the nix.conf validation logic to accommodate
different versions of Nix. It introduces a conditional assignment
of the `showCommand` variable, which determines the appropriate
command to use based on the Nix version. For versions at least
"2.20pre", it uses "config show"; otherwise, it falls back to
"show-config". This change ensures compatibility across various
Nix releases.
2024-03-02 18:51:25 -06:00
Michael Hoang
8a15cb36ff
Merge pull request #892 from Samasaur1/startup-chime
`system.startup.chime`: init
2024-03-02 13:57:42 +11:00
Domen Kožar
70d162d468
Merge pull request #891 from mattpolzin/nix-direnv
nix-darwin/programs.direnv: init
2024-03-01 18:23:36 +07:00
Sam
ee53e5785c
system.startup.chime: init 2024-02-29 22:23:40 -08:00
Sam
0363c18c37
system.nvram: init (internal) 2024-02-29 22:20:04 -08:00
Michael Hoang
c2751db910
Merge pull request #894 from MoritzR/master
defaults: Add options for dragOnGesture feature
2024-03-01 16:24:09 +11:00
Moritz Rumpf
ad98aebc0f Fix doc render problem
This fixes:
```
RuntimeError: can't render html in the presence of docbook
```
2024-02-29 08:45:54 +01:00
Moritz Rumpf
2ffb75f942 defaults: Add options for dragOnGesture feature
This is just a rebased version of https://github.com/LnL7/nix-darwin/pull/513

Credit to @2gn
2024-02-29 08:45:54 +01:00
Domen Kožar
283d59778e
Merge pull request #893 from yaxitech/github-runner-2
github-runners: adapt to NixOS module
2024-02-28 16:35:25 +07:00
Vincent Haupert
06f5dab065 github-runners: adapt to NixOS module
While #859 added basic support for configuring GitHub runners through
nix-darwin, it did not yet support all of the options the NixOS module
offers.

I am aware that this is a rather big overhaul. I think, however, that
it's worth it:

- Copies the `options.nix` from the [NixOS module] with only minor
  adaptations. This should help to keep track of any changes to it.
- Respect the `workDir` config option. So far, the implementation didn't
  even read the value of the option.
- Allow configuring a custom user and group.
  If both are `null`, nix-darwin manages the `_github-runner` user
  shared among all instances. Take care of creating your own users if
  that's not what you want.
- Also creates the necessary directories for state, logs and the working
  directory (unless `workDir != null`). It uses the following locations:
    * state: `/var/lib/github-runners/${name}`
    * logs: `/var/log/github-runners/${name}`
    * work: The value of `workDir` or `/var/run/github-runners/${name}`
            if (`workDir == null`).
  We have to create the logs directory before starting the service since
  launchd expects that the `Standard{Error,Out}Path` exist. We do this
  by prepending to [`system.activationScripts.launchd.text`].
  All directories belong to the configured `user` and `group`.
- Warn if a `tokenFile` points to the Nix store.

[NixOS module]: https://github.com/NixOS/nixpkgs/blob/3c30c56/nixos/modules/services/continuous-integration/github-runner/options.nix
[`system.activationScripts.launchd.text`]: https://github.com/LnL7/nix-darwin/blob/bbde06b/modules/system/launchd.nix#L99-L123
2024-02-28 09:40:25 +01:00
Mathew Polzin
9090c6f897 nix-darwin/programs.direnv: init 2024-02-27 08:38:36 -06:00
Michael Hoang
6c06334f08
Merge pull request #888 from Samasaur1/fix-sudo-extraconfig
security.sudo.extraConfig: fix default behavior
2024-02-27 13:37:32 +11:00
Sam
44888312de
security.sudo.extraConfig: fix default behavior 2024-02-26 18:21:48 -08:00
Michael Hoang
bbde06bed1
Merge pull request #881 from epetousis/add-determinatesystems-hash
etc: add known hash for `/etc/zshenv` and `/etc/nix/nix.conf`
2024-02-24 11:22:41 +10:00
Evan Petousis
f1a0d68a8f
etc: add known hash for /etc/zshenv and /etc/nix/nix.conf
Adds support for DeterminateSystems installer 0.16.0 and later. Fixes #880.
2024-02-23 18:45:24 +11:00
Domen Kožar
314a36d99b
Merge pull request #878 from LoganBarnett/linux-builder-big-config
linux-builder additional options
2024-02-23 09:31:04 +07:00
Logan Barnett
27e6a022f2
apply feedback, fix merge goof 2024-02-21 10:44:30 -08:00