aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* kanshi: fix exec configurationNicolas Berbiche2020-09-043-1/+3
| | | | | | Also add a test case for the exec option. PR #1446
* Merge PR #1460Robert Helgesson2020-09-0410-6/+87
|\
| * targets.darwin: add moduleNicolas Berbiche2020-09-047-1/+39
| | | | | | | | | | Currently, this module makes sure that `/Applications` directories for packages in `home.packages` get linked into the user's environment.
| * nix-darwin: add missing optionsNicolas Berbiche2020-09-042-5/+46
| | | | | | | | Add useGlobalPkgs, verbose and backupFileExtension support
| * flake: add nix-darwin moduleNicolas Berbiche2020-09-041-0/+2
|/
* readme: add a basic flake usage exampleTony Olagbaiye2020-09-041-0/+54
|
* vscode: add options for keybindingsChristoph Herzog2020-09-044-3/+104
| | | | | | | | | 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-022-4/+4
| | | | | | 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-0114-0/+282
| | | | PR #1457
* files: make sure the target file name is escapedRobert Helgesson2020-08-293-6/+25
| | | | | | 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.
* flake: add flake.nixTony Olagbaiye2020-08-263-0/+24
| | | | | | | | No flake.lock is added because the only input (nixpkgs) will almost always be overridden, and currently Home Manager's testing and verification is not flake based. PR #1455
* mcfly: add moduleMario Rodas2020-08-264-0/+87
| | | | PR #1452
* sway: set bar defaults to nullAlex Rice2020-08-267-38/+210
| | | | | | | | Allows fields of bar to be nullable and omit them from the generated configuration if unset. Fixes #1361 PR #1386
* sway: add default testAlex Rice2020-08-253-0/+151
|
* nixpkgs: take Nixpkgs path from argumentRobert Helgesson2020-08-193-3/+15
| | | | | | | | | | | 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-158-0/+273
| | | | 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
* home-manager: remove home-manager-path on uninstallRobert Helgesson2020-08-141-0/+1
| | | | Fixes #1443
* zsh: add `cdpath` option (#1418)James Ottaway2020-08-141-0/+12
|
* waybar: add moduleNicolas Berbiche2020-08-1414-0/+688
| | | | 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-134-1/+49
| | | | | | | | | | | | | | | | | | | 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-135-2/+14
| | | | | | | | | 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-122-1/+3
| | | | PR #1433
* kakoune: escape showWhitespace separatorsDaniel Gorin2020-08-124-8/+47
| | | | | | | | | | | | | | | 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
* kakoune: simplify testcaseDaniel Gorin2020-08-121-10/+3
| | | | | | Instead of using several regex assertions, just state precisely what we are producing. While the regex was technically more flexible, since it would ignore differences in whitespace, it was also harder to read/edit.
* Revert "systemd: use sd-switch"Robert Helgesson2020-08-045-39/+344
| | | | This reverts commit 9c0fe3957bb91128d5d3599e289fe9344a293ece.
* systemd: use sd-switchRobert Helgesson2020-08-045-344/+39
| | | | | | | | | | | | 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
* fontconfig: disable multiple font packages testRobert Helgesson2020-07-311-1/+18
| | | | | | This test started failing as described in the code comment. May be related to Nixpkgs updating Fontconfig from version 2.12 to 2.13. See https://github.com/NixOS/nixpkgs/pull/73795.
* 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-272-5/+9
| | | | PR #1372
* qutebrowser: unwrap list from keybinding removalseylerius2020-07-272-1/+4
| | | | | | | | | 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-257-0/+117
| | | | | | | 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-248-0/+120
|
* lib: support gvariant maybe typeRobert Helgesson2020-07-244-1/+30
| | | | 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-203-15/+43
| | | | 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-1711-4/+416
| | | | | | Also add associated tests for both Sway and i3. PR #1231
* home-environment: use per-user profile path in /etcRobert Helgesson2020-07-143-1/+5
| | | | | | | | | 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
* nixos, nix-darwin: fix user packages installRobert Helgesson2020-07-142-2/+2
| | | | | | It is insufficient to install the packages in `home.packages`, it has to be `home.path`, which includes configured extra package outputs or profile commands.