aboutsummaryrefslogtreecommitdiff
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* targets.darwin: disable application directoryRobert Helgesson2020-09-041-1/+3
| | | | | | | This disables the generation of the application directory until conflicting behavior with nix-darwin is resolved. See https://github.com/rycee/home-manager/issues/1341#issuecomment-687286866
* kanshi: fix exec configurationNicolas Berbiche2020-09-041-1/+1
| | | | | | Also add a test case for the exec option. PR #1446
* targets.darwin: add moduleNicolas Berbiche2020-09-042-0/+15
| | | | | Currently, this module makes sure that `/Applications` directories for packages in `home.packages` get linked into the user's environment.
* vscode: add options for keybindingsChristoph Herzog2020-09-041-3/+49
| | | | | | | | | Adds a new `keybindings` option to the `vscode` configuration. It contains a list of key bindings, which will be written to `%vscode-dir%/User/keybindings.json`. PR #1351
* home-environment: coerce `home.homeDirectory` to stringRobert Helgesson2020-09-021-0/+1
| | | | | | | The home directory option should be a string without context to avoid the directory being copied to the Nix store. Fixes #1471
* lib/file-type: remove types.loaOfCole Helbling2020-09-021-3/+3
| | | | | | loaOf has been deprecated for a long time and is now in the process of removal (see https://github.com/NixOS/nixpkgs/pull/96042). Thus, we remove it here, too.
* ncmpcpp: add moduleOlmo Kramer2020-09-014-0/+149
| | | | PR #1457
* files: make sure the target file name is escapedRobert Helgesson2020-08-291-6/+9
| | | | | | The previous implementation would allow variables to sneak into the file names. This commit makes sure the resulting target file path exactly matches the expected path.
* xdg-mime: more forcefully create directoriesRobert Helgesson2020-08-291-1/+4
| | | | | | By installing two packages with the same directories we should force `buildEnv` to generate real directories instead symlinks into the Nix store.
* mcfly: add moduleMario Rodas2020-08-263-0/+85
| | | | PR #1452
* sway: set bar defaults to nullAlex Rice2020-08-264-38/+131
| | | | | | | | Allows fields of bar to be nullable and omit them from the generated configuration if unset. Fixes #1361 PR #1386
* nixpkgs: take Nixpkgs path from argumentRobert Helgesson2020-08-192-3/+8
| | | | | | | | | | | This removes the dependency on the `nixpkgs` channel within the modules for state version ≥ 20.09. The default Nixpkgs source starting from this state version is the path of the `pkgs` argument used to bootstrap the Home Manager modeuls. This is a prerequisite for using Home Manager withing Nix flakes. PR #1420
* kanshi: add serviceVincent Gatine2020-08-153-0/+203
| | | | PR #1142
* xdg-mime: make sure the target directories existRobert Helgesson2020-08-151-0/+5
| | | | | | | | | Before the profile commands would not run if a single package is installed since `buildEnv` will produce a symlink directly to that package. By adding this dummy package we ensure that a real directory will be generated. Fixes #1392
* zsh: add `cdpath` option (#1418)James Ottaway2020-08-141-0/+12
|
* waybar: add moduleNicolas Berbiche2020-08-144-0/+382
| | | | PR #1329
* gnome-terminal: add profile command optionsJack McCown2020-08-131-1/+21
| | | | | | Allow setting custom command and login shell. PR #1423
* kakoune: add support for pluginsDaniel Gorin2020-08-131-1/+16
| | | | | | | | | | | | | | | | | | | The kakoune editor has a plugin mechanism and several plugins are already packaged under `pkgs.kakounePlugins`. However, adding these packages to `home.packages` is not enough: the `kakoune` package needs to be configured with the list of plugins to include, so that they get sourced on start-up. We add a `programs.kakoune.plugins` option, analogous to `programs.vim.plugins`. The change is backwards compatible since `pkgs.kakoune` is defined as wrapKakoune kakoune-unwrapped { }; and `wrapKakoune` defaults the list of plugins to empty. PR #1356
* pulseeffects: fix autostartPhilipp Mildenberger2020-08-131-2/+5
| | | | PR #1442
* git: set SSL if useStartTls is falseAndrew Fontaine2020-08-131-1/+8
| | | | | | | | | The git-send-email [0] script uses StartTLS if `smtpEncryption` is set to `tls`, which can break services that don't support StartTLS. [0]: https://github.com/git/git/blob/bd42bbe1a46c0fe486fc33e82969275e27e4dc19/git-send-email.perl#L1533 PR #1395
* xdg-user-dirs: fix erroneous dirs filejD91mZM22020-08-131-10/+15
| | | | | | | | | | | | | | | | | Before this change, ```rust fn main() { println!("{:?}", glib::get_user_special_dir(glib::UserDirectory::Documents)); } ``` would return `None` even though `~/Documents` is available and `xdg.userDirs.enable = true`. Checking the differences between `xdg-user-dirs-update` shows that the latter has quotes around each thing. PR #1440
* bash: initExtra after autojump configTom Bereknyei2020-08-121-2/+2
| | | | | | | Allow for initExtra to manipulate results of autojump, e.g., remove aliases. PR #1431
* lib.gvariant: escape backslashes in stringsSymphorien Gibol2020-08-121-1/+1
| | | | PR #1433
* kakoune: escape showWhitespace separatorsDaniel Gorin2020-08-121-6/+16
| | | | | | | | | | | | | | | We were passing the separators for the `show-whitespaces` highlighter verbatim. This was problematic in case one wanted to use, spaces, quotes or `%` as separators since the resulting kakoune configuration would be invalid. According to kakoune's docs, the separator has to be one character long, so we can use a simple rule for escaping them. It is possible that people has been working this around by passing, e.g. `"' '"` as separator in order to get a space (i.e., escaped explicitly by the user), so we just let longer strings be used verbatim. PR #1357
* Revert "systemd: use sd-switch"Robert Helgesson2020-08-044-35/+343
| | | | This reverts commit 9c0fe3957bb91128d5d3599e289fe9344a293ece.
* systemd: use sd-switchRobert Helgesson2020-08-044-343/+35
| | | | | | | | | | | | This makes the systemd module use the sd-switch application to perform the unit switch during a generation activation. Since the closure of sd-switch is relatively lightweight we unconditionally pull it in as a dependency. We simultaneously remove the `systemd.user.startServices` option and perform the switch action automatically. PR #1388
* xscreensaver: restart if settings changeRobert Helgesson2020-08-021-0/+4
|
* starship: fix fish integration syntaxhpfr2020-08-021-1/+1
| | | | | | | | The previous fish integration for starship erroneously used parts of POSIX-esque test syntax. It also used `-n` instead of `-z` to check for an unset variable. PR #1422
* files: minor documentation improvementsRobert Helgesson2020-07-311-6/+10
|
* dropbox: fix bug caused by Python `gi` importeyjhb2020-07-301-17/+17
| | | | | | | | | | When running the service start script with `DISPLAY` set, a `gi` import error is triggered. Blanking the variable will make the script use a different code path that does not attempt to import `gi`. Also moves activation script up into start of script instead. PR #1415
* alacritty: add package optionLeon Kowarschick2020-07-271-1/+8
| | | | PR #1372
* qutebrowser: unwrap list from keybinding removalseylerius2020-07-271-1/+1
| | | | | | | | | The option to remove the default keybindings by setting the `programs.qutebrowser.enableDefaultKeybindings` variable to `false` had a list wrapped around the `config.py` line. This would cause a type coercion error. PR #1410
* dropbox: add moduleeyjhb2020-07-253-0/+86
| | | | | | | Ability to control Dropbox daemon, if it should start and where to place the files. PR #1391
* spotifyd: add `package` optionSergei Maximov2020-07-251-2/+14
| | | | | | | | This option can be used to enable optional Spotifyd features, such as looking up the Spotify password in the system keyring or enabling MPRIS support. PR #1390
* nushell: add module (#1333)Philipp Mildenberger2020-07-243-0/+76
|
* lib: support gvariant maybe typeRobert Helgesson2020-07-242-0/+17
| | | | Fixes #1397
* zsh: fix trailing white spaceRobert Helgesson2020-07-211-1/+1
|
* zsh: add shellGlobalAliases (#1381)dawidsowa2020-07-201-0/+22
|
* git: configure delta through [delta] git section (#1371)Mario Rodas2020-07-201-12/+23
| | | | this breaks backwards compatibility (now accepts a dict instead of a list) so please update programs.git.delta.options accordingly.
* sway: focus.followMouse supports yes/no/alwaysCole Mickens2020-07-172-3/+11
| | | | | | Also add associated tests for both Sway and i3. PR #1231
* home-environment: use per-user profile path in /etcRobert Helgesson2020-07-141-1/+1
| | | | | | | | | Before the profile directory value would point directly to the build output in the Nix store. Unfortunately this would cause an infinite loop if the user's configuration directly or indirectly refers to the profile directory value. Fixes #1188
* sway: Fix output example (#1385)f4814n2020-07-141-1/+1
| | | | The example for wayland.windowManager.sway.config.output has to contain a mode behind the filename to be correct.
* neomutt: fix SMTP port stringSiva Mahadevan2020-07-041-1/+1
| | | | | | | Fix the SMTP port string from #1374 by properly converting the integer port into a string. PR #1377
* kakoune: support user modes in keyMappingsRobin Stumm2020-07-031-11/+18
| | | | | | | kakoune: support user modes in keyMappings User modes are declared automatically. PR #1286
* neomutt: Add SMTP port to smtp_urlSiva Mahadevan2020-07-031-1/+3
|
* powerline-go: fix argument to -error optionDamien Cassou2020-06-291-1/+1
| | | | | | | Addition of the line "local old_exit_status=$?" broke the call to powerline-go. PR #1364
* xresources: do not generate file for empty propertiesRobert Helgesson2020-06-281-12/+13
|
* emacs: fix service environmentTad Fisher2020-06-241-3/+9
| | | | | | | | | | | | Emacs populates 'exec-path' at launch from the 'PATH' environment variable. Likewise, the emacs derivation from nixpkgs populates 'load-path' from the 'NIX_PROFILES' variable. As neither of these are available by default in the systemd user manager, revert to the previous behavior of launching the Emacs daemon from a login shell. Fixes #1354 Fixes #1340 PR #1355
* ne: add modulecwyc2020-06-234-0/+109
| | | | | | | Added a simple module to place configuration files for ne: the nice editor. PR #1336
* tmux: only enable secureSocket on Linux by defaultMario Rodas2020-06-221-1/+1
| | | | | | Darwin does not have the `/run/user` directory. PR #1349