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

1032 commits

Author SHA1 Message Date
Daiderd Jordan
007d700e64
Merge pull request #304 from aaschmid/configurable.brew.path
homebrew: make brew path configurable
2021-05-26 22:20:22 +02:00
Andreas Schmid
f6bec24aeb homebrew: make brew path configurable
Signed-off-by: Andreas Schmid <service@aaschmid.de>
2021-05-26 22:03:00 +02:00
Daiderd Jordan
f41d107db7
Merge pull request #330 from cormacrelf/patch-1
List the configuration file location in README
2021-05-26 18:38:42 +02:00
Daiderd Jordan
daed264991
Merge pull request #332 from jfchevrette/patch-1
change inner double quotes to single quotes
2021-05-26 18:38:25 +02:00
Daiderd Jordan
b8f941d091
Merge pull request #312 from tricktron/fix-install-flake-github-action
Fixes install flake GitHub action
2021-05-26 18:27:47 +02:00
Jean-Francois Chevrette
db933d1d41
change inner double quotes to single quotes 2021-05-12 17:47:29 -04:00
Cormac Relf
774ab69801
List the configuration file location in README
I don't have unlimited time to read through the manual installation instructions just to see where the config file goes when I forget.
It's not great either that the first line of the README has a path that means nothing at all on macOS. That could be better too
but I'm not going to update the project's top tagline in a PR.
2021-05-04 14:26:54 +10:00
Daiderd Jordan
a7492a8c76
Merge pull request #308 from hardselius/master
Fix nix flake info error
2021-04-06 09:20:09 +02:00
Thibault Gagnaux
dbddb3a1a6
Adds GITHUB_TOKEN due to rate limiting 2021-03-26 07:17:26 +01:00
Thibault Gagnaux
78e10ac43f
Uses nix flakes as described [here](https://github.com/cachix/install-nix-action) 2021-03-26 07:17:26 +01:00
Martin Hardselius
1f8eb9b128
Add nix flags to subcommand test
This change removes the need for having

  experimental-features = nix-command flakes

in nix.conf. It should also work outside of flake directories.
2021-03-23 09:49:47 +01:00
Martin Hardselius
4187519820
Make nix flake info fix backwards compatible
This change handles previous nix versions by testing for the presence of
the `metadata` subcommand and falling back on the `info` subcommand if
it does not exist.
2021-03-22 22:17:48 +01:00
Daiderd Jordan
1a76093026
Merge pull request #305 from marsam/add-spotifyd-module
spotifyd: add spotifyd service
2021-03-22 19:30:43 +01:00
Daiderd Jordan
682aff8164
Merge pull request #299 from marsam/do-not-use-stdenv.lib
darwin-[un]installer: Don't reference deprecated stdenv.lib
2021-03-22 19:20:40 +01:00
Martin Hardselius
93752a83ea
Fix nix flake info error
Fixes "error: 'info' is not a recognised command'"

Issue: #307
2021-03-21 23:54:10 +01:00
Mario Rodas
f3aa13d141 spotifyd: add spotifyd service 2021-03-11 04:20:00 +00:00
Mario Rodas
e78f90f795 darwin-[un]installer: Don't reference deprecated stdenv.lib
`stdenv.lib` has been deprecated, and the correct approach is to use
`lib` directly through `pkgs.lib`.
2021-02-23 04:20:00 +00:00
Daiderd Jordan
5c3146b75d
users: migrate nixbld -> _nixbld
According to some investigation creating "role" accounts avoids
migration problems when upgrading to certain macOS versions, so create
the build users to match that definition and remove the old ones if
present.

    Role accounts require name starting with _ and UID in 200-400 range
2021-02-17 22:04:54 +01:00
Daiderd Jordan
3b28c4675a
Merge pull request #262 from malob/brew-bundle
Add Homebrew Bundle module
2021-02-17 18:46:15 +01:00
Daiderd Jordan
d87031b382
Merge pull request #265 from sandhose/flake-registry
Add nix.registry options
2021-02-17 18:45:19 +01:00
Daiderd Jordan
034600cb84
Merge pull request #288 from r-burns/fish-fenv
fish: fix fenv function path
2021-02-17 18:42:11 +01:00
Daiderd Jordan
c8be627ed0
Merge pull request #292 from MaxSchlueter/fix-gnupg-agent
Fix gnupg-agent being kept alive
2021-02-17 18:29:46 +01:00
Max Schlueter
6d4bf1a29e
Fix gnupg-agent being kept alive
The agent is restarted automatically after it has been launched
successfully, this creates a lot of noise in the logs. This change
reloads the agent only if it has crashed, i.e. returns with a non-zero
exit code.
2021-02-14 21:55:16 +09:00
Ryan Burns
771f01c4e6 fish: fix fenv function path 2021-02-04 17:52:27 -08:00
Daiderd Jordan
dca3806552
Merge pull request #283 from kevingriffin/fish-fenv-fix
fish: fix fenv reference on 20.09
2021-02-04 23:05:02 +01:00
Kevin Griffin
aa5611cc81
fish: fix fenv reference on 20.09
Referring to the deprecated package first causes
an error to be thrown before the correct package can be selected.
2021-01-30 11:27:01 +09:00
Daiderd Jordan
9e3e4033bc
Merge pull request #281 from hauleth/fix/dnsmasq-resolver-file
Use separate config option to set port of DNSmasq
2021-01-28 20:35:47 +01:00
Daiderd Jordan
32d49bc88f
Merge pull request #270 from kevingriffin/fish-environment-babelfish
Native fish environment with babelfish
2021-01-28 20:21:16 +01:00
Łukasz Niemier
bd75d14b0f
fix: use separate config option to set port of DNSmasq
Older approach seems to not work on macOS 11 Big Sur for some reason.
2021-01-28 14:09:30 +01:00
Kevin Griffin
867ef96e0b
fish: add babelfish translation option
Configuration may be ran through fenv at shell start time
(as previously) or translated to fish at build time with
a specified babelfish package.
2021-01-17 10:30:27 +09:00
Malo Bourgon
23cb959893 Fix indentation again 2021-01-16 15:15:29 -08:00
Malo Bourgon
acc906d982 Update changelog and fix indentation. 2021-01-16 12:39:01 -08:00
Malo Bourgon
2a0b9a9f60 Add options back in for setting global Homebrew variables 2020-12-30 19:01:22 -08:00
Malo Bourgon
c61d659160
Fix typo in homebrew module
Co-authored-by: Scott Day <services.github@probablyadev.com>
2020-12-28 10:45:30 -08:00
Quentin Gliech
456f17b4d9
nix.registry option 2020-12-22 19:44:21 +01:00
Daiderd Jordan
8834df4317
installer: silence apfs.util output
Passing incorrect flags prints help output to stdout so silence
everything.

Fixes #264
2020-12-22 10:14:02 +01:00
Daiderd Jordan
f8a04c7f6d
installer: move channel setup out of activation
Fixes #234
2020-12-21 14:23:25 +01:00
Daiderd Jordan
6dd655466d
installer: remove profile step 2020-12-19 12:38:06 +01:00
Daiderd Jordan
3cf11923eb
use --dry-run check to re-apply system patches 2020-12-19 11:56:51 +01:00
Daiderd Jordan
7e4b134554
add flake build example to readme 2020-12-19 10:13:35 +01:00
Daiderd Jordan
72c6e6f0d4
Merge pull request #263 from LnL7/harden-installer
Harden installer
2020-12-19 10:10:17 +01:00
Malo Bourgon
48449fbc0e Add CHANGELOG entry 2020-12-18 12:51:31 -08:00
Malo Bourgon
7fd183c5d2 Remove homebrew.userConfig options and cleanup docs 2020-12-18 11:52:03 -08:00
Daiderd Jordan
f47083bd71
installer: extend test with shell environment checks 2020-12-18 14:53:09 +01:00
Daiderd Jordan
75cab75c22
installer: ensure /etc/static runs last
In the case that nix-darwin was installed for a single user installation
and later nix gets reinstalled with the daemon it's possible that
nix-daemon.sh loads afterwards, resulting in unexpected behaviour.
2020-12-18 14:53:08 +01:00
Malo Bourgon
6b56100982 Move Homebrew installation check to activation script 2020-12-17 16:54:29 -08:00
Malo Bourgon
9961b72463 Make better use of optional(s) functions in homebrew module 2020-12-17 14:42:07 -08:00
Malo Bourgon
e1425db70d Move programs.brew-bundle to homebrew 2020-12-17 13:03:57 -08:00
Malo Bourgon
a2146feaf6 Change noAutoUpdate option to autoUpdate in brew-bundle module 2020-12-14 19:39:10 -08:00
Malo Bourgon
df06dc470f Update names of options that set user env vars in brew-bundle module 2020-12-14 19:14:35 -08:00