1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 19:29:47 +01:00
Commit graph

2922 commits

Author SHA1 Message Date
Nithin S Varrier
16fe78182e
conky: update systemd exec path to config package
Currently systemd ExecStart uses pkgs.conky as executable path, this
commit changes it to the package defined by services.conky.package.
2024-11-23 18:36:17 +01:00
arminius-smh
445d721ecf
home-cursor: add hyprcursor support
Add the option to enable hyprcursor support by setting the relevant
environment variables.
2024-11-23 18:27:16 +01:00
Nikolaos Karaolidis
a42fa14b53
syncthing: expand declarative configuration
This expands the Syncthing configuration to allow declarative
settings. Code mostly pulled from the Nixpkgs module.

Changes compared to the NixOS module are:

Removed the following options:

- user, group, systemService: Unnecessary since Syncthing always runs
  as the user declaring the configuration.

- dataDir configDir, databaseDir: Pointed to ~/.local/state/syncthing,
  the default Syncthing directory.

- openDefaultPorts: We don't have access to the system firewall.

Furthermore, multiple changes to systemd services were made to
maintain consistency with other Home Manager modules, sandboxing
options might need to be reviewed further.

Fixes #4049
2024-11-18 23:27:58 +01:00
chayleaf
0bd5e9c76c
librewolf: hide bookmarks option 2024-11-18 22:14:54 +01:00
chayleaf
18462998b1
librewolf: use mkFirefoxModule 2024-11-18 22:14:54 +01:00
Ilham AM
f3a2ff6958
zsh-abbr: update source path (#6084) 2024-11-18 00:44:26 +01:00
Kacper Koniuszy
aecd341dfe
firefox: improve search engine disclaimer generation
Using a fixed application name in the salt for the search engine name
hash can break with minor branding changes. For example, LibreWolf 127
used the application name "LibreWolf", but in version 128 it is
"Firefox".

The proper name can be found in about:support -> Application Basics.

Because it doesn't have to be related to the product name visible in
most of the browser (for example in the window title and help menus),
we shouldn't rely on cfg.name for that.

The application name can be read from lib/*/application.ini and we can
use that if the browser was installed via Home Manager. If not, we can
fall back to cfg.name.
2024-11-17 22:58:01 +01:00
Juanjo Presa
5056a1cf0c
version: allow 25.05 as state version
Nixpkgs updated upstream:
90fcf3aa7e
2024-11-17 09:34:39 +01:00
Andrew Marshall
1bd5616e33
lib/file-type: Make force option visible (#6003)
This is something that is useful, we should not hide it from the docs.
2024-11-16 20:54:20 +01:00
Nanotwerp
c7c2517612
{gtk, dunst}: replace pkgs.gnome.adwaita-icon-theme with pkgs.adwaita-icon-theme in the examples (#5712)
`adwaita-icon-theme` has been moved out of the `gnome` scope and into the top level with https://github.com/NixOS/nixpkgs/pull/319659
2024-11-16 19:36:13 +01:00
Jany
d154a557da
aerc: add support of account gpg config (#5298) 2024-11-16 18:38:16 +01:00
gmvar
1d0862ee2d
feh: add themes option (#6074)
- added themes option
- added themes test
- updated broken man page links
2024-11-14 18:16:21 +01:00
Gaétan Lepage
35b055009a
kanshi: add package to home.packages 2024-11-13 23:07:20 +01:00
RedEtherbloom
3c044aefe6
git-sync: add example to repository option 2024-11-13 23:03:24 +01:00
RedEtherbloom
cd21d2e61b
git-sync: fix crash when whitespace in path
systemd rejects the service unit due to whitespace in the environment
variable assignment, pointing to the repo path, being invalid for
systemd's unit format.

See https://github.com/nix-community/home-manager/issues/6023 for
details.

The git-sync variable should also be escaped due to similar issues
with e.g. local git urls.
2024-11-13 23:03:19 +01:00
Milo Moisson
60bb110917
helix: fix wrapping of extraPackages
This makes extraPackages the default, but they do not shadow the env
so you can still have packages (e.g. LSPs) with a different version
than the global one in you local env like nix's shells.
2024-11-10 11:42:08 +01:00
Gaétan Lepage
7309007271
news: fix typo 2024-11-10 11:38:24 +01:00
rodrigovillarbello
2f607e07f3
docs: home.sessionVariable clarification
Closes: https://github.com/nix-community/home-manager/issues/6027
2024-11-05 21:18:50 +01:00
sinavir
2c6a9b3ccf
git: fix maintenance service
Call to git-maintenance in the systemd user service was using a
erroneous value for exec-path flag. Removing the flag is fine.
2024-11-03 12:29:02 +01:00
Nicholas Hassan
1743615b61
podman: add module
Adds a new Podman module for creating user containers and networks as
systemd services. These are installed to the user's
`$XDG_CONFIG/systemd/user` directory.
2024-11-01 20:45:06 +01:00
Kosta Gorodetsky
8ca921e5a8
git-credential-oauth: fix ordering of git extraConfig
Added `mkAfter` to `git.extraConfig` to ensure our oauth is last, as
required to work with additional helpers.
2024-11-01 09:46:22 +01:00
Tomo
05d9bee4a5
git-credential-oauth: fix use of mkIf and add tests
Closes #6005
2024-10-27 07:45:32 +01:00
William Phetsinorath
93435d27d2
direnv: add support for mise integration 2024-10-26 00:16:39 +02:00
nyadiia
0c0268a3c8
eza: add color option 2024-10-25 16:02:28 +02:00
Tomo
c0e2315987
git-credential-oauth: add extraFlags option
This facilitates a legitimate use-case for browserless systems. From the
README:
> On systems without a web browser, set the -device flag to authenticate
> on another device using [OAuth device flow]:
> ```ini
  [credential]
	  helper = cache --timeout 7200	# two hours
	  helper = oauth -device
  ```

[OAuth device flow]: https://www.rfc-editor.org/rfc/rfc8628

Please note that, for the documentation about the man-page to be
accurate, https://github.com/NixOS/nixpkgs/pull/302922 must be merged.
2024-10-25 15:56:37 +02:00
Bruno BELANYI
6cc03e337a
nix-gc: add randomizedDelaySec option
There's no launchd equivalent to this option, so this is a no-op on
Darwin.
2024-10-25 15:53:42 +02:00
Giovanni Nicosia (mood)
c77c3bb233
yazi: enable shell integration values by default
Previously,

  - `programs.yazi.enableNushellIntegration`,
  - `programs.yazi.enableFishIntegration`, and
  - `programs.yazi.enableZshIntegration`

were set to false by default. It seems more appropriate to enable
these integrations by default.
2024-10-25 11:21:03 +02:00
Jure Varlec
8bd6e0a1a8
nixgl: add support for channel-based configuration 2024-10-25 10:20:38 +02:00
Jure Varlec
7a5879707b
nixgl: API rework for flexibility and dual-GPU 2024-10-25 10:20:38 +02:00
Mel Bourgeois
e61f87969a
nixgl: Improve option documentation 2024-10-25 10:20:38 +02:00
Mel Bourgeois
7dee0dc8f0
nixgl: reference lib directly
Co-authored-by: V. <150687949+vigress8@users.noreply.github.com>
2024-10-25 10:20:38 +02:00
Mel Bourgeois
d0c036ca49
nixgl: ensure makeWrapper is present during build
Co-authored-by: V. <150687949+vigress8@users.noreply.github.com>
2024-10-25 10:20:38 +02:00
Mel Bourgeois
199cf5634c
nixgl: use -q to silence grep
Co-authored-by: V. <150687949+vigress8@users.noreply.github.com>
2024-10-25 10:20:38 +02:00
Mel Bourgeois
b9fe747915
nixgl: use makeWrapper and update docs
makeWrapper is more consistent with the rest of nixpkgs & home-manager,
so it should be a little more maintainable. It can also validate that
the wrapper command is executable at build time.
2024-10-25 10:20:37 +02:00
Mel Bourgeois
bbd4254d00
nixgl: make desktop files point to wrapped exe
Some desktop files will refer to the absolute path of the original
derivation, which would bypass nixGL wrapping. So we need to replace the
path with the path to the wrapper derivation to ensure the wrapped
version is always launched.
2024-10-25 10:20:37 +02:00
Mel Bourgeois
446293584f
nixgl: add module
This module enables wrapping programs which require access to libGL
with nixGL on non-NixOS systems.
2024-10-25 10:20:32 +02:00
Luflosi
82378b3f7f
htop: use attrsOf instead of attrs as settings type 2024-10-25 10:08:11 +02:00
diniamo
c7cfdb3864
spotify-player: add support for actions
Actions were added in the v0.19.1 release.
2024-10-25 10:04:48 +02:00
DrymarchonShaun
eea1bc6072
gpg-agent: use $TTY parameter in zsh integration 2024-10-25 09:53:41 +02:00
Willi Carlsen
454e8d6b15
granted: use assume directly
The `.assume-wrapped` path is not available since the merge of

    https://github.com/NixOS/nixpkgs/pull/347816

Use assume directly instead.

PR #5994
2024-10-25 09:42:19 +02:00
Omer Naveed
0a0b1b18bd maintainers: remove omernaveedxyz 2024-10-24 23:41:24 -05:00
Sandro Jäckel
a4353cc43d
accounts/contacts: fix defaultText rendering 2024-10-23 22:55:53 +02:00
Sandro Jäckel
5765fe4feb
accounts/calendar: fix defaultText rendering 2024-10-23 22:55:42 +02:00
Austin Horstman
5ec753a1fc
modules/neovim: fix config generation (#5976) 2024-10-22 00:58:46 +02:00
Talha Can Havadar
fe56302339
zoxide: fix fzf bash-completion conflict
When zoxide initializes after fzf it causes fzf " ** " trigger to not
work.

To fix the issue we needed to make zoxide initialize earlier than fzf
but after bash-completion.

PR #5955
2024-10-20 10:58:46 +02:00
John Titor
892a6443b7
nh: add module 2024-10-20 10:54:45 +02:00
Scharada
122f70545b
firefox: change container.json version to 5 2024-10-19 09:02:11 +02:00
Muhammad Talal Anwar
802b3cb2d4
espanso: use launcher command on Linux
The source uses `launcher` instead of `daemon`. Additionally we remove
`Type` and add `RestartSec` as defined in the source:

b421bcf73f/espanso/src/res/linux/systemd.service (L5-L7C1)
2024-10-19 09:01:11 +02:00
joygnu
09a0c0c029
cmus: add module
PR #5951
2024-10-18 16:03:33 +02:00
Austin Horstman
2ffb68e209
thunderbird: conditional search file 2024-10-18 08:31:24 -05:00
Austin Horstman
d4a3186de0
firefox: conditional search file 2024-10-18 08:31:24 -05:00
K900
cb93ab1c99
direnv: remove nushell hack 2024-10-18 15:26:47 +02:00
K900
1834304bc3
direnv: simplify, work around nushell/nushell#14112
nushell 0.99 does not like early returns in hooks. So, what if we just
didn't? Rewrite the entire hook to work as one single pipeline.
2024-10-18 15:26:17 +02:00
libewa
e78cbb2027
zed-editor: add module
Add a simple module for zed-editor, a simple editor written in Rust.
2024-10-17 16:15:20 +02:00
Robert Helgesson
e43902a7d6
broot: fix minor documentation bug 2024-10-17 13:51:49 +02:00
xwjqv
800a191f33
broot: allow multiple keyboard keys per verb
To allow multiple keys the verb options need to accept listOf str.
2024-10-17 13:41:55 +02:00
Jeffrey C. Ollie
1d9b4a3e60
fish: make generation of completions optional
Add a config option to optionally disable the generation of command
completions based upon man pages.
2024-10-17 13:31:56 +02:00
Viktor Illmer
f81be125ff
Translate using Weblate (German)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: Viktor Illmer <accounts@viktor.im>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/de/
Translation: Home Manager/Home Manager Modules
2024-10-17 11:23:29 +00:00
AtomicDude
b534276566
Translate using Weblate (Romanian)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: AtomicDude <vasilescutoma4@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ro/
Translation: Home Manager/Home Manager Modules
2024-10-17 11:23:28 +00:00
Joaquín Triñanes
628b15d275
nushell: allow arbitrary environment variables 2024-10-17 12:54:19 +02:00
Joaquín Triñanes
edf15f1549
nushell: create generator helpers 2024-10-17 12:54:19 +02:00
Joaquín Triñanes
994a0baf7b
nushell: add joaquintrinanes as maintainer 2024-10-17 12:54:19 +02:00
Sergey
2a4fd1cfd8
eza: fix icons option
Fixes the icons option for eza which was breaking completion in zsh.
2024-10-15 23:22:21 +02:00
Kira Bruneau
e1aec543f5
thunderbird: support setting search engines (#5697)
* firefox: split search into separate submodule file

* thunderbird: support setting search engines
2024-10-14 13:01:26 +02:00
Nabeen Tiwaree
d57112db87
pls: fixed perm argument to pass via pls 2024-10-12 11:43:52 +02:00
Kilian Mio
2b13611eae
floorp: add module
Also fix tests for Firefox module derivatives.
2024-10-12 00:21:33 +02:00
Perchun Pak
65ae9c1473
git: add module for git maintenance (#5772)
Adds module for git-scm.com/docs/git-maintenance.
2024-10-11 14:48:52 +02:00
aabccd021
5828309542
vifm: add module 2024-10-11 12:54:39 +02:00
Damien Cassou
03f8e0b3b3
snixembed: add module
This is used by SafeEyes (another home-manager) module to show a
systemtray icon. See https://git.sr.ht/~steef/snixembed.

Fixes #5728
2024-10-11 00:14:36 +02:00
Andrew Voynov
8bb5d53c58
docs: add XDG_*_HOME mentions to xdg.*Home options 2024-10-10 21:22:52 +02:00
Utkarsh Sharma
d3ee25c078
Translate using Weblate (Hindi)
Currently translated at 5.5% (1 of 18 strings)

Translate using Weblate (Hindi)

Currently translated at 13.5% (5 of 37 strings)

Co-authored-by: Utkarsh Sharma <utkasharma19@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/hi/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/hi/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-10-09 16:31:58 +02:00
Timothy Gallion
038630363e
xdg-mime type package options (#5920)
* xdg-mime: allow overrides to shared-mime-info and desktop-file-utils

The `xdg-mime` module now exposes packages to determine what will be run
for update-mime-database and update-desktop-database. This allows users
to select a different version of these packages if the are incompatible.
This should, in combination with an override to the version of
`shared-mime-info` (can be found here notalltim/home-manager-config#4),
resolve #4955, #5102, #4682, and possibly #4941. The problem seems to stem
from a mismatch in the version of `shared-mime-info` with the host.

I also switched from using `buildPackages` to `pkgs` to improve
cross-compilation compatibility.

* xdg-mime: Add tests for xdg-mime module

The xdg-mime module was missing tests so I added basic test for all the
options and checked the basic behavior. It covers ensuring that the
proper files/folders are created and that the package overrides work.
2024-10-07 23:39:24 +02:00
Akshett Rai Jindal
3ac39b2a8b
zathura: Fix the type for config options (#5934)
* zathura: add float to acceptable types for `options` attrset

The man page states that the `set` directive can take 4 types of values:
INT, FLOAT, STRING, BOOL. But the FLOAT part was missing from the
home-manager module

* zathura: make type of `programs.zathura.options` more readable

Change from cascading mess of `either` to `oneOf`
2024-10-07 15:16:25 +02:00
MithicSpirit
fcf5e608ac
kitty: allow float values in settings (#5925)
Some settings in kitty allow floating-point values, but this was not
reflected in the type.
2024-10-07 12:18:19 +02:00
Christophe Van den Abbeele
509dbf8d45
megasync: fix issue with service failing to launch
Change `After=` setting in the user service to only launch after the
full `graphical-session.target`.
2024-10-04 13:32:07 +02:00
Christina Sørensen
30e04f3d47
pass-secret-service: add GNUPGHOME to service env vars
This is nescesarry for non-default locations, and without it, many
programs like element-desktop break in very confusing ways.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-04 09:19:02 +02:00
Sirio Balmelli
437ec62009
borgmatic: note Darwin platform support
The current module works on Darwin as-is; mark the platform as
supported.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-10-01 23:11:40 +02:00
K900
ffe2d07e77
direnv: hopefully final nushell fix 2024-09-26 22:52:03 +02:00
K900
853e7bd24f
direnv: even better nushell fix
Avoid do | complete, because it swallows stderr, which can contain
direnv debug output.
2024-09-26 22:03:30 +02:00
K900
57e6b30d18
direnv: work around nushell bug
try/catch in a pipeline does not always work correctly in 0.98,
so avoid the try-catch entirely.

Upstream issue: https://github.com/nushell/nushell/issues/13868
2024-09-26 19:07:37 +02:00
K900
1e22ef1518
direnv: update for new nushell behavior (#5880)
Nushell 0.98 makes it so external commands returning non-zero
is considered an exception[0]. Wrap the direnv invocation in a
try-catch, so that even if direnv fails, we get the message
from direnv, but not the traceback from nushell.

[0]: https://www.nushell.sh/blog/2024-09-17-nushell_0_98_0.html#non-zero-exit-codes-are-now-errors-toc
2024-09-25 00:39:06 -06:00
Patrick Nuckolls
14929f7089
zoxide: clarify options option
The value of the option `programs.zoxide.options` is passed to `zoxide
init` at shell initialization time, not to the command itself when
it's called by the user from their shell. This change makes that a
little bit clearer in the documentation.
2024-09-21 09:13:43 +02:00
Ben Brown
51e1d69f7a
poweralertd: fix regression
This fixes a regression introduced in
8d7e352a4b. That commit made the false
assumption that utils would have propagated from Nixpkgs to Home
Manager. This commit copies in `escapeSystemdExecArgs` to fix the
immediate issue, perhaps we can pull this in some other way later down
the line.
2024-09-21 09:08:48 +02:00
bhougland18
dfe4d334b1
wezterm: fix generated configuration
The semi-colon breaks this config file, it is not in the Weztem
documentation either.
2024-09-20 22:15:45 +02:00
Robert Helgesson
0b052dd811
swayidle: minor cleanups 2024-09-20 11:45:46 +02:00
leoTlr
4803bf558b
swayidle: make -w optional
The option -w causes swayidle to wait on timeouts/events to finish.
This can cause problems with certain timout/event commands (see
https://github.com/swaywm/swaylock/issues/86#issuecomment-662702180)
2024-09-20 11:13:54 +02:00
Ben Brown
8d7e352a4b
poweralertd: Enable passing CLI args to the daemon 2024-09-20 09:44:52 +02:00
mgdbbrt
f48b181f01
ssh-agent: use POSIX conforming if condition 2024-09-20 09:38:42 +02:00
alejandro-angulo
ecaed80b18
kitty: remove IFD
With this change the theme check happens at activation time. An
integration test is also added to verify the functionality.

Fixes #5110
2024-09-20 09:02:48 +02:00
iniw
2cf3abce03
neovim: use home.shellAliases
Instead of manually adding it as an alias for each and every
individual shell, which inevitably ends up missing some.
2024-09-20 08:47:23 +02:00
Robert Helgesson
1786e2afdb
firefox: fix incorrect condition
This error was introduced by me when switching from use of an explicit
`if` expression to `optionalAttrs`.
2024-09-20 00:35:54 +02:00
yuanwang
b5e09b85f2
firefox: only add Version = 2 on non-darwin
The `Version` field in `profiles.ini` does not seem to work on Darwin
systems.

Co-authored-by: bricked <git@bricked.dev>
2024-09-19 19:57:38 +02:00
Mike Thai
1f7b8188a9
zoxide: replace outdated flag in "options" example
The "--no-aliases" option hasn't been a valid init option since 0.8.1,
when it was renamed to "--no-cmd".
2024-09-19 18:43:19 +02:00
bricked
87c7d4df16
firefox: fix policies availability 2024-09-19 18:22:39 +02:00
Coutinho de Souza
451606f4a8
polybar: fix type of systemd Service.Environment
See #5854
2024-09-19 18:19:27 +02:00
Coutinho de Souza
480d589cdd
opensnitch-client: fix type of systemd Service.Environment
See #5854
2024-09-19 18:18:59 +02:00
Coutinho de Souza
7540dcc789
opensnitch-ui: fix type of systemd Service.Environment
See #5854
2024-09-19 18:18:36 +02:00
Coutinho de Souza
dcc1a9e659
nextcloud-client: fix type of systemd Service.Environment
See #5854
2024-09-19 18:18:08 +02:00
Coutinho de Souza
06c6695c8c
grobi: fix type of systemd Service.Environment
See #5854
2024-09-19 18:17:44 +02:00
Coutinho de Souza
3670a03586
hound: fix type of systemd Service.Environment
See #5854
2024-09-19 18:17:05 +02:00