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

1272 commits

Author SHA1 Message Date
Emily
d5aeb4e5b1 checks: recommend sudo nix-channel 2025-01-14 01:19:21 +00:00
Emily
8a3ea966bc version: implement nix-darwin release versions 2025-01-11 15:35:09 +00:00
Jalal El Mansouri
6ee6262d24 Add --ignore-dependencies option for casks
Some casks have extrenal dependencies managed by brew, neovide for
examples declares neovim as a dependency, a problem arises when you want
to use a nix managed neovim instead
2025-01-05 10:29:12 -03:00
gnammix
89be82cb2b power: quote in string triggered shellcheck SC2016 2025-01-04 14:35:53 +01:00
Michael Hoang
3feaf376d7
Merge pull request #1241 from gnammix/power_conditional_setRestartPowerFailure
power: restartAfterPowerFailure option is carried out conditionally
2025-01-04 13:03:10 +11:00
gnammix
492a72007a
power: echo to print in error messages
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-12-31 14:38:42 +01:00
thuvasooriya
aefd56bb56
aerospace: add workspace-to-monitor-force-assignment option and fix on-window-detected type #1208
trying to fix #1142

testing requested changes

adding workspace to monitor force assignment

remove formatting

tests pass

proper tests

undo formatting

tests for on-window-detected and workspace-to-monitor-force-assignment

testing submodules

cleanup n if fiz

checking

final

toml null field aerospace callback issue

custom null filter for submodule list

check for no presense of window-regex and if.workspace config check

aerospace: add workspace-to-monitor-force-assignment option and fix
on-window-detected type #1208

trying to fix #1142

testing requested changes

adding workspace to monitor force assignment

remove formatting

tests pass

proper tests

undo formatting

tests for on-window-detected and workspace-to-monitor-force-assignment

testing submodules

cleanup n if fiz

checking

final

toml null field aerospace callback issue

custom null filter for submodule list

check for no presense of window-regex and if.workspace config check

error

formatting mishap

space left

small fix

formatting mishaps
2024-12-29 16:57:26 +05:30
gnammix
62d8f5f289 power: move the check for restartPowerfailure support to checks.nix 2024-12-29 12:13:54 +01:00
Filip Kania
b8e184ebf2
refactor: use enum as option type 2024-12-29 10:58:47 +01:00
Filip Kania
25fb527105
feat: add screencapture.target option 2024-12-29 00:17:19 +01:00
Michael Hoang
53a0c2fe6e
Merge pull request #1233 from adamcstephens/fish/package
fish: add package option
2024-12-29 10:04:09 +11:00
Xingquan Liu
daf9d9fe5d
fix(zsh): correct the path of zsh-fast-syntax-highlighting 2024-12-29 01:31:31 +08:00
Adam C. Stephens
2165857a24
fish: add package option 2024-12-27 23:47:55 -05:00
gnammix
016b1608ee power: restartAfterPowerFailure option is carried out in activation script only if supported
Minor documentation change
2024-12-27 21:36:31 +01:00
Jörg Thalheim
2c86af2e99 programs.ssh: add extraConfig option
Same interface as in NixOS. This is useful to apply configuration for remote builders.
2024-12-23 21:32:37 +01:00
Domen Kožar
a35b08d09e
Merge pull request #1202 from Enzime/push-voxzmynopkkp
linux-builder: default `maxJobs` to amount of cores for Linux builder
2024-12-07 11:27:23 +00:00
Michael Hoang
8752b6ae3c github-runner: add instructions for triggering a runner registration 2024-12-07 13:08:55 +11:00
Michael Hoang
22cde06f49 github-runner: fix service not starting 2024-12-07 13:06:22 +11:00
Michael Hoang
06e1d77068 github-runner: use lib.getExe{,'} 2024-12-07 13:01:21 +11:00
Michael Hoang
d8255f09da github-runner: remove with lib; 2024-12-07 12:54:17 +11:00
z0al
9a59556018
fix(aerospace): allow startup commands 2024-12-04 19:03:03 +00:00
Alex James
0f9576cedc
nix: fix Lix version detection in auto-optimise-store assertion 2024-12-04 02:06:23 -06:00
Austin Horstman
567bae1e17
defaults: expose-group-by-app -> expose-group-apps
Default was renamed in previous macOS release.
2024-12-01 19:12:41 -06:00
Beta-Computer
09e5dfb67e defaults: add EnableTiledWindowMargins option
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-12-01 20:40:59 +11:00
Michael Hoang
70957ab0c6 linux-builder: default maxJobs to amount of cores for Linux builder 2024-11-28 14:16:47 +11:00
Aiden Scandella
25e0b6064e
system: fix detection and ownership of /etc/synthetic.conf
This file is owned by root and mode 600 on my system, so the grep is
failing and it's adding a new entry every run.

```sh
-rw-------  1 root  wheel  664 Nov 25 15:52 /etc/synthetic.conf
```
2024-11-25 21:40:13 -08:00
Michael Hoang
caa23e878f github-runner: make umask quiet 2024-11-22 11:19:46 +11:00
Michael Hoang
a4d4d12e38 examples: change default architecture to aarch64-darwin 2024-11-21 11:07:47 +11:00
Michael Hoang
9a1bea70d5 installer: move creating default configuration to README 2024-11-21 11:07:47 +11:00
Michael Hoang
57c144515a system: always add /run to /etc/synthetic.conf on macOS 10.15 onwards
Currently if nix-darwin is uninstalled then reinstalled without
rebooting, then the `/run` symlink will still remain and nix-darwin
won't readd `run` to `/etc/synthetic.conf` meaning the system will be
broken on next reboot.
2024-11-21 10:13:16 +11:00
isabel
fece297d64
fix: allow users to disable the homebrew check 2024-11-19 10:11:23 +00:00
Michael Hoang
34588d57cf
Merge pull request #879 from jtt9340/spaces-in-nixpath
fix broken NIX_PATH if paths contain spaces
2024-11-17 02:04:32 +00:00
Michael Hoang
6d20de4ed6 nix: remove outdated note requiring managed daemon for distributedBuilds
For Nix 1, some environment variables were set when using distributed
builds requiring the Nix daemon to be managed by nix-darwin. However,
support for Nix 1 has been removed and no other environment variables
for Nix are set by default.
2024-11-17 01:11:27 +11:00
Michael Hoang
7918e24e5b treewide: remove nix.package example 2024-11-17 01:11:27 +11:00
Michael Hoang
6d794390fa checks: check single user installs don't have the nix-daemon enabled
Remove suggestion to set `nix.useDaemon` as it came without an
explanation of how the `nix-daemon` would be unmanaged and would most
likely lead to most users running an old version of Nix as the daemon.
2024-11-16 23:19:11 +11:00
Michael Hoang
5d1b7ac696 treewide: remove mentions of services.nix-daemon.enable = true; 2024-11-16 23:19:11 +11:00
Michael Hoang
698414e409 nix-daemon: enable by default
Single user installs have been unsupported by the official Nix installer
since 2.4.
2024-11-16 23:19:11 +11:00
Michael Hoang
d2498644fd nix-daemon: remove with lib; 2024-11-16 23:19:11 +11:00
Michael Hoang
dae702993d activate-system: remove enable option
Disabling this is not supported as `/run` gets cleared out on every
reboot so it is necessary for ensuring that the `/run/current-system`
symlink exists.
2024-11-15 14:10:48 +11:00
Joey Territo
9077d812d8 activate-user script: fix broken NIX_PATH if paths contain spaces 2024-11-13 22:24:48 -06:00
Ameya Shenoy
67fbc7aa24 checks: add check to ensure Homebrew is installed
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2024-11-13 09:53:17 +11:00
Michael Hoang
839fd2a2b5
Merge pull request #1162 from Enzime/push-ovqpxpsqkwvp
users: ensure `programs.<shell>.enable = true;` for users' shells
2024-11-12 22:25:20 +00:00
Lucas Mendes Loureiro
32df51bf2b fix(defaults): fixing #1107 2024-11-12 14:37:26 +00:00
Lucas Mendes Loureiro
d71aa30b41 feat(defaults): adding support to control center 2024-11-12 09:48:21 +00:00
Michael Hoang
2bacd8db31 environment: fix lowPrio support in environment.systemPackages 2024-11-11 15:24:19 +11:00
Michael Hoang
8b27551e09 users: warn users to use pkgs.bashInteractive instead of pkgs.bash 2024-11-11 15:24:19 +11:00
Michael Hoang
5eb88645f7 users: assert that programs.<shell>.enable = true; for users' shells
Backport of https://github.com/NixOS/nixpkgs/pull/211603 and 093f354a17
2024-11-11 15:19:41 +11:00
Michael Hoang
c2c88ae983 users: remove lib. 2024-11-11 15:10:46 +11:00
Michael Hoang
534ca06930 docs: use nix-darwin instead of Darwin 2024-11-09 21:51:15 +11:00
Michael Hoang
3224bb2f7c
Merge pull request #1154 from Samasaur1/zshenv-rcs
zsh: only run shell initialization in /etc/zshenv when RCs are enabled
2024-11-09 08:22:06 +00:00