aboutsummaryrefslogtreecommitdiff
path: root/modules (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-04targets.darwin: disable application directoryRobert Helgesson1-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
2020-09-04kanshi: fix exec configurationNicolas Berbiche1-1/+1
Also add a test case for the exec option. PR #1446
2020-09-04targets.darwin: add moduleNicolas Berbiche2-0/+15
Currently, this module makes sure that `/Applications` directories for packages in `home.packages` get linked into the user's environment.
2020-09-04vscode: add options for keybindingsChristoph Herzog1-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
2020-09-02home-environment: coerce `home.homeDirectory` to stringRobert Helgesson1-0/+1
The home directory option should be a string without context to avoid the directory being copied to the Nix store. Fixes #1471
2020-09-02lib/file-type: remove types.loaOfCole Helbling1-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.
2020-09-01ncmpcpp: add moduleOlmo Kramer4-0/+149
PR #1457
2020-08-29files: make sure the target file name is escapedRobert Helgesson1-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.
2020-08-29xdg-mime: more forcefully create directoriesRobert Helgesson1-1/+4
By installing two packages with the same directories we should force `buildEnv` to generate real directories instead symlinks into the Nix store.
2020-08-26mcfly: add moduleMario Rodas3-0/+85
PR #1452
2020-08-26sway: set bar defaults to nullAlex Rice4-38/+131
Allows fields of bar to be nullable and omit them from the generated configuration if unset. Fixes #1361 PR #1386
2020-08-19nixpkgs: take Nixpkgs path from argumentRobert Helgesson2-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
2020-08-15kanshi: add serviceVincent Gatine3-0/+203
PR #1142
2020-08-15xdg-mime: make sure the target directories existRobert Helgesson1-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
2020-08-14zsh: add `cdpath` option (#1418)James Ottaway1-0/+12
2020-08-14waybar: add moduleNicolas Berbiche4-0/+382
PR #1329
2020-08-13gnome-terminal: add profile command optionsJack McCown1-1/+21
Allow setting custom command and login shell. PR #1423
2020-08-13kakoune: add support for pluginsDaniel Gorin1-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
2020-08-13pulseeffects: fix autostartPhilipp Mildenberger1-2/+5
PR #1442
2020-08-13git: set SSL if useStartTls is falseAndrew Fontaine1-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
2020-08-13xdg-user-dirs: fix erroneous dirs filejD91mZM21-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
2020-08-12bash: initExtra after autojump configTom Bereknyei1-2/+2
Allow for initExtra to manipulate results of autojump, e.g., remove aliases. PR #1431
2020-08-12lib.gvariant: escape backslashes in stringsSymphorien Gibol1-1/+1
PR #1433
2020-08-12kakoune: escape showWhitespace separatorsDaniel Gorin1-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
2020-08-04Revert "systemd: use sd-switch"Robert Helgesson4-35/+343
This reverts commit 9c0fe3957bb91128d5d3599e289fe9344a293ece.
2020-08-04systemd: use sd-switchRobert Helgesson4-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
2020-08-02xscreensaver: restart if settings changeRobert Helgesson1-0/+4
2020-08-02starship: fix fish integration syntaxhpfr1-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
2020-07-31files: minor documentation improvementsRobert Helgesson1-6/+10
2020-07-30dropbox: fix bug caused by Python `gi` importeyjhb1-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
2020-07-27alacritty: add package optionLeon Kowarschick1-1/+8
PR #1372
2020-07-27qutebrowser: unwrap list from keybinding removalseylerius1-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
2020-07-25dropbox: add moduleeyjhb3-0/+86
Ability to control Dropbox daemon, if it should start and where to place the files. PR #1391
2020-07-25spotifyd: add `package` optionSergei Maximov1-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
2020-07-24nushell: add module (#1333)Philipp Mildenberger3-0/+76
2020-07-24lib: support gvariant maybe typeRobert Helgesson2-0/+17
Fixes #1397
2020-07-21zsh: fix trailing white spaceRobert Helgesson1-1/+1
2020-07-20zsh: add shellGlobalAliases (#1381)dawidsowa1-0/+22
2020-07-20git: configure delta through [delta] git section (#1371)Mario Rodas1-12/+23
this breaks backwards compatibility (now accepts a dict instead of a list) so please update programs.git.delta.options accordingly.
2020-07-17sway: focus.followMouse supports yes/no/alwaysCole Mickens2-3/+11
Also add associated tests for both Sway and i3. PR #1231
2020-07-14home-environment: use per-user profile path in /etcRobert Helgesson1-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
2020-07-14sway: Fix output example (#1385)f4814n1-1/+1
The example for wayland.windowManager.sway.config.output has to contain a mode behind the filename to be correct.
2020-07-04neomutt: fix SMTP port stringSiva Mahadevan1-1/+1
Fix the SMTP port string from #1374 by properly converting the integer port into a string. PR #1377
2020-07-03kakoune: support user modes in keyMappingsRobin Stumm1-11/+18
kakoune: support user modes in keyMappings User modes are declared automatically. PR #1286
2020-07-03neomutt: Add SMTP port to smtp_urlSiva Mahadevan1-1/+3
2020-06-29powerline-go: fix argument to -error optionDamien Cassou1-1/+1
Addition of the line "local old_exit_status=$?" broke the call to powerline-go. PR #1364
2020-06-28xresources: do not generate file for empty propertiesRobert Helgesson1-12/+13
2020-06-24emacs: fix service environmentTad Fisher1-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
2020-06-23ne: add modulecwyc4-0/+109
Added a simple module to place configuration files for ne: the nice editor. PR #1336
2020-06-22tmux: only enable secureSocket on Linux by defaultMario Rodas1-1/+1
Darwin does not have the `/run/user` directory. PR #1349