summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2024-07-02Use the correct file location for `SoftwareUpdate` plist.Mike Moore
2024-07-01chore: remove mkpackageoptionmd deprecationNikola Milojević
2024-06-23checks.nix: disable verifyBuildUsers for auto-allocate-uidsSamuel Tam
2024-06-17Merge pull request #974 from nicknovitski/linux-builder-crossarchMichael Hoang
2024-06-16linux-builder: make compatible with cross-arch builder packageNick Novitski
Before this commit, aarch64 users building the following configuration would end up with an aarch64-linux builder, while after it, they get the x86_64-linux builder they expect: ```nix nix.linux-builder = { enable = true; package = pkgs.darwin.linux-builder-x86_64; }; ``` Before, in order to get an x86_64-linux builder, they would have needed to use this configuration instead: ```nix nix.linux-builder = { enable = true; config.nixpkgs.hostPlatform = "x86_64-linux"; systems = ["x86_64-linux"]; }; ``` The reason for this is that the linux-builder module calls `override` on the package option, and the `linux-builder-x86_64` package is also defined using override: ```nix linux-builder-x86_64 = linux-builder.override { modules = [ { nixpkgs.hostPlatform = "x86_64-linux"; } ]; }; ``` The module was effectively discarding the `nixpkgs.hostPlatform` option. Example issue: https://github.com/NixOS/nixpkgs/issues/313784
2024-06-15write-text: remove support for `copy`Emily
This is a huge anti‐declarative footgun; `copy` files cannot distinguish if a previous version is managed by nix-darwin, so they can’t check the hash, so they’re prone to destroying data, and copied files are not deleted when they’re removed from the system configuration, which led to a security bug. Nothing else in‐tree was using this functionality, so let’s make sure it doesn’t cause any more bugs.
2024-06-15ssh: use symlinks for `authorizedKeys` optionsEmily
As explained in the changelog and activation check, the previous implementation had a nasty security bug that made removing a user’s authorized keys effectively a no‐op.
2024-06-15Merge pull request #716 from tmillr/fix-launchd-calendar-intervalEmily
fix(launchd): improve `StartCalendarInterval`
2024-06-15Merge pull request #754 from emilazy/fonts-use-subdirEmily
fonts: reimplement and rename to `fonts.packages`
2024-06-14Merge pull request #975 from emilazy/drop-old-compatMichael Hoang
Drop compatibility for unsupported Nixpkgs versions
2024-06-13Merge pull request #842 from Enzime/linux-builder-trustEmily
linux-builder: remove trusted user requirement
2024-06-13Reapply "eval-config: set `class`"Emily
All supported Nixpkgs versions now support this. This reverts commit a5b09580e2d0bbc52b338afe4f1f1d46178e6bbf.
2024-06-13treewide: remove shims for Nixpkgs ≤ 23.05Emily
These deprecated versions were already made unsupported by #932.
2024-06-13fonts: remove `fonts.fontDir.enable`Emily
As far as I can tell, this isn't required to get fonts to work on NixOS, so we shouldn't require it on nix-darwin either, even if the implementations are superficially similar.
2024-06-13fonts: reimplement and rename to `fonts.packages`Emily
Fixes: #120 Fixes: #722 Fixes: #752 Closes: #692
2024-06-13fonts: refactor `system.build.fonts`Emily
Process substitution behaves better with variables and it's good practice to use `lib.escapeShellArgs`.
2024-06-13fonts: remove `with lib`Emily
2024-06-13Merge pull request #963 from elohmeier/launchd-lowpriobgioEmily
launchd: add LowPriorityBackgroundIO config
2024-06-09fix(launchd): improve `StartCalendarInterval`Tyler Miller
Stricter launchd -> StartCalendarInterval type: - Verify that the integers passed to `Minute`, `Hour`, etc. are within range. - When provided, the value for StartCalendarInterval must be a non-empty list of calendar intervals and must not contain duplicates entries (throw an error otherwise). - For increased flexibility and backwards-compatibility, allow an attrset to be passed as well (which will be type-checked and is functionally equivalent to passing a singleton list). Allowing an attrset or list is precisely in-line with what `launchd.plist(5)` accepts for StartCalendarInterval. Migrate `nix.gc.interval` and `nix.optimise.interval` over to use this new type, and update their defaults to run weekly instead of daily. Create `modules/launchd/types.nix` file for easier/modular use of launchd types needed in multiple files. Documentation: - Update and improve wording/documentation of launchd's `StartCalendarInterval`. - Improve wording/documentation of `nix.gc.interval` and `nix.optimise.interval` ("time interval" can be misleading as it's actually a "calendar interval"; e.g. `{ Hour = 3; Minute = 15;}` runs daily, not every 3.25 hours).
2024-06-06feat: add defaults screencapture show-thumbnail optionjonny
2024-06-05launchd: add LowPriorityBackgroundIO configEnno Richter
2024-05-29add warning for enabling syntax highlighting and fast syntax highlightingTrevor Opiyo
2024-05-29Add support for zsh-fast-syntax-highlightingTrevor Opiyo
2024-05-30Merge pull request #958 from kamushadenes/masterMichael Hoang
Add support for trackpad force click
2024-05-25Update modules/system/defaults/NSGlobalDomain.nixHenrique Goncalves
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-05-23Update NSGlobalDomain.nixHenrique Goncalves
2024-05-23Update NSGlobalDomain.nixHenrique Goncalves
2024-05-23Update NSGlobalDomain.nixHenrique Goncalves
2024-05-23Update trackpad.nixHenrique Goncalves
2024-05-23environment: Adjust systemPath order to allow injecting in the middleAndrew Marshall
Previously, it was not possible to inject PATH entries between profiles and the “default system” PATH entries. This confounds adding, e.g. Homebrew on aarch64’s non-standard prefix as higher priority than the builtin system paths, but lower than Nix profiles. This is a backwards-incompatible change for some users, but should only be so in the case a user used `mkOrder` with a value between 1000 (the default priority) and 1200. Value of 1200 chosen as the same delta from the default as just below in `environment.profiles` (which uses 800), and mkAfter is 1500 so will still go after this.
2024-05-22Merge pull request #955 from qowoz/hercules-securityMichael Hoang
hercules-ci-agent: fix crash calling `security`
2024-05-21hercules-ci-agent: fix crash calling `security`zowoq
this applies the same fix that was used for the cachix agent in e043606b50526f4b9eb14d983f406acec9548962
2024-05-16remove final lib.mddoctechknowlogick
2024-05-16cachix-agent: fix crash calling `security`Sander
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-15Add file or directory tile to Dock persistent othersRicardo Pinto
2024-05-20Change zsh default promptDominik Gleich
2024-05-13Add persistent others to dockRicardo Pinto
2024-04-24nix-daemon: increase SoftResourceLimits.NumberOfFileszowoq
1048576 matches the nixos/nix plist https://github.com/NixOS/nix/blob/e3a4e40a354e1c2d177541d24d6a86a001fa87c7/misc/launchd/org.nixos.nix-daemon.plist.in#L29
2024-04-20Merge pull request #932 from wegank/mddoc-removeMichael Hoang
treewide: remove lib.mdDoc
2024-04-19treewide: remove lib.mdDocWeijia Wang
2024-04-18Update ShowDate in menuExtraClockJefferson Bledsoe
2024-04-05Merge branch 'LnL7:master' into masterMike Vink
2024-03-30Merge pull request #915 from malob/add-nix-optimise-moduleMichael Hoang
Add `nix.optimise` module
2024-03-27Add `nix.optimise` moduleMalo Bourgon
2024-03-26Use valid maintainerHyunggyu Jang
2024-03-13Merge pull request #725 from mitchmindtree/trezordMichael Hoang
2024-03-03Add support for persistent-apps in dockDylan Frankland
2024-03-04Merge pull request #821 from qowoz/usersMichael Hoang
users: fix `forceRecreate` bash comparison
2024-03-04Merge pull request #767 from jmmaloney4/masterMichael Hoang
a few fixes for ipfs module
2024-03-04Merge pull request #897 from dfrankland/fix-writing-values-with-containersMichael Hoang
fix writing values with containers