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

1337 commits

Author SHA1 Message Date
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
Domen Kožar
be8e20e7d3
Merge pull request #533 from Enzime/terminfo
environment: support installing terminfo files
2022-09-20 13:44:48 +01:00
Domen Kožar
caea6653b1
Merge pull request #531 from Enzime/fix-tailscale
Fix Tailscale module
2022-09-20 13:44:22 +01:00
Domen Kožar
b3de9dded8
Merge pull request #228 from malob/sudo-touchid
Add option to enable sudo authentication with Touch ID
2022-09-20 13:42:31 +01:00
Michael Hoang
f12f0f3095 environment: support installing terminfo files 2022-09-20 21:57:53 +10:00
Michael Hoang
bdd5d81b13 tailscale: prevent significant DNS footgun 2022-09-20 18:03:50 +10:00
Michael Hoang
0ae311e1c7 tailscale: fix tailscaled not running as root
Run `tailscaled` using a system daemon as it does not work as a non-root
user without `userspace-networking`.

Also, remove the broken warning relating to setting the search domain.
Manually adding the search domain to `networking.search` isn't necessary
to use only machine names to refer to other machines.
2022-09-20 18:03:17 +10:00
zimbatm
74a0e71ff2
eval-config: make lib overridable
This enables using flake lib.darwinSystem function with your custom
lib.
2022-09-19 13:45:59 +01:00
Domen Kožar
14a12e9ee7
Merge pull request #499 from Enzime/karabiner-elements
Karabiner-Elements
2022-09-19 13:32:50 +01:00
Domen Kožar
de4d41ee9f
Merge pull request #526 from lockejan/fix/font-tests
fix: adapt fonts tests to use newer module api
2022-09-18 10:10:36 +01:00
Domen Kožar
65082fa7b1
Merge pull request #516 from lockejan/docs/readme
Docs/readme
2022-09-18 10:09:52 +01:00
Domen Kožar
c703f79e3e
Merge pull request #528 from sikmir/yabai
yabai: set default package
2022-09-18 10:08:35 +01:00
Domen Kožar
127acf9c3f
Merge pull request #524 from sellout/tailscale
Add tailscale service module
2022-09-18 10:08:04 +01:00
Nikolay Korotkiy
4eed79d4ac
yabai: set default package 2022-09-16 17:46:17 +03:00
Jan Schmitt
c5a241fc64
fix: adapt fonts tests to use newer module api 2022-09-15 20:26:54 +02:00
toonn
ed1e73d01e
applications: Drop store prefix to generalize
While the Nix store is almost always at `/nix/store`, we shouldn't
assume it to be. Checking only the trailing part of the link is less
exact but removes this bad assumption.

I also added a check for the symlink's contents when overwriting it to
more accurately check whether we own it and should replace it.
2022-09-13 14:57:50 +02:00
toonn
fbe795f39d
applications: Symlink Nix Apps to /Applications
This PR supercedes #226.

So far application bundles were always linked to `~/Applications` or
`~/Applications/Nix Apps` if the former was an existing directory.

In nix-community/home-manager#1341 a conflict was found with suggested
new Home Manager behavior, where applications installed through Home
Manager would end up in `~/Applications/Home Manager Apps`. This was in
an attempt to make them discoverable through Spotlight but further
investigation suggest Spotlight does not pick up symlinked apps (details
in the issue).

However, there are other programs that expect to be able to write to
`~/Applications` so taking over the directory is unfortunate.

PR #226 dropped linking `~/Applications` and instead made sure the
directory exists so we can always link in `~/Applications/Nix Apps`.

After further discussion in #macos:nixos.org we came to the conclusion
that we shouldn't link applications to a user directory at all. Since we
manage packages for multiple users, application bundles should go in
`/Applications`.

Because previous code will likely leave a symlink at
`~/Applications/{,Nix Apps}`, which will become dangling once the path
it links to is garbage collected from the store we test to see if a link
exists and it conforms to the path we're expecting and if it does remove
it.
2022-09-13 14:57:46 +02:00
Nicolas Berbiche
9c76fbf20f
Disable taking control of ~/Applications folder
Programs like Steam add applications to ~/Applications and such.

This commit disables linking ~/Applications to nix-darwin Applications
in the /nix/store and makes nix-darwin use a subfolder within
~/Applications.
2022-09-13 14:57:46 +02:00
Greg Pfeil
7698ffce98 Remove lib.mdDoc usage 2022-09-09 11:40:42 -06:00