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

2448 commits

Author SHA1 Message Date
Anton Tetov
2306aabbe7
bemenu: allow floats in settings
For example, the CLI option --width-factor controls the width of the
launcher and is set to a value between 0-1.
2024-04-10 21:27:15 +02:00
Lucas Wagler
881a15fafa
k9s: v0.29/v0.30 compatibility
- Add `skins` option for definition of multiple skin files
- Change file extension to ".yaml"
- Deprecate `skin` option (points to `skins.skin`)
2024-04-10 21:27:14 +02:00
Nikita Pedorich
d17141524d
mise: add module
This adds the support for the mise program, the successor of rtx. This
commit therefore also removes the rtx module.
2024-04-10 21:27:13 +02:00
Samuele Facenda
65bebc010e
hyprland: change plugins settings generation
The previous syntax (`plugin:name { ...settings}`) is not working with
more than one plugin. There is no documentation for this, just the
source code [1].

With this update the plugins paths aren't generated together with the
full config (so the "plugin" field is not "important" anymore) and the
plugins settings are generated like the other fields.

[1] 4d403dac32/src/config/ConfigManager.cpp (L1574)
2024-04-10 21:27:13 +02:00
NovaViper
1061543033
mcfly: add mcfly-fzf integration 2024-04-10 21:27:13 +02:00
Samuele Facenda
3b678fe158
hyprland: do not override existing plugins settings in config
The plugin setting in the Hyprland config is used both for defining
plugin paths and configuring the plugins. This fix removes the
silent override of the plugins settings converting them to the
`plugin:<name> { ...settings }` syntax.
2024-04-10 21:27:13 +02:00
Aleksana
e31b2f32cd
gh: add github gist to default credential hosts 2024-04-10 21:27:12 +02:00
Jared Baur
626966eb51
sway: include cursor environment variables
DBus activated services such as mako use the XCURSOR_THEME and
XCURSOR_SIZE environment variables to decide how to show the cursor,
so without these, the cursor may not match the rest of the desktop
when hovering over (in this example) mako notification surfaces.
2024-04-10 21:27:12 +02:00
Benedikt Ritter
2fa2cf99e3
gradle: Don't enable programs.java
The gradle package from nixpkgs will install a default Java version and
pass it to the gradle executable without polluting the global env.
Users can customize this by overriding the gradle package like so:

  programs.gradle = {
    package = (pkgs.gradle.override {
      java = pkgs.jdk21;
    });
  }
2024-04-10 21:27:12 +02:00
Benedikt Ritter
5a31b0b80f
gradle: re-add britter as maintainer
Follow up to 0360475ee0.
2024-04-10 21:27:12 +02:00
Damien Cassou
c08841a279
firefox: restore compatibility for extraPolicies
This commit makes it possible to specify Firefox' extraPolicies
through:

    programs.firefox.package = pkgs.firefox.override {
      extraPolicies = {... }
    }

This was possible in the past but was broken by:

  3feeb77155
  firefox: add support for specifying policies (#4626)
2024-04-10 21:27:11 +02:00
ckie
4e7e6e2538
xsession: allow xplugd to restart on failure
This should let it recover a bit better from transient errors.
2024-04-10 21:27:11 +02:00
André Silva
0effaac76b
home-manager: check profile exists in nixProfileRemove 2024-04-10 21:27:10 +02:00
Robert Helgesson
286546ec2f
Remove some formatting exceptions
This formats a few more file using nixfmt.
2024-04-10 21:27:09 +02:00
Dee Anzorge
1fd55da2a1
listenbrainz-mpd: use sdnotify when possible
The ability for listenbrainz-mpd to notify systemd when it's ready was
added in 2.3.2:

https://codeberg.org/elomatreb/listenbrainz-mpd/releases/tag/v2.3.2
2024-04-10 21:27:09 +02:00
Harsh Shandilya
28215db303
gh: only run migration when required 2024-04-10 21:27:09 +02:00
Robert Helgesson
bf8a128853
home-manager: internalize uninstall
This adds a Boolean option `uninstall`. When enabled this option will
reset side-effecting configurations to their "empty" state. The intent
is that this will cause the activation script to remove all managed
files and packages.

Doing it this way should hopefully be more robust than the previous
solution. It also allows a somewhat more convenient uninstall process
when using Flakes; put `uninstall = true` in your existing
configuration and then do a switch.

Also add simple uninstall test in CI test job.
2024-04-10 21:27:09 +02:00
Silvio Ankermann
5563347db6
thunderbird: configure signature if set (#4852)
The identity's signature  will be configured according to signature.text
and signature.showSignature. Signature commands are not supported by
Thunderbird.
2024-04-10 21:27:08 +02:00
Chance Harrison
720d97a404
xplr: support multiple plugins in cfg.plugins
Fixes ##4520

Co-authored-by: Arijit Basu <11632726+sayanarijit@users.noreply.github.com>
2024-04-10 21:27:07 +02:00
Gabriel Fontes
725d09c0f0
xdg-portal: add new module 2024-04-10 21:27:07 +02:00
XYenon
21e8b7a7df
yazi: fix nushell integration 2024-04-10 21:27:07 +02:00
MayNiklas
43b4cd0637
zsh: fix zprof typo 2024-04-10 21:27:06 +02:00
~noodlez1232
e8dfd7c0d0
i3blocks: added configuration module 2024-04-10 21:27:06 +02:00
Guillaume Girol
d5a490f031
lorri: unbreak due to too tight sandboxing
lorri needs to be able to write to /run/user/uid for the socket, to its
own cache directory ~/.cache/lorri and to the directory for gc roots.
2024-04-10 21:27:06 +02:00
Сергій
5af43a5137
Translate using Weblate (Ukrainian)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/uk/
Translation: Home Manager/Home Manager Modules
2024-04-10 21:27:06 +02:00
Omer Naveed
ce3ec36b95
bemenu: add module 2024-04-10 21:27:05 +02:00
Peter Pfeufer
0e2feebb2e
Translate using Weblate (German)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: Peter Pfeufer <info@ppfeufer.de>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/de/
Translation: Home Manager/Home Manager Modules
2024-04-10 21:27:05 +02:00
x10an14
18960fb8af
zoxide: fix use with recent Nushell
1. Zoxide (v0.9.2) leverages `def-env` in their `zoxide init nushell`
   output.

2. Since Nushell v0.88, they have removed (previously deprecated)
   `def-env`:
      https://www.nushell.sh/blog/2023-12-12-nushell_0_88_0.html#breaking-changes-toc
2024-04-10 21:27:05 +02:00
MayNiklas
b1ed121009
zsh: add support for zproof
Using zproof allows benchmarking the shell initialization. It must be
called as the first & last line of `~/.zshrc`.

PR #4745
2024-04-10 21:27:05 +02:00
r-vdp
0402cca9d8
alacritty: make compatible with alacritty 0.13
The config file is in TOML from 0.13 onwards.
2024-04-10 21:27:04 +02:00
NAHO
b2af81413f
gh: idempotently consider existing symlinks
> -e file
>        True if file exists.
> -f file
>        True if file exists and is a regular file.
> [...]
> -L file
>        True if file exists and is a symbolic link.
>
> (Source: bash(1))
2024-04-10 21:27:04 +02:00
Fugi
c06612e8db
sftpman: add module 2024-04-10 21:27:04 +02:00
not pua
a27350b595
zsh.prezto: fix path in example for 'pmoduleDirs'
Minor fix in documentation. The example in
`programs.zsh.prezto.pmoduleDirs` is not compatible with shell
environment variables like `$HOME`, must be replaced with nix
compatible variables eg: `home.homeDirectory`.

Fixes #4452
2024-04-10 21:27:04 +02:00
Tom Hall
ee5e56bd52
osmscout-server: add module
Osmscout-server includes a setting in its UI to create a systemd user
service and socket to run the server on demand. This does not function
correctly on NixOS, for two reasons:

1. It assumes that the binary path is stable (e.g.
   /usr/bin/osmscout-server), which is not the case on NixOS.

2. It auto-detects the unwrapped binary path, which doesn't work.

This module allows the user to access the same functionality on NixOS.
2024-04-10 21:27:03 +02:00
Sandro
11f904ea29
gpg-agent: don't set a default for pinentry
NixOS stopped building gtk2 pinentry by default in
https://github.com/NixOS/nixpkgs/pull/270266 and there does not appear
to be a reasonable other default.
2024-04-10 21:27:03 +02:00
Harsh Shandilya
d5f201ca6c
gh: test for existence of hosts file
Having the module enabled but never using gh will result in the config file
existing but no hosts.yml. In that scenario we won't have anything to
migrate, so only test for hosts.yml.
2024-04-10 21:27:03 +02:00
Harsh Shandilya
6ea6f0fbbb
gh: include version in settings
Also add an activation script block for allowing gh version 2.40.0 and
later to perform account migration.
2024-04-10 21:27:03 +02:00
Callum Iddon
5101f01406
oh-my-posh: enable nushell integration 2024-04-10 21:27:02 +02:00
Michael Hoang
9013d09c2a
home-environment: fix incompatible profile error
This fixes the error:

    error: profile '/nix/var/nix/profiles/per-user/enzime/profile' is incompatible with 'nix-env'; please use 'nix profile' instead
2024-04-10 21:27:02 +02:00
TornaxO7
07a186f6b9
gpg-agent: add nushell integration 2024-04-10 21:27:02 +02:00
pacien
91b4c632e6
unison: better retry/restart reporting failures
The service was never marked with a failed state with the previous
approach, which could lead broken synchronisation pair states to go
undetected.

The module now uses a timer instead of unlimited restarts, which does
not have this issue.
2024-04-10 21:27:01 +02:00
sg-qwt
20552eb59b
firefox: update docs example for nativeMessagingHosts
closes https://github.com/nix-community/home-manager/issues/4630

old way of cfg.enableTridactylNative is deprecated upstream
2024-04-10 21:27:01 +02:00
lgehr
2e895634fd
aerc-accounts: support for maildirpp (#4653)
* aerc-accounts: support for maildirpp

aerc-accounts now is aware of the mbsync.subFolders setting

* aerc: Adds test for maildirpp format

---------

Co-authored-by: lgehr <lgehr@mailbox.org>
2024-04-10 21:27:01 +02:00
r-vdp
18ddbc7f58
nix-index: use interactive shell init for Fish 2024-04-10 21:27:01 +02:00
r-vdp
8b48ff169c
zoxide: use interactive shell init for Fish 2024-04-10 21:27:00 +02:00
Stel Abrego
fbba065912
fish: escape abbr expansions once again
Commit 8cedd6 `fish: support flexible abbreviations` removed shell
escaping for fish shell abbr values. This was a dangerous breaking
change offered little value and made writing abbr expansions more
difficult. This commit restores automatic shell escaping of fish abbr
values.
2024-04-10 21:27:00 +02:00
Joaquín Triñanes
7326ba7a92
direnv: Fix nushell integration ENV_CONVERSIONS 2024-04-10 21:27:00 +02:00
Joaquín Triñanes
a05cca1dcc
direnv: Make lines shorter 2024-04-10 21:27:00 +02:00
Joaquín Triñanes
998e70eb82
direnv: Use ${getExe pkg} instead of ${pkg}/bin/pkg 2024-04-10 21:26:59 +02:00
Joaquín Triñanes
63d6e2de24
direnv: Apply nushell env transformations
In nushell, the ENV_CONVERSIONS environment variable is used to
transform the defined variables from a string to a nushell value (PATH
to a list being one of the most common uses). This commit applies
user-defined conversions to direnv-loaded variables.

This fixes binary autocompletion not being triggered for newly added
paths and makes direnv work consistently with nushell
2024-04-10 21:26:59 +02:00