Robert Helgesson
829b688827
mbsync: skip maildir creation if no account is defined
...
Fixes #937
(cherry picked from commit 621c98f15a
)
2019-12-28 09:45:22 +01:00
adisbladis
9e69b0d8b9
emacs: Don't use emacsPackagesNg
...
It's deprecated and since Nixos 19.09 it's an alias to `emacsPackages`.
(cherry picked from commit 49852220f9
)
2019-12-28 09:44:22 +01:00
Robert Helgesson
9bdfdfe14e
lorri: restrict news entry to Linux
...
(cherry picked from commit 9e716025b6
)
2019-12-10 21:00:02 +01:00
Tobias Happ
b41fc9e6e8
lorri: add service
...
(cherry picked from commit 286dd9b308
)
Fixes #944
2019-12-10 20:59:29 +01:00
leotaku
22076437f3
mpdris2: improve service description
...
In particular, make sure the systemd service actually starts.
(cherry picked from commit 34dc4a5e03
)
2019-12-08 23:04:48 +01:00
Philip Stears
0d7b515a65
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.
(cherry picked from commit 0e9b7aab3c
)
2019-12-08 23:04:39 +01:00
Robert Helgesson
eafc8897e6
systemd: perform reload even in degraded state
...
This fixes #355 , fixes #798 , and fixes #909 .
(cherry picked from commit 9781f3766d
)
2019-12-08 23:04:38 +01:00
Anton Plotnikov
415f12bae5
files: update script to support linked Nix store
...
(cherry picked from commit b1dd373f5a
)
2019-12-08 23:04:20 +01:00
pacien
06f1b13c21
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
.
(cherry picked from commit 24dbac8da7
)
2019-12-08 23:03:45 +01:00
pacien
a0653a7fb0
astroid: fix maildir folder paths
...
Using the absolute path of maildir folders is required for Astroid to save
messages in those.
(cherry picked from commit 18dc4153c7
)
2019-12-08 23:03:44 +01:00
dnsdhrj
e413a1408e
getmail: fix port option type mismatch
...
Fixed type mismatch in commit 410f573226
.
Added test case to ensure it works well.
(cherry picked from commit a177d0282f
)
2019-10-29 23:10:23 +01:00
SoonHo Seo
06ae8792e7
getmail: add port option ( #882 )
...
Fixed bug where "accounts.email.accounts.<name>.imap.port" option was being ignored in getmail.
(cherry picked from commit 410f573226
)
2019-10-29 23:10:15 +01: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
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
Robert Helgesson
698d0f0a44
polybar: restart service on failure
2019-09-03 23:51:23 +02:00
Alex Rice
ec0459e139
rofi: string -> str
2019-09-03 01:25:24 +01:00
dawidsowa
d5e73c39fc
mpv: add scripts
option
2019-09-02 18:23:17 +02:00
Robert Helgesson
a144c723a1
doc: surround name?
with fancier characters
2019-09-01 21:28:40 +02:00
Robert Helgesson
a28614e65d
git: deprecate extraConfig
as string
2019-08-30 14:50:10 +02:00
Tobias Happ
b6289f7022
vim: always add sensible plugin
2019-08-29 23:18:11 +02:00
Robert Helgesson
875eea1330
systemd: fix unit examples
...
Closes #823
2019-08-29 19:12:39 +02:00
Robert Helgesson
7c76ae1814
manual: add nmd as a generation dependency
...
This is to allow network-less rebuilding of a generation after a
garbage collection.
Fixes #819
2019-08-28 20:36:11 +02:00
Tobias Happ
c142e5264d
neovim: add extraConfig and plugins options
2019-08-28 12:35:48 +02:00
Tobias Happ
5d7eabb93f
neovim: add finalPackage option as readOnly
2019-08-28 12:25:06 +02:00
Tobias Happ
f1146a1fef
vim: allow packages to be passed as plugins
...
This change allows to pass custom packages into the `vim.plugins`
option.
Additionally this adds a deprecation warning and an error message if a
vim plugin is not present. This is an improvement because the user
gets instant feedback, when a plugin is not found.
2019-08-28 12:18:24 +02:00
Robert Helgesson
55b71223d4
Fix option defaultText
when referencing packages
...
By using `literalExample` the documentation will show the option
default without surrounding quotes.
2019-08-28 00:14:22 +02:00
Robert Helgesson
bfc28cacbe
random-background: disable creation of ~/.fehbg
file
2019-08-26 20:07:07 +02:00
Michael Fellinger
b2a787ca69
random-background: add option enableXinerama
2019-08-26 16:42:00 +02:00
Robert Helgesson
eb1b86a5ec
Replace use of stdenv.shell
by runtimeShell
2019-08-22 08:35:06 +02:00
Robert Helgesson
eb0ccf7286
docs: use nmd for generating documentation
...
The nmd library is an external library for generating Nix-centric
documentation.
2019-08-21 20:35:59 +02:00
Robert Helgesson
35752e07fa
kakoune: add missing period at end of description
2019-08-21 20:34:43 +02:00
Robert Helgesson
57925c50bf
nixpkgs: improve description formatting slightly
2019-08-21 20:20:08 +02:00
Tobias Happ
0e871b490e
ssh: add localForwards option for matchBlocks
2019-08-20 12:11:00 +02:00