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

1050 commits

Author SHA1 Message Date
Chris Montgomery
f07acb443a
defaults-write: formatting 2021-12-24 17:20:15 -05:00
Daiderd Jordan
5851d9613e
Merge pull request #402 from abathur/fix_newer_apfs.util_error
fix dependence on apfs.util exit code
2021-12-21 21:07:10 +01:00
Travis A. Everett
94c3e407dd fix dependence on apfs.util exit code
apfs.util (or at least it's newer -t flag) has bad exit code semantics
and will return non-zero codes for both success and errors.

Closes #401 and most-likely fixes #378 as well
2021-12-21 10:07:23 -06:00
Daiderd Jordan
e8f4288d16
uninstaller: copy services instead of symlinking 2021-12-21 15:42:45 +01:00
Daiderd Jordan
bebb35922d
bump nix-install-action 2021-12-21 15:42:42 +01:00
Daiderd Jordan
44da835ac4
add forward compatibility for literalExample deprecation
Fixes #367
2021-10-23 15:06:42 +02:00
Daiderd Jordan
8dfeb92ec1
Merge pull request #369 from cherryblossom000/typo-fixes
Fix some typos
2021-10-23 15:05:44 +02:00
cherryblossom000
99ff0b66ca
Fix some typos 2021-10-21 20:37:43 +11:00
Daiderd Jordan
e1a3f7292f
improve flakes missing system error message 2021-09-15 20:22:23 +02:00
Daiderd Jordan
738eff4f33
Merge pull request #317 from darwinSystem 2021-09-15 20:11:08 +02:00
Daiderd Jordan
d2bbe72e18
use current branch as darwin input for flakes
Overriding the registry was supposed to handle this but it seems the
behaviour changed at some point or never worked as intended if an url is
defined for the input.
2021-09-15 20:10:56 +02:00
Daiderd Jordan
d4deef8194
Merge pull request #354 from kidonng/app
uninstaller: also remove `~/Applications/Nix Apps`
2021-09-14 19:12:49 +02:00
Daiderd Jordan
f3c3b8db6e
Merge pull request #351 from nosewings/master
system.defaults: enable automatic light/dark mode
2021-09-14 18:53:17 +02:00
Daiderd Jordan
39af16ede5
Merge pull request #357 from eraserhd/magic-mouse
defaults: magic mouse option
2021-09-14 18:52:46 +02:00
Drew Hess
9f7e95887f
Pass system to darwinSystem rather than eval-config.
This allows us to specify what kind of darwinSystem we want to build,
rather than determining it at evaluation time.
2021-09-08 13:05:18 +01:00
Jason Felice
998fbfc039 defaults: magic mouse option 2021-08-24 17:13:48 -04:00
Kid
a732ed4851
uninstaller: also remove ~/Applications/Nix Apps 2021-08-10 21:41:35 +08:00
Nicholas Coltharp
7a3f541d5c system.defaults: enable automatic light/dark mode 2021-08-06 18:43:03 -05:00
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