1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02:00
Commit Graph

2375 Commits

Author SHA1 Message Date
Thiago Kenji Okada
1160454c79 qt: support gtk3 platform theme
This theme is part of qtbase and requires no extra packages.

Co-authored-by: novenary <novenary@kwak.zip>
2023-10-22 20:09:22 +01:00
Thiago Kenji Okada
1e80a0b3d8 qt: allow usage without setting platformTheme 2023-10-22 20:09:22 +01:00
Benjamin Lee
219d268a69
aerc: fix config paths on darwin 2023-10-22 10:49:52 +02:00
Haras
4c0bcf5dff
exa: add aliases to nushell 2023-10-22 00:38:07 +02:00
Thiago Kenji Okada
55eee5bd67 qt: use sessionVariablesExtra to export QT_PLUGIN_PATH/QML2_IMPORT_PATH 2023-10-19 21:41:18 +01:00
Thiago Kenji Okada
eaee696b6e qt: simplify style.name mappings 2023-10-19 21:41:18 +01:00
Thiago Kenji Okada
bc53e4c240 qt: add qgnomeplatform-qt6 when platformTheme is set to gnome 2023-10-19 21:41:18 +01:00
Thiago Kenji Okada
541d32d8b8 qt: add support for platformTheme lxqt 2023-10-19 21:41:18 +01:00
SrGesus
c5c1ea8518
Translate using Weblate (Portuguese)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Portuguese)

Currently translated at 88.5% (31 of 35 strings)

Co-authored-by: SrGesus <gabriel.fcf04@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pt/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-10-19 06:00:28 +02:00
Yogurt
a969307eb9
Translate using Weblate (Lithuanian)
Currently translated at 66.6% (12 of 18 strings)

Translate using Weblate (Lithuanian)

Currently translated at 88.5% (31 of 35 strings)

Co-authored-by: Yogurt <donatas.karta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/lt/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/lt/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-10-19 06:00:27 +02:00
Emre Çebi
92bf9c2585
Translate using Weblate (Turkish)
Currently translated at 88.8% (16 of 18 strings)

Translate using Weblate (Turkish)

Currently translated at 94.2% (33 of 35 strings)

Co-authored-by: Emre Çebi <emrecebi03@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/tr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/tr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-10-19 06:00:27 +02:00
sisyphushappy
3433206e51
qutebrowser: add greasemonkey userscript option
Co-authored-by: Ivar Scholten <ivar.scholten@protonmail.com>
2023-10-18 22:56:15 +02:00
Thiago Kenji Okada
4ba652d8a8 qt: add style mappings for Qt 6 2023-10-18 18:00:45 +01:00
Thiago Kenji Okada
3452e14ec7 qt: workaround issue when i18n.inputMethod.enabled = 'fcitx5' 2023-10-18 16:17:32 +01:00
Thiago Kenji Okada
4b2d3b03be qt: remove top-level with lib 2023-10-18 13:30:44 +01:00
Thiago Kenji Okada
5744ebf359 qt: export QT_PLUGIN_PATH/QML2_IMPORT_PATH
Those 2 variables are necessary to make e.g.: qt6ct work correctly.

See issue: https://github.com/NixOS/nixpkgs/issues/239909.
2023-10-18 13:15:56 +01:00
Thiago Kenji Okada
b4ea37c633 qt: remove remaining Qt 4 support
Qt 4 was removed from nixpkgs so it doesn't make sense to support it
anymore.
2023-10-18 11:58:05 +01:00
r-vdp
84fa81c7ac
fzf: add mkOrder for fish like we do for other shells 2023-10-18 11:40:55 +02:00
r-vdp
cffc9938c7
fzf: fix fish integration
Since fzf 0.43.0, the fzf_key_bindings function is only defined when
fish is running interactively, see [1].
This caused errors when entering non-interactive fish shells since we
called fzf_key_bindings during startup.

[1]: 7e89458a3b
2023-10-18 10:26:09 +02:00
Gabriel Arazas
05649393ac
recoll: update option descriptions 2023-10-18 08:45:55 +02:00
Gabe Dunn
3e1f8df4f0
thefuck: add instant mode option
Also do a slight code cleanup.
2023-10-17 17:30:37 +02:00
sefidel
7a46e6cb3c
im/fcitx5: fix missing plugins on Qt6 (#4468)
This commit fixes fcitx5 not working on Qt6 due to missing plugins, by
adding them to QT_PLUGIN_PATH.
2023-10-17 10:31:32 +02:00
Xavier Lambein
b25161c6a2
darkman: add module
Co-authored-by: Naïm Favier <n@monade.li>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2023-10-17 09:07:47 +02:00
Janik
3b67ae3f66
services.cliphist: add module (#4445) 2023-10-15 14:03:18 +02:00
Damien Cassou
d4a5076ea8
borgmatic: improve support for version 1.8.0
The configuration file format of borgmatic has changed in version
1.8.0:
https://projects.torsion.org/borgmatic-collective/borgmatic/src/branch/main/NEWS

This commit makes Home Manager generate borgmatic's configuration file
using the new format.

Even though the NEWS file indicates that old configuration files are
compatible, this is not 100% the case: empty sections work fine in old
borgmatic but stop working in new ones. I've reported the bug upstream
by email as I couldn't create an account on the forge.
2023-10-15 00:38:55 +02:00
Kiran Ostrolenk
9a2ce65697
zsh: generalize zsh-history-substring-search
Specifically, allow variable expansion for the key codes by switching
from single to double quotes.

This also adds a helpful suggestion to descriptions. Taken from the
project's README, see

  4abed97b6e/README.md (L71-L74))
2023-10-15 00:09:13 +02:00
pacien
6bba64781e
password-store-sync: remove module
The module `services.git-sync` (introduced two years after) provides
the same functionality, but in a more general and reliable way.
2023-10-10 14:28:09 +02:00
pacien
6dfbdc977e unison: add package option
So that one can use the lighter headless version of Unison.
2023-10-08 16:44:39 +02:00
a-kenji
31a27e4806
fish: query pname and version for completions
Query the `pname` and `version` attributes for completion generation,
if the `name` attribute is not available.

Fixes #2813
2023-10-07 00:59:08 +02:00
Mihai Fufezan
ed0770e962
hyprland: allow customizing systemd
Allows users to customize which environment variables to import in DBus
and SystemD user environments, and to specify which commands will be run
after the environment activation.
2023-10-06 23:34:47 +02:00
Bernardo Meurer
44635279a0
bat: allow setting themes/syntaxes without IFD
The way the `bat` module is currently written makes it essentially
impossible to use themes and syntaxes without IFD, since you must
provide the contents as string, instead of just giving a path to be
linked.

With this change, setting themes/syntaxes by-string will start issuing
warnings, and a new attribute model is added, lightly inspired by how
`programs.zsh.plugins` avoided this issue.
2023-10-06 23:26:08 +02:00
Simone Ragusa
68f7d8c0fb
firefox: set ADD_DATE and LAST_MODIFIED of bookmarks to 1
For some reason, Firefox completely discards the ADD_DATE and
LAST_MODIFIED attributes if they are set to 0. This has been
confirmed by exporting a sample set of bookmarks generated by
Nix using home-manager and comparing it to the same sample of
bookmarks set manually and then exported.

Missing these attributes can cause problems for extensions and
other tools that try to read bookmarks. A known example is the
Tridactyl extension.
2023-10-04 21:08:09 +02:00
Reza Almanda
8aef005d44
Translate using Weblate (Indonesian)
Currently translated at 94.4% (17 of 18 strings)

Translate using Weblate (Indonesian)

Currently translated at 68.5% (24 of 35 strings)

Translate using Weblate (Indonesian)

Currently translated at 61.1% (11 of 18 strings)

Translate using Weblate (Indonesian)

Currently translated at 42.8% (15 of 35 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/id/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/id/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-10-04 08:58:04 +00:00
ilaumjd
2874c6fce6
thefuck: add module 2023-10-04 09:39:23 +02:00
ilaumjd
b0e0d82696
zsh-abbr: add module 2023-10-04 08:07:49 +02:00
ilaumjd
55ce64c3ca
scmpuff: enable or disable aliases 2023-10-03 18:04:43 +02:00
Olmo Kramer
6f9b5b83ad
khard: add module 2023-10-01 09:29:05 +02:00
Avimitin
209a24dff2
wpaperd: add wpaperd configuration
Signed-off-by: Avimitin <dev@avimit.in>
2023-10-01 09:23:33 +02:00
Anthony Roussel
f1b7775d23
awscli: add module 2023-09-30 09:48:13 +02:00
Ramses
4f02e35f9d
direnv: add package options 2023-09-29 12:51:58 +02:00
Weblate (bot)
9d4cdf8cc4
Translate using Weblate (Danish)
Currently translated at 100.0% (18 of 18 strings)


Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/da/
Translation: Home Manager/Home Manager Modules

Co-authored-by: Emil Heilbo <yuki@yukie.dev>
2023-09-29 00:31:29 +02:00
Federico Rampazzo
1d813ff5a6
qt: remove qtstyleplugin-kvantum-qt4
The package qtstyleplugin-kvantum-qt4 has been removed, because it
depended on qt4.
2023-09-29 00:02:35 +02:00
jakob
0f4e5b4999
keychain: fix edge-cases in nushell integration
- If the parse does not match/returns an empty list, transpose does
  not transform it into a record and thus load-env fails.

- The parsing assumes keychain to emit bash-style completions, so set
  SHELL=bash to ensure keychain output is in the expected format.

PR #4459
2023-09-26 16:24:27 +02:00
KFears
dd88dbc694
neovim: expose finalPackage
Make the `finalPackage` option public, but still read-only. The final
package option is quite useful for users.

For example, to integrate `lazy.nvim` with Nix there are three things
that must be done:

1. `lazy.nvim` resets packpath, which should be managed by Nix; it has
   to be turned off with `performance.reset_packpath = false` option in
   `lazy.nvim`

2. Same thing applies to rtp, the relevant option is
   `performance.rtp.reset = false`

3. `dev.path` must be specified as the folder that contains the plugins.
   This folder is the path to Nix store path with Neovim plugins, and
   the plugins that are managed by Nix must be marked as `dev = true`

The third condition can not be fulfilled without this PR, as the final
package that Home Manager produces is not exposed, therefore it is
impossible to extract the Nix store path. This PR makes it more
accessible via

    ${
      pkgs.vimUtils.packDir config.programs.neovim.finalPackage.passthru.packpathDirs
    }/pack/myNeovimPackages/start
2023-09-26 08:00:52 +02:00
shimun
a88df2fb10
bacon: add module
Bacon is a background rust code checker. See
<https://dystroy.org/bacon/>.
2023-09-24 12:07:57 +02:00
Avimitin
835465e8ba
lsd: allow user to configure colors
Signed-off-by: Avimitin <dev@avimit.in>
2023-09-24 09:47:00 +02:00
Chris Dawkins
2d27bdcd64
direnv: fix nushell syntax
With nushell `0.85.0` this is no longer valid syntax. This change fixes
the syntax error with `0.85.0` while still remaining valid for `0.84.0`
and earlier.
2023-09-24 00:56:48 +02:00
XYenon
7413408b04
yazi: add fish and nushell integration
PR #4493
2023-09-24 00:41:14 +02:00
Sefa Eyeoglu
e0c70942c0
programs.sway: separate trayOutput values for sway (#4489)
Fixes nix-community/home-manager#4488

The default config for sway generates a bar block with tray_output primary. But wayland (or sway, take your pick?) has no concept of a primary display so this just results in no tray anywhere.

A better default is "*" which puts the tray on every monitor, since sway can do so without issue.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-09-23 20:53:45 +02:00
Franz Pletz
408ba13188
neomutt: fix STARTTLS
When smtps is used as a protocol, neomutt expects TLS but will if
STARTTLS should be used. When using STARTTLS, smtp has to be used as
protocol and `ssl_force_tls` is set.

See <https://neomutt.org/guide/optionalfeatures#2-1-%C2%A0starttls>.
2023-09-20 17:39:23 +02:00
Weblate
0ed5f9786b
Add translation using Weblate (Thai)
Co-authored-by: Weblate <noreply@weblate.org>
2023-09-20 06:38:48 +00:00
David Knaack
6f88243322
starship: use use instead of source for nushell
For starship v1.16 onwards this is the upstream-recommended method.
2023-09-19 23:14:29 +02:00
Robert Walter
7ee73f5363
rofi-pass: add package option 2023-09-19 22:24:36 +02:00
Robert Helgesson
8aac47a140
waybar: fix service After value
Fixes #4469
2023-09-19 21:39:16 +02:00
ykis-0-0
f5b920f4d2
fluxbox: fix xsession command
Fixes #4457
2023-09-19 20:52:50 +02:00
Motiejus Jakštys
8045eb45a7
pasystray: add extraOptions
Allows a user to, for example, add the `-g` option.

Also add a basic test case.
2023-09-19 08:02:18 +02:00
VwCSXg
feb7006159
git: replace gitToInit with lib function
Remove the function gitToInit and underlying functions in favor of using
the function lib.generators.toGitINI from nixpkgs.
2023-09-18 23:57:36 +02:00
Otavio Salvador
f092a92202
programs.rio: add module (#4118)
Adds a programs.rio module to control Rio installation and configuration, a gpu accelerated terminal

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-09-18 22:42:22 +02:00
Florian Peter
e63a6b3479
programs.i3status-rust: reload on config change (#4466)
Adds automatic reloading of i3status-rust on config change.
This is done via sending SIGUSR2, which is now supported since [v0.20.0](https://github.com/greshake/i3status-rust/blob/master/NEWS.md#new-blocks-and-features-21)

The previous method of attempting to restart i3 in its entirety didn't work at least on my system, and is now overkill anyways.
2023-09-18 15:25:42 +02:00
Hosted Weblate
d9b88b4352
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-09-14 00:13:59 +02:00
Robert Helgesson
a8cde78506
home-manager: update translation templates 2023-09-13 23:46:35 +02:00
Robert Helgesson
5f5cb7a613
carapace: add xgettext workaround 2023-09-13 23:45:50 +02:00
stuebinm
aed5ed979e
bat: allow adding custom syntaxes
Adds an option to add custom syntax files to bat's cache, analogous to
the existing programs.bat.themes option.
2023-09-13 22:29:41 +02:00
NotAShelf
a0ddf43b62
xplr: add module 2023-09-13 08:10:39 +02:00
Tristan Daniël Maat
5171f5ef65
swaylock: document the need for host PAM configuration 2023-09-11 23:59:04 +02:00
Sefa Eyeoglu
ac1c7c34db
exa: replace with eza
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-09-11 22:17:41 +02:00
Karel Kremel
2b637f3289
Translate using Weblate (Czech)
Currently translated at 100.0% (35 of 35 strings)

Translate using Weblate (Czech)

Currently translated at 5.5% (1 of 18 strings)

Co-authored-by: Karel Kremel <charles@alembiq.net>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/cs/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/cs/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-09-10 12:17:56 +02:00
Weblate
3dd5470e59
Add translation using Weblate (Czech)
Co-authored-by: Weblate <noreply@weblate.org>
2023-09-10 12:17:56 +02:00
Lin Jian
19c6a4081b
emacs: add version for default.el package
A recent change[1] in Nixpkgs makes version attribute non-optional.

[1]: https://github.com/NixOS/nixpkgs/pull/253448
2023-09-08 09:00:58 +08:00
Robert Helgesson
f1d4f49e71
just: simplify 2023-09-07 22:29:12 +02:00
Christina Sørensen
91341cde41
eza: add module
This copies the exa configuration for eza, the official fork of the
program.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-07 17:57:00 +02:00
Weathercold
3c0e381fef
carapace: add module 2023-09-05 08:39:59 +02:00
Basile Clément
886ea1d213
accounts.email: fix runbox.com TLS setup (#4408) 2023-09-04 22:29:18 +02:00
nicoo
7ac2cd01ae tmpfiles: use only xdg.configFile
This is a small refactor, and minimises the impact of home-manager#4398.
2023-08-31 14:18:55 +02:00
arjan-s
a7eab56be5
programs.khal: add settings option (#4375) 2023-08-30 11:57:47 +02:00
cafkafk
43ec65ad55
Translate using Weblate (Danish)
Currently translated at 83.3% (15 of 18 strings)

Translate using Weblate (Danish)

Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: cafkafk <christina@cafkafk.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/da/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/da/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-08-27 23:09:54 +02:00
Damien Cassou
455cc8cf1c
offlineimap: cleanup unused bindings 2023-08-27 22:36:42 +02:00
Damien Cassou
0962772e0b
antidote: cleanup unused bindings 2023-08-27 22:36:41 +02:00
Damien Cassou
35cbed7ac7
aerc: cleanup unused bindings 2023-08-27 22:36:40 +02:00
XYenon
90e62f96c7
programs.yazi: add module (#4373)
add module for yazi https://github.com/sxyazi/yazi a terminal rust file browser akin to ranger or joshuto
2023-08-27 20:47:47 +02:00
networkException
f8c5fd7509
chromium: add support for dictionaries
this patch adds support for installing hunspell dictionaries in
chromium.
2023-08-27 10:42:38 +02:00
Anton Mosich
8eb8c212e5
qcal: add module 2023-08-22 18:09:05 +02:00
Robert Helgesson
ea59b79f31
bat: generate cache file in XDG cache home
Fixes #4345
2023-08-22 08:34:00 +02:00
polykernel
a0ad98174c
home-cursor: remove IFD when linking icon directories
An IFD was introduced in bdb5bcad01 from
reading the top-level directories of the `home.pointerCursor.package`
at instantiation time.

This commit removes the IFD introduced when linking icon directories
by linking only the icon directory matching `home.pointerCursor.name`
in `home.pointerCursor.package`. This should be functionally
equivalent to linking all top-level directories of the supplied icon
package as the module only generates cursor configurations pertaining
to the cursor identified by `home.pointerCursor.name`. Deviations in
behavior caused by additional files linked in $HOME/.icons as of the
status quo should be treated as impurities.
2023-08-22 08:22:24 +02:00
polykernel
bdb5bcad01
home-cursor: improve icon compatibility
The current cursor configuration poorly accomodate applications not
following the XDG icon theme spec. As a result, some applications fail
to locate user defined icons and themes.

To address this, symlinks from icon directories in the provided cursor
package was to $HOME/.icons were added added for greater compatibility
with applications using hardcoded icons directories. This approach was
chosen to allow for coexistence of declarative and non-declarative
icon files in the icons directory. In addition, symlinks of icon
directories were mirrored in $XDG_DATA_HOME/.icons for backwards
compatibility. As per the XDG icon theme spec, applications are to
search in $HOME/.icons first for icons and themes so the existing
behavior should not break for XDG compliant applications[1].

[1] https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
2023-08-19 14:32:28 +02:00
Kilian Mio
6a94c1a597
fix(qt): allow theming for apps started by systemd (#4349) 2023-08-17 10:27:17 +02:00
Donovan Glover
9db5b89f40
pqiv: add module 2023-08-16 17:44:54 +02:00
NotAShelf
b84767a145
xplr: add module 2023-08-15 20:26:58 +03:00
Robert Schütz
18791781ea
browserpass: support librewolf 2023-08-15 08:42:51 +02:00
HeartBlin913861820c094e37
da6874e8bb
Translate using Weblate (Romanian)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Romanian)

Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: HeartBlin913861820c094e37 <heartblin@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ro/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ro/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-08-14 09:40:15 +02:00
Mihai Fufezan
88067b9b14
hyprland: remove xwayland.hidpi (#4302)
Remove xwayland.hidpi option, since we're dropping HiDPI XWayland
patches support, opting to use the builtin xwayland:force_zero_scaling
option instead. It is described in more detail in
https://wiki.hyprland.org/ Configuring/XWayland.
2023-08-14 09:40:09 +02:00
Robert Helgesson
c3ab5ea047
home-manager: handle profile list in Nix >2.17
Nix 2.17 changed the format of the `nix profile list` output. This
commit adds support for parsing the new JSON profile list format.

Fixes #4298
2023-08-13 01:18:17 +02:00
musjj
406d34d919
lf: simplify option validation (#4334)
Don't try to validate a limited set of hardcoded options, instead just
convert them as-is. Now, users can keep all their options in a single
attribute set, including arbitrary `user_{option}`s which was impossible
to express with a hard-coded submodule. As a plus, there is also less
maintainence burden.
2023-08-12 18:10:49 +02:00
Anton Mosich
255f921049
programs.khal: uncomment locale config (#4319)
While the locale options were declared, the weren't used in the
generation of the config file, because the locale submodule missed a
default, which failed the tests. I added an empty attribute set as a
default, which fixes the test, and works with the defaults in the
submodule options as expected.
2023-08-12 17:21:13 +02:00
Slabity
6e1eff9aac
kanshi: support adaptive sync (#4328) 2023-08-10 15:05:36 +02:00
Jian Lin
a8f8f48320
mu: add package option (#4325) 2023-08-09 18:40:43 +02:00
Christian Albrecht
7b8d43fbaf
modules: types.string throws error now (#4324)
Since the merge of https://github.com/NixOS/nixpkgs/pull/247848
2023-08-08 17:00:24 +02:00
Ivan Malison
903e06d734
taffybar: Avoid restarting too quickly (#4316) 2023-08-06 11:00:44 +02:00
Maxim Karasev
0a014a729c
aerc: do not use smtp-starttls (#4272)
It was deprecated in 0.15.0, +insecure schema is suggested instead.
Thus, we can just copy imap logic, which already uses +insecure.
2023-08-05 10:56:10 +02:00
Lena Fuhrimann
15043a6591
zsh: Add zsh.history.ignoreAllDups config option (#4248) 2023-08-04 12:12:57 +02:00