1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-13 10:13:39 +02:00
Commit Graph

1850 Commits

Author SHA1 Message Date
Naïm Favier
9154cd519a
Revert "[backport 22.11] starship: condition nushell integration on nushell 0.73+" (#3779)
This reverts commit 68163d27e9.
2023-03-17 16:31:41 +01:00
Naïm Favier
68163d27e9
[backport 22.11] starship: condition nushell integration on nushell 0.73+ (#3777)
Older versions are not supported: https://starship.rs/#nushell

(cherry picked from commit a3b90e5762)
2023-03-17 14:11:37 +01:00
Lord-Valen
b0be47978d
[Backport release-22.11] starship: add nushell integration #3701 (#3697)
* starship: add nushell integration support

(cherry picked from commit 7ae7250df8)

* starship: fix nushell integration

Overwrite starship/init.nu if already exists, since this is a cache
file for sourcing in `init.nu`.

(cherry picked from commit 646ac0ad17)

* starship: re-add ion integration

which was apparently mistakenly removed in commit 7ae7250

(cherry picked from commit a62e4c88d7)

* starship: Use mkEnableOption (#3701)

---------

Co-authored-by: Philipp Mildenberger <philipp@mildenberger.me>
Co-authored-by: Aidan Gauland <aidalgol@users.noreply.github.com>
Co-authored-by: Marcel Transier <34482842+marceltransier@users.noreply.github.com>
2023-03-08 15:24:16 +01:00
Naïm Favier
07b0b43a92
[backport 22.11] modules/git: make options passed to less(1) for diff-so-fancy configurable (#3751)
The `-X` prevents that screen is cleared when showing a diff that's
larger than my screen.

I.e. when running `git diff` and press `q`, the last thing I want to see
is the prompt with `git diff` and *not* the part of the diff I browsed,
to be clear

    $ git diff
    $ <cursor>

Considering that this is somewhat opinionated, I decided to build an
option which allows you to pass arbitrary commands to the less
invocation.

(cherry picked from commit cccd7622bd)

Co-authored-by: Maximilian Bosch <maximilian@mbosch.me>
2023-03-08 15:01:04 +01:00
Naïm Favier
86bb69b0b1
[backport 22.11] gpg: allow unsigned tags (#3730)
(cherry picked from commit d331cceec7)

Co-authored-by: Sylvain Fankhauser <sephi@fhtagn.top>
2023-03-02 12:45:46 +01:00
Wael Nasreddine
a7d3f51e9e
[backport #3639] programs.neovim: add extraLuaConfig (#3727)
Co-authored-by: Guillaume Desforges <guillaume.desforges.pro@gmail.com>
2023-03-01 14:52:37 -08:00
Thiago Kenji Okada
550809881b
[Backport release-22.11] picom: add egl backend to options (#3452)
Mirrors: 2beff9375c

Co-authored-by: Leix b <abone9999@gmail.com>
2023-02-27 22:34:00 +01:00
Robert Helgesson
6b8836ce6c
cachix-agent: add module
(cherry picked from commit 939731b8cb)
2022-12-28 17:21:05 +01:00
Robert Helgesson
2d5b55d23d
home-environment: explicitly use coreutils
Before we used dirname and readlink from the ambient environment,
which caused problems when they don't behave as expected.

Fixes #3516

(cherry picked from commit d7eee202e5)
2022-12-28 17:20:03 +01:00
Norbert Melzer
d965d248aa
java: remove IFD
The previous variant used IFD to generate the `JAVA_HOME` variable and relied on internal hooks of the `java` package, this failed for a user cross compiling their configuration.

This PR changes that and uses the `home` attribute, as documented in the very last sentence of the https://nixos.org/manual/nixpkgs/stable/#sec-language-java chapter.

(cherry picked from commit b3565b3447)
2022-12-28 17:19:23 +01:00
Mario Rodas
0e8125916b
treewide: fix typos
(cherry picked from commit b5c083300b)
2022-12-05 16:10:03 +01:00
Robert Helgesson
06fbc3a480
emacs: add note about inhibit-startup-message
(cherry picked from commit c3060ab937)
2022-12-05 16:10:02 +01:00
Mario Rodas
7eee2b197a
treewide: use liberachat and OFTC in examples
Freenode was taken over by a wannabe bitcoin millionaire [1], which
prompted the migration of communities to Libera Chat and OFTC [2].

[1] https://blog.bofh.it/debian/id_461
[2] https://hackaday.com/2021/05/20/freenode-debacle-prompts-staff-exodus-new-network/

(cherry picked from commit 6ce326cef9)
2022-12-05 16:10:01 +01:00
Mario Rodas
9ad9dfe371
yt-dlp: fix settings example
The yt-dlp settings should be an attribute set.

(cherry picked from commit e3e2abaef5)
2022-12-05 16:10:00 +01:00
Loïc Reynier
3c3af4bbff
pet: don't create file without snippets
(cherry picked from commit 15d94f3058)
2022-12-04 13:15:14 +01:00
Robert Helgesson
32c336c767
polybar: fix restart trigger
The old trigger would actually never cause a restart since the path
doesn't change. With this change the trigger is now using the actual
configuration path in the Nix store, which depends on the content.

(cherry picked from commit 65700a4fd1)
2022-12-04 13:15:03 +01:00
h7x4
6ee09246d9
polybar: don't generate config if no options are set (#3383)
* polybar: don't generate config if no options are set

* polybar: add h7x4 as maintainer

(cherry picked from commit 64f7a77517)
2022-12-04 13:14:55 +01:00
toastal
3bf287ef12
himalaya: 0.6.x config updates
Some properties were renamed. Big changes however include `backend` and
`sender` enum options.

(cherry picked from commit 9fb1bb9794)
2022-12-04 09:48:56 +01:00
toastal
c4c5ef1fa8
email: add signature delimiter
While this is created to match `himalaya`’s configuration API, this
could easly be reused for other programs that consume the email module
by concatination the strings.

(cherry picked from commit 05d71f517b)
2022-12-04 09:48:55 +01:00
toastal
e006495c15
maintainers: add toastal
I wish there there were a contribution option outside of the proprietary
closed-source, Microsoft GitHub platform :(

(cherry picked from commit 9e266ca2a7)
2022-12-04 09:48:54 +01:00
Kylie McClain
e66194675f
mpd-discord-rpc: fix typo
(cherry picked from commit 518dca61c0)
2022-12-04 08:45:36 +01:00
maximsmol
6b71989c0d
just: deprecate module
The module is no longer necessary since completions work out of the
box now.

(cherry picked from commit eb3598cf44)
2022-12-03 10:26:42 +01:00
Mario Rodas
6d3912c6db
direnv: fix direnv configuration path
Direnv >=2.21.0 uses [1] $XDG_CONFIG_HOME/direnv/config.toml as
configuration path.

[1] 54cb3c5a91

(cherry picked from commit e38ce0ae16)
2022-12-02 18:29:49 +01:00
Robert Helgesson
8f26dec249
home-manager: update stable version to 22.11
(cherry picked from commit 71fa4cdf9c)
2022-12-02 15:52:14 +01:00
li
9cbe8a2888
pueue: fix for empty settings
PR #3230

(cherry picked from commit 63cef13e49)
2022-12-02 15:52:07 +01:00
Nick Cao
e891b060e7
dbus: fix dbus-run-session command
Specifically, inform the command about the absolute path of
dbus-daemon. Otherwise it will try running dbus-daemon from PATH,
which may not always work.

PR #3405

(cherry picked from commit 02c0546033)
2022-11-29 13:27:42 +01:00
Philipp Mildenberger
73dbcfbca6
nushell: add options 'extraConfig' and 'extraEnv'
(cherry picked from commit 4a12f304e0)
2022-11-29 13:27:31 +01:00
Phillip Cloud
f7641a3ff3
scmpuff: add fish integration flag 2022-11-21 23:51:05 +01:00
Pablo Bollansee
3ce1c4787a
Translate using Weblate (Dutch)
Currently translated at 100.0% (14 of 14 strings)

Translate using Weblate (Dutch)

Currently translated at 100.0% (32 of 32 strings)

Co-authored-by: Pablo Bollansee <pablo.bollansee@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/nl/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/nl/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2022-11-21 16:35:25 +01:00
Jakub Janczak
c3690701d1
Translate using Weblate (Polish)
Currently translated at 100.0% (14 of 14 strings)

Co-authored-by: Jakub Janczak <kubek2k@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pl/
Translation: Home Manager/Home Manager Modules
2022-11-21 16:35:25 +01:00
Loïc Reynier
433e8de330
fzf: add colors option (#3206) 2022-11-21 08:35:18 -07:00
KFearsoff
c0f9cbcf93
newsboat: allow imperative "urls" management
This commit allows imperative management of "urls" file. It can be
useful if "urls" file is treated as a secret.

With this change, it's possible to provision "urls" via Syncthing,
agenix, sops-nix or other means, while still managing Newsboat
declaratively.
2022-11-20 00:26:42 +01:00
Matthieu Coudron
948d1f8a5c
programs.zsh: generate a more compact config (#3170) 2022-11-18 09:27:43 -07:00
alois31
5589b28e66
opam: add fish integration (#3422) 2022-11-18 09:00:57 -07:00
Thiago Kenji Okada
c94c9c342f
picom: remove experimentalBackends, add extraArgs (#3423)
`--experimental-backends` flag was removed in the recent released picom
v10. Using it now will result in the program exiting.

v10 also introduces its counter-part, `--legacy-backends`. However this
will be removed soon. Instead of adding this as an separate option, add
`extraArgs` option so for those that they want they can pass it manuall.
It is also more future proof.
2022-11-18 08:59:30 -07:00
Sumner Evans
fe85cc4c37
udiskie: add note about needing to enable system-wide config (#3424)
Closes #3153

Signed-off-by: Sumner Evans <me@sumnerevans.com>
2022-11-17 13:27:03 -07:00
Andrew Marshall
bc90de24d8
xdg-user-dirs: allow setting to null to skip setting
Previously, this module was all-or-nothing with its pre-defined user
dirs. This allows e.g. `xdg.userDirs.desktop = null;` to opt-out of
some configuration while still benefiting from the rest.
2022-11-13 10:38:54 +01:00
David
651db464dc
thunderbird: allow using the module on Darwin
While the Nix packages for Thunderbird are not available for macOS,
the module can still be used to manage profiles and configuration.

Fixes #3407.
2022-11-13 10:06:36 +01:00
Xyz00777
6ce3493a3c
kodi: fix syntax error in example 2022-11-09 09:16:50 +01:00
Robert Helgesson
d20e3d070c
screen-locker: minor description fix 2022-11-08 10:15:54 +01:00
Robert Helgesson
886675991b
home-environment: reset PATH in activation script
Starting with state version 22.11 we completely reset the PATH
variable in the activation script. This is to avoid impurities and
unexpected results if the activation script accidentally uses a
command found in the user's PATH.
2022-11-07 15:09:36 +01:00
Robert Helgesson
d67776563e
systemd: fix systemctlPath default text 2022-11-07 15:09:35 +01:00
Robert Helgesson
5dd3ce3f1e
mu: use absolute path to mu in activation block 2022-11-07 15:09:31 +01:00
Guillaume Girol
c5adf29545
i3: fix reloading when there are several sockets
This can happen after logout/login.

Fixes #527
2022-11-06 00:41:10 +01:00
David Arnold
989d4fa536
home-environment: remove no-op commands 2022-11-06 00:15:35 +01:00
Ronny Pfannschmidt
ccc9164b76
home-environment: fix activation on new style profiles
When using the new style profiles we get conflicts when trying to
replace the old `home-path` derivation. To avoid this conflict we
delete the old `home-path` before the install.

Unfortunately, `nix profile` does not yet have a equivalent for
`nix-env --set` and we have to do this hackish workaround. See

  https://github.com/NixOS/nix/issues/6349

for the associated issue in Nix.

Fixes #2848
2022-11-06 00:12:08 +01:00
midchildan
c728307482
darwin: use full path to commands in activation script 2022-11-05 12:14:08 +09:00
David
b764068a50
thunderbird: add module
Add a new Thunderbird module that uses the configuration in
`accounts.email.accounts` to setup SMTP and IMAP accounts.

Multiple profiles are not supported at this point.
2022-11-04 16:12:12 +01:00
natsukium
39c1e6704a
vscode: fix invalid examples 2022-11-03 09:24:25 +01:00
Marin
f520832a47
darwin: re-enable ~/Applications symlinks (#3139)
Tested-by: supermarin@users.noreply.github.com
2022-11-02 13:41:53 -04:00