Damien Cassou
05a3116091
offlineimap: Fix for OfflineIMAP 8 ( #2479 )
...
Nixpkgs switched to OfflineIMAP version 8 which means that Python 3 is
now used instead of Python 2. As a result, get_pass() now returns a
byte array instead of a string and the argument to get_pass() must be
a byte array too. See
https://github.com/OfflineIMAP/offlineimap3/issues/103 .
2021-11-16 10:31:01 -07:00
Robert Helgesson
be1ad30503
Remove remaining allowSubstitutes = false
...
See, e.g., https://github.com/NixOS/nix/issues/4442 for wider
discussions.
2021-11-12 23:24:08 +01:00
Bernardo Meurer
1e5c8e9bff
direnv.nix-direnv: remove enableFlakes ( #2458 )
...
Since https://github.com/NixOS/nixpkgs/pull/144197 flake support is
always available. The upstream `enableFlakes` option is scheduled to be
removed altogether in https://github.com/NixOS/nixpkgs/pull/145236
2021-11-09 23:59:40 -05:00
flexagoon
288faaa5a6
programs.zsh.zplug: add zplugHome option
...
Add an option to set custom `$ZPLUG_HOME`. Changing it with
`home.sessionVariables` doesnt work, since it has to be exported
before Zplug is initialised
2021-11-02 08:49:47 +01:00
Bart Bakker
7523252f97
htop: fix order or header_columns setting ( #2435 )
...
When `header_columns` is in settings it must appear before any of the
`column_meters_*` options.
Fixes 2426.
2021-11-01 15:27:29 -04:00
Robert Helgesson
275f955db9
irssi: format using nixfmt
2021-10-31 10:32:58 +01:00
Robert Helgesson
34327e067f
tmux: format using nixfmt
2021-10-31 10:24:01 +01:00
Thiago Kenji Okada
7e30aec282
hexchat: simplify theme example
2021-10-30 19:39:59 +02:00
betaboon
cf4866d218
powerline-go: fix regression introduced by #2231 ( #2421 )
2021-10-28 22:09:20 -04:00
Nicolas Berbiche
158bc59398
vscode: allow argument for keybind to any json value ( #2418 )
2021-10-27 22:13:54 -06:00
Kid
9282dbc1fa
fish: remove promptInit
in favor of interactiveShellInit
( #2231 )
...
* fish: remove `promptInit` in favor of `interactiveShellInit`
* Oops
* starship: replace `promptInit` with `interactiveShellInit`
* autojump: replace `promptInit` with `interactiveShellInit`
* Add `mkRemovedOptionModule` for `programs.fish.promptInit`
2021-10-27 16:40:39 -06:00
leifhelm
da8a78eec9
hexchat: Replace literalExample with literalExpression ( #2410 )
2021-10-24 20:59:22 -04:00
superherointj
406eeec0b9
hexchat: add module
...
Review and contributions from Thiago Kenji Okada
<thiagokokada@gmail.com>.
Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
Co-authored-by: Nicolas Berbiche <nic.berbiche@gmail.com>
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2021-10-23 21:31:54 +02:00
Anselm Schüler
cfe82d9f44
gh: support gh as git credential manager for github.com
...
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2021-10-21 23:20:25 +02:00
Robert Helgesson
3e4fedc1d9
direnv: make fish enable flag read-only
...
We cannot disable direnv for Fish since the functionality is
automatically loaded when the package is installed.
Fixes #2357
2021-10-21 22:18:50 +02:00
Thiago Kenji Okada
91155a98ed
htop: add package option ( #2407 )
2021-10-20 09:22:17 -06:00
Naïm Favier
bd11e2c5e6
Replace usage of literalExample
...
Instead use the new function `literalExpression`. See
https://github.com/NixOS/nixpkgs/pull/136909
2021-10-13 00:16:10 +02:00
Robert Helgesson
83f5ce2aec
mbsync: add missing literalExample
2021-10-12 23:41:55 +02:00
Thiago Kenji Okada
32285d8fe6
rofi: remove options removed from upstream in v1.7.0
2021-10-09 00:45:20 +02:00
Nicolas Berbiche
82c92a18ba
gh: use structural settings ( #2339 )
2021-10-08 23:29:25 +02:00
Jonas Carpay
d9fe208f3c
z-lua: Add shell aliases to fish ( #2376 )
...
z.lua shell aliases are currently only added to bash and zsh, this also
adds them to the fish config
2021-10-06 08:49:56 -06:00
arcnmx
854406680b
vim: add option to specify pkgs.vim_configurable ( #2307 )
2021-10-06 15:56:06 +02:00
Thiago Kenji Okada
592da767bd
nnn: init ( #2368 )
...
nnn is a terminal file manager.
It is configured mostly using environment variables, so the way I
found it to avoid needing to write either shell specific code or
using `home.sessionVariables` (that would need to make the user
relogin at every configuration change) is to wrap the program using
`wrapProgram`.
2021-10-05 19:14:52 -04:00
Robert Helgesson
80d23ee06c
fzf: do shell initialization a bit earlier
...
This is to better integrate with more advanced shell history managers
like McFly and Atuin. By initializing fzf first, we allow the history
managers to steal the C-r key binding from fzf.
2021-10-06 00:25:43 +02:00
Robert Helgesson
af2007bb77
atuin: add module
...
This commit adds a module for configuring atuin, a replacement shell
history program.
The module adds options for generating atuin's `config.toml` from Nix,
and options to enable atuin's integration for bash and zsh
(which will rebind history keys to open the atuin history).
2021-10-05 23:48:52 +02:00
Kid
9b04ff5e3b
fish: remove superfluous config guard
2021-10-04 20:21:23 +02:00
Robert Helgesson
81ec2aed8a
kitty: make onChange Linux only
...
Since the `procps` package is Linux specific we have to limit the
`onChange` accordingly.
Fixes #2366
2021-10-04 18:20:04 +02:00
Emil Karlson
e0a87d75e9
firefox: add bookmarks support
...
Generate bookmarks html file and hook it up in user.js.
2021-10-03 12:16:40 +02:00
Gabriel Fontes
d5151186ac
waybar: add onChange configuration reload
2021-10-01 11:05:42 -03:00
Gabriel Fontes
ad05443e04
kitty: add onChange configuration reload
2021-10-01 11:05:16 -03:00
Marin
959217e51d
astroid: fix maildir paths ( #2350 )
...
By maildir spec, emails should be under mailbox/folder/[cur,tmp,new]
This commit changes the default maildir path to more closely match the example config:
https://github.com/astroidmail/astroid/wiki/Configuration-Reference#accountsaccountnamesave_sent_to
2021-09-28 08:16:13 -06:00
Robert Helgesson
58aa667e28
starship: initialize using command in profile
...
Fixes #2316
2021-09-21 22:37:31 +02:00
Jakub Kozłowski
821299e90e
sbt: run passwordCommand without trailing newline
2021-09-21 22:16:34 +02:00
Tad Fisher
514acaebb9
lieer: change settings to freeform type
...
Also add missing options.
2021-09-14 23:59:56 +02:00
polykernel
4b964d2f7b
bottom: add module
...
Bottom is a cross-platform graphical process/system monitor with a
customizable interface and a multitude of features.
Two unit tests were added validate the module behavior for an empty
configuration and the example configuration.
2021-09-14 23:40:21 +02:00
Renee Margaret McConahy
208e310e94
bash: allow unsetting shell options
2021-09-13 00:19:17 +02:00
Seth Etter
21a2ff4496
broot: expose modal option ( #2300 )
...
* broot: expose modal option
* broot: add basic test
* Use `mkEnableOption`
2021-08-31 10:52:20 -06:00
Mario Rodas
61ca2fc1c0
mcfly: switch to init command ( #2301 )
...
mcfly migrated its initialization method to a subcomand called `init`,
which available since mcfly 0.5.4 released on Feb 28, 2021.
2021-08-29 23:42:54 -04:00
Jason Felice
33db7cc6a6
kitty: add environment and darwinLaunchOptions options ( #2280 )
...
* kitty: add environment option
* kitty: add darwinLaunchOptions option
See https://sw.kovidgoyal.net/kitty/faq/#how-do-i-specify-command-line-options-for-kitty-on-macos
* kitty: only allow darwinLaunchOptions on darwin
* kitty: make expression shorter
* kitty: fix assertion message
2021-08-26 22:08:34 -04:00
Michael Adler
2cf19d1d98
neomutt: configurable package ( #2294 )
...
This makes it possible to easily use a different (e.g. more recent or
patched) neomutt package.
Co-authored-by: Michael Adler <therisen06@gmail.com>
2021-08-24 13:34:52 -06:00
Jan van Brügge
bf6b85136b
neomutt: Allow named mailboxes ( #2212 )
...
At the moment, only the inbox of each mail account is added to neomutt.
This inbox is always called "Inbox", so if you configure multiple
accounts, it is hard to know which one is which.
This change allows the user to specify a display name per account that
uses `named-mailboxes` under the hood.
Additionally this change now allows to add other folders than the inbox,
for example the Trash, Spam or Drafts folders to be added on a per-account
basis. Using extraOptions is not possible here, as those are lazily
loaded on mailbox open and thus would appear at the bottom and not sorted
by account.
This commit also changes the default sidebar format string to use %D
instead of %B because %B will ignore named mailboxes and show the folder
name instead.
2021-08-19 00:33:53 -04:00
Kid
49a03303e1
fish: provide different examples
2021-08-18 23:51:33 +02:00
Naïm Favier
5569770d1e
files: move dry run logic out of onChange hooks
...
Fixes #751
2021-08-17 22:14:32 +02:00
Luka T. Korošec
8d68dbd144
doc: Add an example for a git includes section ( #2275 )
...
This adds an example for the `programs.git.includes.*.contents` section
since it was a bit ambiguous as to what kind of format it expects.
2021-08-17 16:12:00 -04:00
Bart Bakker
e60dca7bb3
htop: fix htoprc when fields is not explicitly set
...
When the 'fields' setting is not set in htoprc, the htop program won't read any
of the settings. Provide a default value for fields in case it's not explicitly
set by the user.
2021-08-16 23:20:32 +02:00
Bart Bakker
447f80f676
htop: verify htoprc contents for example settings test
...
Fix ending the generated htoprc with a newline.
2021-08-16 23:20:31 +02:00
Bart Bakker
e4553546cc
htop: let htop program use its default settings
...
Don't generate the `htoprc` when using default settings to use the defaults of
the htop program.
Rename the test for this case to 'empty-settings'.
2021-08-16 23:20:31 +02:00
Bart Bakker
7226c2db46
htop: add self as maintainer
2021-08-16 23:20:30 +02:00
Bart Bakker
6eb88173e9
htop: remove deprecated options and definitions
2021-08-16 23:20:29 +02:00
Robert Helgesson
3d93e1e802
bat: support list settings and shell escaping
...
Fixes #2262
2021-08-12 21:29:14 +02:00