Commit graph

834 commits

Author SHA1 Message Date
worldofpeace ef11164c0c vscode: don't create an empty settings.json
If I enable this module without using the userSettings option it will
create an empty settings.json. We use mkIf to prevent this on the default
value.
2019-11-28 16:01:58 -05:00
leotaku 34dc4a5e03
mpdris2: improve service description
In particular, make sure the systemd service actually starts.
2019-11-27 22:46:02 +01:00
Philip Stears 0e9b7aab3c
files: additional support for symlinked /nix
In the case where `/nix` is a link, for example, on macOS Catalina,
`builtins.storeDir` returns `/nix`, not the canonical location.

This causes tests on existing files to result in Home Manager thinking
those files are outside of the store.

This change uses `readlink` on the store path so that the tests work
as intended.
2019-11-26 22:22:19 +01:00
Robert Helgesson 9781f3766d
systemd: perform reload even in degraded state
This fixes #355, fixes #798, and fixes #909.
2019-11-24 18:55:01 +01:00
Robert Helgesson 9e716025b6
lorri: restrict news entry to Linux 2019-11-24 18:53:44 +01:00
Kloenk eee6ae33e8
spotifyd: add module 2019-11-24 18:52:52 +01:00
Anton Plotnikov b1dd373f5a
files: update script to support linked Nix store 2019-11-22 20:16:42 +01:00
Tobias Happ 286dd9b308
lorri: add service 2019-11-17 20:36:27 +01:00
Pasquale 595150be86
vscode: correct base path from which to pull extensions 2019-11-15 23:18:12 +01:00
HerrMAzik 08094f3cc2
vscode: fix configDir for VSCodium 2019-11-15 23:15:00 +01:00
pacien 24dbac8da7
Revert "astroid: require notmuch synchronize flags"
The Astroid program can work without this option,
which should be disabled when synchronising emails with muchsync for example.

This reverts commit fa3d1f98e0.
2019-11-15 23:11:27 +01:00
pacien 18dc4153c7 astroid: fix maildir folder paths
Using the absolute path of maildir folders is required for Astroid to save
messages in those.
2019-11-15 18:14:58 +01:00
Nikita Uvarov 4505710565
zsh: fix history.path issues
- Default value is set to static '$HOME/.zsh_history' -- dotDir is not
prepended anymore
- $HOME is not prepended to the option value
- Ensure history path directory exists

Fixes #886, replaces #427.
2019-11-05 23:04:06 +01:00
Mario Rodas 05dabb7239
pazi: add module 2019-11-04 21:57:15 +01:00
adisbladis 49852220f9
emacs: Don't use emacsPackagesNg
It's deprecated and since Nixos 19.09 it's an alias to `emacsPackages`.
2019-11-04 11:16:06 +00:00
Robert Helgesson 6b6f759e7a
doc: update version number in some places 2019-10-29 23:08:46 +01:00
Nikita Uvarov 149c0593ab
version: add 20.03 2019-10-28 22:08:51 +01:00
Nikita Uvarov 26defdf205
tests: fix i3-keybindings test 2019-10-28 22:05:09 +01:00
wedens 5161dd3b2e
i3: add workspaceAutoBackAndForth option 2019-10-28 11:31:51 +01:00
Robert Helgesson a93d01fb4d
faq: describe how to install Nixpkgs unstable packages 2019-10-26 16:43:14 +02:00
Robert Helgesson 797c77a00a
tests: reduce number of downloads
This replaces some derivation outputs by simple strings rather than
full Nix store paths. This removes the need to download the whole
derivation when all we need is a static string.
2019-10-26 13:07:04 +02:00
dnsdhrj a177d0282f
getmail: fix port option type mismatch
Fixed type mismatch in commit 410f573226.
Added test case to ensure it works well.
2019-10-26 10:58:31 +02:00
Robert Helgesson 1b987952b5 kakoune: prepend extra configuration with newline (#870)
Fixes #869
2019-10-23 20:39:52 +09:00
SoonHo Seo 410f573226 getmail: add port option (#882)
Fixed bug where "accounts.email.accounts.<name>.imap.port" option was being ignored in getmail.
2019-10-23 20:17:04 +09:00
Pasquale 024d1aa227
vscode: add package option and link extensions 2019-10-20 21:49:17 +02:00
Wael Nasreddine b1d8c0f9c3
termite: use vte-ng at pkgs.termite.vte-ng (#865) 2019-10-12 11:39:33 -07:00
Robert Helgesson 90bf989002
newsboat: support feed titles
Fixes #861
2019-10-11 21:41:05 +02:00
Robert Helgesson 79c16b9a90
doc: fix section ID for 20.03 release notes 2019-10-09 22:41:56 +02:00
Robert Helgesson 83018ac54a
doc: add preliminary release notes for 20.03 2019-10-09 21:07:43 +02:00
Robert Helgesson ad52dbe044
doc: finalize the 19.09 release notes 2019-10-09 21:03:04 +02:00
Robert Helgesson 8bddc1adab
redshift: add assertion on latitude and longitude
These two options must be set if the provider is set to "manual".

Closes #841
2019-10-02 23:17:57 +02:00
David Wood e8dbc35613
ssh: sockets forwards; remote and dynamic forwards
This commit adds support for forwarding paths rather than just
addresses/ports. It also adds options for specifying remote and
dynamic forwards.
2019-10-02 20:42:29 +02:00
Robert Helgesson 3d546e0d01
starship: use [[ in bash init 2019-10-01 21:56:56 +02:00
Robert Helgesson a5999a62cd
starship: fix fish syntax
Fixes #858
2019-10-01 21:21:36 +02:00
Robert Helgesson 761b3d0c12
rtorrent: add news entry 2019-09-26 23:47:41 +02:00
Mario Rodas bdb4cf6c59
rtorrent: add module 2019-09-26 23:42:52 +02:00
Mario Rodas 7205d3b2d2
starship: add module 2019-09-26 23:19:39 +02:00
Mario Rodas bb5c29107e git: add attributes support 2019-09-26 22:11:01 +09:00
Tobias Happ 3f45630180
xdg-mime-apps: add legacy mimeapps.list path
Although `.local/share/applications/mimeapps.list` is deprecated, this
file is still being read by some applications. To ensure compatibility
duplicate the file as recommended in
https://wiki.archlinux.org/index.php/XDG_MIME_Applications#mimeapps.list
2019-09-20 20:15:47 +02:00
Nazarii Bardiuk 51581b7e43
sxhkd: add service 2019-09-17 21:42:05 +02:00
Robert Helgesson b0544c8cde
mpd: allow path literal values in options
This allows specifying, for example, the music directory using path
literals without causing the directory to be copied to the Nix store.

Suggested-by: Silvan Mosberger <infinisil@icloud.com>
2019-09-16 21:43:53 +02:00
pacien e347e932af
xdg-mime-apps: add module 2019-09-15 17:21:42 +02:00
Robert Helgesson 0dfa1eef25
xsession: remove bashisms in start scripts
Fixes #836
2019-09-12 21:28:36 +02:00
pacien aa5ba177cc
xdg-user-dirs: add module 2019-09-11 20:03:32 +02:00
Bjarki Ágúst Guðmundsson 41f918499b
gpg: sane default for throw-keyids option
The [throw-keyids](https://www.gnupg.org/gph/en/manual/r2110.html)
option "hides the receiver of the encrypted data as a countermeasure
against traffic analysis." However, it also slows down decryption, and
even breaks some applications; see e.g.
https://github.com/open-keychain/open-keychain/issues/626

I think the sane default would be to leave it off, just as it is off
by default in gpg. The typical user will probably not need this level
of security, and will probably prefer a better user experience (faster
decryption and compatibility with a wider range of applications).

Closes #838
2019-09-11 19:30:26 +02:00
Bruno Bigras d3e316eec5
imapnotify: pkgs.mbsync -> pkgs.isync 2019-09-11 19:27:04 +02:00
Robert Helgesson 45ec65e1cc
doc: convert some DocBook files to AsciiDoc 2019-09-07 09:29:24 +02:00
Hugo Geoffroy 05d91c5f50
mpd: use systemd journal instead of syslog
MPD is using syslog for its logging output, while it could directly
log to systemd's journal, as this daemon is primarily used as a
systemd user service. This change makes MPD log to standard output,
which is captured by systemd.

See https://github.com/NixOS/nixpkgs/pull/57608, which does the same
thing to NixOS's MPD service.
2019-09-05 22:38:35 +02:00
Robert Helgesson d6b36f12ff
keyboard: make the model option optional
Also, actually use it in the call to setxkbmap.
2019-09-05 01:56:14 +02:00
Robert Helgesson 824d31a21c
keyboard: make layout and variant optional
Also default these options to `null` for state version ≥ 19.09.

Fixes #811

Suggested-by: Sean Marshallsay <srm.1708@gmail.com>
2019-09-05 01:56:06 +02:00