summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-03-22launchd: ensure user LaunchAgents existDaiderd Jordan
Apparently this doesn't exist by default, so make sure it's created first. Fixes #134
2019-03-20lnl: update reexec aliasesDaiderd Jordan
2019-03-02Add NSGlobalDomain configsBen Zhang
2019-03-02add trackpad configs: ActuationStrength, FirstClickThreshold, ↵Ben Zhang
SecondClickThreshold
2019-02-24darwin: replace usages of nix-instantiate --eval with --find-fileDaiderd Jordan
2019-02-24users: gate the creation with an option, false by default and use createhomedirWael M. Nasreddine
2019-02-24users: create/chown the home only when it is different than /var/emptyWael M. Nasreddine
2019-02-24users: create the home-directory for a new userWael M. Nasreddine
2019-02-23users.users: only extend profiles if packages are definedDaiderd Jordan
2019-02-23Merge pull request #127 from kalbasit/nix-darwin_user-packagesDaiderd Jordan
users: install user packages via users.users.<name?>.packages
2019-02-23Merge pull request #121 from thefloweringash/channel-version-infoDaiderd Jordan
system-version: get version information from channels
2019-02-21order the environmentWael M. Nasreddine
2019-02-22nix-daemon: make default values overridable without mkForceDaiderd Jordan
2019-02-21users: increase default nixbld users to 32 and set knownUsers by defaultDaiderd Jordan
Since the users.nix.configureBuildUsers target nixbld users, don't require them to be added to knownUsers explicitly.
2019-02-20users: install user packages via users.users.<name?>.packagesWael M. Nasreddine
2019-02-18nix-daemon: enable forking workaround by defaultDaiderd Jordan
This should be relatively safe and there's still no real solution for it.
2019-02-17fonts: rewrite activationDaiderd Jordan
The new implementation is a bit smarter and only updates fonts that changed. But more importantly /run/current-system isn't used anymore which breaks initial activation and installs the previous set of fonts instead of the one in the new system. Fixes #115
2019-02-16lnl: start tmux panes in a sandbox by defaultDaiderd Jordan
2019-02-16tmux: add defaultCommand optionDaiderd Jordan
2019-02-16lnl: sandbox fetch-nixpkgs-updates serviceDaiderd Jordan
2019-02-16sandbox: add module for sandbox profilesDaiderd Jordan
This could be used outside of nix-darwin, but this is mainly useful for services since all of the inputs are known there. { # $ /usr/bin/sandbox-exec -f $profile $coreutils/bin/ls / # ls: cannot access '/': Operation not permitted security.sandbox.profiles.example.closure = [ pkgs.coreutils ]; }
2019-02-12lnl: add tmp and var/tmp to sandbox pathsDaiderd Jordan
2019-02-12lnl: (re)enable sandboxing with extra-sandbox-pathsDaiderd Jordan
There are still some problems with frameworks, this opens up the sandbox enough by default to work around that and make it work like expected in most cases.
2019-01-19system-version: get version information from channelsAndrew Childs
2019-01-16nix-daemon: use system NIX_SSL_CERT_FILEDaiderd Jordan
Otherwise the daemon wouldn't honor extra certificates from the security.pki options.
2019-01-16lnl: disable cachixDaiderd Jordan
2019-01-15security.pki: add module to configure ca certificatesDaiderd Jordan
This makes NIX_SSL_CERT_FILE configurable and makes /etc/ssl/certs/ca-certificates.crt available like nixos.
2019-01-07lnl: cleanup and configure nixbld usersDaiderd Jordan
2019-01-04zsh: Add vendor-completions to fpathKirill Elagin
2019-01-04checks: actually fix gc conditionDaiderd Jordan
Introduced in 28710738a3ca7c9a16d63b89c904588d030edf01, the check should _only_ run if the user is not configured not the other way around.
2019-01-03nix-gc: fix evaluationDaiderd Jordan
2019-01-03checks: fix gc conditionDaiderd Jordan
Don't fail if the user is configured properly.
2019-01-02checks: generalize and make them more configurableDaiderd Jordan
All the checks are now aggregated in system.checks.text making it easy to allow certain checks to be disabled as well as disabling them alltogether if desired. eg. # Disable all checks. system.checks.text = mkForce ""; Fixes #117
2019-01-02nix-gc: add check for nix.gc.automaticDaiderd Jordan
This hopefully avoids problems for people that try to enable the service with a single-user install. Fixes #118
2019-01-02nix-gc: add user optionDaiderd Jordan
This configures the user that runs the garbage collector, particularly useful for single-user installs. Otherwise it runs as root resulting in permission issues afterwards.
2019-01-02Merge pull request #97 from peel/patch-1Daiderd Jordan
[services.emacs] use `fg-daemon` flag for service
2018-12-18lnl: add nix-daemon objc workaroundDaiderd Jordan
2018-12-18lnl: fix reexec aliasesDaiderd Jordan
2018-12-18lnl: enable gnupg agentDaiderd Jordan
2018-12-18lnl: add awscliDaiderd Jordan
2018-10-25Unify environment configuration and don't run in child shellsAndrew Childs
This should enable `nix run` to work under shells like fish and zsh, as well as making child shells not needlessly reset any environment that should be inherited. Implementation adapted from NixOS.
2018-10-16bash: place bashrc early non-interactive return below system setupMario Rodas
Setting PATH and environment setup is required in non-interactive shells
2018-10-14bash: do not evaluate completions on dumb terminalsMario Rodas
2018-10-14bash: do not evaluate /etc/bashrc on non-interactive shellsMario Rodas
2018-10-12tmux: remove reattach-to-user-namespaceDaiderd Jordan
It's not been needed anymore for a few macOS releases now.
2018-10-11Merge pull request #108 from thefloweringash/dock-show-recentsDaiderd Jordan
system.defaults.dock: add `show-recents` option
2018-10-11Merge pull request #102 from peel/f-fonts-moduleDaiderd Jordan
initialise fonts module
2018-10-11system.defaults.dock: add `show-recents` optionAndrew Childs
2018-10-06skip buildEnv and create a package with /share/fontsPiotr Limanowski
2018-10-05fonts: adds `enableFontDir` flagPiotr Limanowski
For NixOS compatibility reasons we're using enableFontDir flag that in turn enables/disables font management in /Library/Fonts directory.