1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 13:57:31 +02:00
Commit graph

1145 commits

Author SHA1 Message Date
Ramses
b07382acc2
direnv: add package options 2024-04-10 21:26:21 +02:00
jakob
cfd725853b
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
2024-04-10 21:26:20 +02:00
KFears
1c92ee2a49
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
2024-04-10 21:26:20 +02:00
shimun
72202495ae
bacon: add module
Bacon is a background rust code checker. See
<https://dystroy.org/bacon/>.
2024-04-10 21:26:19 +02:00
Avimitin
9711ed2e82
lsd: allow user to configure colors
Signed-off-by: Avimitin <dev@avimit.in>
2024-04-10 21:26:19 +02:00
Chris Dawkins
6c792aa57e
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.
2024-04-10 21:26:18 +02:00
XYenon
5e5063a9bd
yazi: add fish and nushell integration
PR #4493
2024-04-10 21:26:18 +02:00
Franz Pletz
9e70a3df87
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>.
2024-04-10 21:26:18 +02:00
David Knaack
c20a5caba2
starship: use use instead of source for nushell
For starship v1.16 onwards this is the upstream-recommended method.
2024-04-10 21:26:17 +02:00
Robert Walter
92d368d971
rofi-pass: add package option 2024-04-10 21:26:17 +02:00
Robert Helgesson
bd2e251fa3
waybar: fix service After value
Fixes #4469
2024-04-10 21:26:16 +02:00
VwCSXg
84f11acf9a
git: replace gitToInit with lib function
Remove the function gitToInit and underlying functions in favor of using
the function lib.generators.toGitINI from nixpkgs.
2024-04-10 21:26:15 +02:00
Otavio Salvador
e69f3844a3
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>
2024-04-10 21:26:15 +02:00
Florian Peter
382faa84fe
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.
2024-04-10 21:26:15 +02:00
Robert Helgesson
fe9daa8aae
carapace: add xgettext workaround 2024-04-10 21:26:14 +02:00
stuebinm
088f23f690
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.
2024-04-10 21:26:14 +02:00
Tristan Daniël Maat
768e981935
swaylock: document the need for host PAM configuration 2024-04-10 21:26:13 +02:00
Sefa Eyeoglu
e12a69178c
exa: replace with eza
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-10 21:26:12 +02:00
Lin Jian
740ea8730d
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
2024-04-10 21:26:11 +02:00
Robert Helgesson
9447730c9a
just: simplify 2024-04-10 21:26:10 +02:00
Christina Sørensen
9632dbb67d
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>
2024-04-10 21:26:10 +02:00
Weathercold
26ddb8a893
carapace: add module 2024-04-10 21:26:10 +02:00
arjan-s
83cae866ee
programs.khal: add settings option (#4375) 2024-04-10 21:26:08 +02:00
Mikilio
296e5d371e
todoman: use ini format for settings
Use ini format to generate config
2024-04-10 21:26:08 +02:00
Mikilio
0055eeafb6
todoman: added maintainer
Adds Mikilio as maintainer.
2024-04-10 21:26:08 +02:00
Mikilio
e492daeae3
todoman: init module
Adds module to configure todoman in a way that is agnostic with other
pimutil projects.
2024-04-10 21:26:08 +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
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
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
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
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
Matt Moriarity
a4f4508791
jujutsu: fix zsh completion (#4305) 2023-08-04 11:19:57 +02:00
Masanori Ogino
a146ab6a61
himalaya: update a link to ticket 2023-08-02 11:41:17 +02:00
Yt
8c731978f0
nushell: deprecation of let-env (#4292) 2023-08-01 19:27:30 +02:00
Yureka
4542db6056
man: fix caches generation in cross-compiled system (#4294)
Co-authored-by: Your Name <you@example.com>
2023-08-01 12:56:37 +02:00
Yureka
89df56fefe
fish: fix session vars build in cross-compiled system (#4293) 2023-08-01 10:50:13 +02:00
satoqz
4fd794d3df
gh: option to enable helper for additional hosts (#4288)
* gh: option to enable helper for additional hosts

`gh` can also be used with github enterprise
hosts, for which there exists no easy option
to enable the credential helper except for
directly working with `programs.git.extraConfig`.
Not sure if this is a needed addition since it's
somewhat niche, at the same time it's not very
complex and makes the life of github enterprise
a little easier.

* gh: update credential-helper tests

* gh: refactor credential helper option

this moves from `enableGitCredentialHelper` to
`gitCredentialHelper.enable` and
`gitCredentialHelper.hosts`.

* gh: lib.mkIf -> mkIf
2023-08-01 01:40:37 +02:00
Robert Helgesson
f58889c07e
gnome-terminal: add assertion on profile names 2023-07-29 19:43:20 +02:00
Anselm Schüler
8d243f7da1
gpg: fix typo (#4277) 2023-07-27 18:54:08 +02:00