summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2024-08-21feat: system.disableInstallerToolsisabel
2024-08-17Merge pull request #1026 from thecaralice/nochanMichael Hoang
Allow disabling channels
2024-08-17fix: respect user nixPath configurationAlice Carroll
2024-08-17feat: allow disabling channelsAlice Carroll
2024-08-17refactor: rename environment.postBuild to environment.extraSetupAlice Carroll
2024-08-05(feature) Add swapLeftCtrlAndFnMaxime Daffis
Use this and never find yourself again hitting fn because of muscle memory! (you can even physically swap the keycaps, at least on M series) Keycodes have been pulled from https://hidutil-generator.netlify.app/ and the hex value has been converted to a base 10 int.
2024-08-02(feature) Add Stage Manager (com.apple.WindowManager) settings as ↵Maxime Daffis
system.defaults.windowmanager All credits go to @AlexOwl. Their [PR](https://github.com/LnL7/nix-darwin/pull/505) looked abandonned so I reported their changes and addressed the change requests.
2024-07-31programs.ssh: add certificate authoritiesJörg Thalheim
2024-07-31Merge pull request #1018 from Enzime/fix/github-runners-work-dirEmily
github-runners: move `workDir` outside of `/run`
2024-07-27Merge pull request #1012 from Enzime/fix/dock-not-runningEmily
defaults: only restart Dock when user is logged in
2024-07-27`mapAttrsFlatten` -> `mapAttrsToList`zowoq
deprecated in https://github.com/NixOS/nixpkgs/commit/473e469d5a921a57b484a09d446cee6c231cd592
2024-07-27github-runners: move `workDir` outside of `/run`Michael Hoang
As `/run` gets recreated every reboot and we can't specify dependencies for launchd, creating the `workDir` every reboot will require extra complexity with a separate daemon that runs as `root` otherwise it won't have sufficient privileges. As we clean the `workDir` when the service first starts anyway, it ends up being the same.
2024-07-27activation-scripts: add extra commentMichael Hoang
2024-07-27Revert "github-runnners: fix workDir missing on reboot"Michael Hoang
This reverts commit fe99aa9699e7dd4ce6a81a8a623d010cedbe7eef.
2024-07-25defaults: only restart Dock when user is logged inMichael Hoang
2024-07-24Add inline prediction option mirroring the capitalization option347Online | Katie Janzen
2024-07-23github-runnners: fix workDir missing on rebootMichael Hoang
2024-07-22chore: removing deprecations for 25.05 nixNikola Milojević
2024-07-21Merge pull request #973 from amsynist/modules/services/jankybordersEmily
module : `jankyborders` for window borders Configuration
2024-07-21module: add jankyborders servicePrav!n
- Added the jankyborders service. - Introduced changes for whitelist and blacklist options and assertions. - emoved path reference from launchd argument. - Corrected missing trailing newline in default.nix.
2024-07-18Merge pull request #999 from Enzime/restart-dockMichael Hoang
defaults: restart Dock when changing settings
2024-07-16defaults: restart Dock when changing settingsMichael Hoang
2024-07-16Merge pull request #997 from thanegill/patch-3Michael Hoang
Add `User` and already generated `IdentityFile` to ssh_config for `nix.linux-builder`
2024-07-12Update modules/nix/linux-builder.nixThane Gill
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-07-10Merge pull request #976 from emilazy/openssh-use-links-for-authorized-keysEmily
ssh: use symlinks for `authorizedKeys` options
2024-07-09Add `User` and already generated `IdentityFile` to ssh_config for ↵Thane Gill
`nix.linux-builder`
2024-07-08nextdns: fix argument handlingHenrique Goncalves
2024-07-06Add lix-installer to known filesIan Chamberlain
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-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>