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
Coutinho de Souza
cacf2d27f6
kbfs: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:16:40 +02:00
Coutinho de Souza
397750d269
xsettings: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:15:43 +02:00
Coutinho de Souza
336c792b19
rsibreak: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:15:20 +02:00
Coutinho de Souza
80092fae03
mpd: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:14:54 +02:00
Coutinho de Souza
10fd27c291
kdeconnect: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:14:28 +02:00
Coutinho de Souza
ffc3a473e6
xembed-sni-proxy: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:13:59 +02:00
Coutinho de Souza
1d8296c46f
flameshot: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:13:03 +02:00
Coutinho de Souza
b6204ff489
xscreensaver: fix type of systemd Service.Environment
2024-09-19 18:08:54 +02:00
Matthew_Cash
4974dfb26e
thunderbird: change settings type to json
...
Uses the JSON type, just like the Firefox module, so that nested sets
can be used.
2024-09-18 00:12:16 +02:00
bricked
4a4a8b1454
firefox: fix languagepacks policy
2024-09-17 19:20:22 +02:00
Andrew Marshall
a9c9cc6e50
sway: do not use pkgs.sway
when cfg.package = null
...
- Implicitly disable checkConfig when `cfg.package = null` as we don’t
have any exe to use for the check
- Implicitly disable `swaymsg reload` on activation, since we have no
exe to use for running it
See https://github.com/nix-community/home-manager/issues/5307
2024-09-16 00:56:20 +02:00
Andrew Marshall
76bf779881
sway: un-extract single-use variable
2024-09-16 00:51:30 +02:00
sdaqo
9c5f16d703
borgmatic: fix service permissions
...
Fixes #5749
2024-09-15 09:32:04 +02:00
Heitor Augusto
c6e4ec39df
z-lua: add support for fish abbreviations
2024-09-14 11:53:10 +02:00
Heitor Augusto
0d118885b2
lsd: add support for fish abbreviations
2024-09-14 11:53:10 +02:00
Heitor Augusto
f69e61a2d7
pls: add support for fish abbreviations
2024-09-14 11:53:10 +02:00
Languages add-on
7edf6ccaec
Add translation using Weblate (Hindi)
...
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2024-09-14 07:18:07 +00:00
Dominic Esposito
f084d65319
swaync: fix example configuration
...
Add a semicolon after "notification-body-image-width = 200" for
completeness.
PR #5828
2024-09-14 09:15:45 +02:00
Ayman Bagabas
43845d04f8
git: add diff-highlight diff pager option
...
This adds a new diff-highlight option to make use of the simple
included git diff highlighter that comes with canonical git.
For more info, see https://github.com/git/git/blob/master/contrib/diff-highlight/README
2024-09-14 01:38:40 +02:00
Heitor Augusto
503af483e1
eza: add support for fish abbreviations
2024-09-13 12:12:18 +02:00
Heitor Augusto
076c78eded
fish: add preferAbbrs
option
2024-09-13 12:04:56 +02:00
NitroSniper
7923c69152
neovide: add module
...
Neovide is a simple, no-nonsense, cross-platform graphical user
interface for Neovim See <https://neovide.dev/ >.
Used ruff's module as reference during creation.
2024-09-13 11:50:57 +02:00
Callum Leslie
4c8647b1ed
trayscale: add module
...
Trayscale is an unofficial GUI wrapper around the Tailscale CLI
client.
PR #5803
2024-09-13 10:59:31 +02:00
O. C. Taskin
daaf0c2f8d
kanshi: add support for output aliases
...
- Add `services.kanshi.profiles.<name>.outputs.*.alias` to support new
alias directive from kanshi [1].
- Add an assertion to reject aliases not on global scope, which are
not allowed on kanshi [2].
- Add a new test to check alias rejection, `alias-assertion`.
- Add relevant coverage by modifying the existing "new-configuration"
test.
- Kanshi also doesn't allow wildcards on global scope [3], correct the
faulty test case.
[1]: 1ed86ce523
[2]: 1605f7c813/item/doc/kanshi.5.scd (L78)
[3]: 1605f7c813/item/doc/kanshi.5.scd (L80)
2024-09-13 10:51:33 +02:00
Chet Gurevitch
cb3ab5928c
helix: add example for use with evil-helix
2024-09-13 10:49:07 +02:00
Chet Gurevitch
ea244c5ae2
helix: remove outdated language-server comment
2024-09-13 10:49:06 +02:00
Zachary H
433e686675
autorandr: configModule.extraConfig
...
Add an option to programs.autorandr's configModule to allow arbitrary
extra config lines.
No option exists for adding arbitrary key/values to generated autorandr
profile config, as is common in other nix modules. This commit adds one.
2024-09-13 09:58:00 +02:00
Ayman Bagabas
ef50612457
gpg-agent: add launchd service agent and sockets
...
This adds a Darwin Launchd agent along with its sockets to make
gpg-agent starts at load or whenever the sockets are needed.
Fixes: https://github.com/nix-community/home-manager/issues/3864
2024-09-13 08:59:29 +02:00
Robert Helgesson
da8406a6ff
systemd: use getExe for sd-switch
2024-09-12 13:54:47 +02:00
Robert Helgesson
e1c6094075
systemd: unify handling of switch environment
2024-09-12 13:54:47 +02:00
Robert Helgesson
51e4664342
treewide: use non-deprecated substitute arguments
2024-09-12 13:54:47 +02:00
Donovan Glover
10541f19c5
pqiv: add boolean support
2024-09-09 16:50:17 +02:00
Paul Meyer
be47a2bdf2
k9s: remove katexochen as maintainer
2024-09-09 08:34:44 +02:00
Sefa Eyeoglu
77c9414828
k9s: allow defining custom theme file
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-09 08:27:29 +02:00
Nina Morgan
ec4c6928bb
firefox: fix selection of lastUserContextId
...
The lastUserContextId value should match the highest context ID from
the containers set in a given profile. This update ensures that this
always is the case.
2024-09-08 09:52:15 +02:00
NAHO
aaebdea769
taskwarrior: support taskwarrior3 migration
...
Support taskwarrior3 migration, following the approach in [1] to avoid
breaking changes.
[1]: https://github.com/NixOS/nixpkgs/pull/303632
Closes: https://github.com/nix-community/home-manager/issues/5310
Link: https://github.com/nix-community/home-manager/pull/5782
2024-09-07 09:41:58 +02:00
DCsunset
127ccc3eb7
i3/sway: support str type for font size
2024-09-06 15:23:08 +02:00
Ferenci Ákos
5b95e0611b
Translate using Weblate (Hungarian)
...
Currently translated at 33.3% (6 of 18 strings)
Translate using Weblate (Hungarian)
Currently translated at 97.2% (36 of 37 strings)
Co-authored-by: Ferenci Ákos <synthetace@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/hu/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/hu/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-09-06 14:55:42 +02:00
Bruno BELANYI
b00bdf59c0
xdg: add option 'xdg.stateFile'
2024-09-06 14:55:36 +02:00
Lulu
03b49187a2
sway: indent sway configuration options
...
Fix the indentation for the configuration of `input`, `output` and
`seat` to match that of `mode`.
2024-09-06 14:51:44 +02:00
Martin Eek Gerhardsen
5130249ab2
taskwarrior-sync: add package option
...
Add option to change which package is used for taskwarrior-sync, to
e.g. taskwarrior3.
2024-09-06 14:47:43 +02:00
Alex Lov
471e3eb0a1
git: add option to provide difftastic package
2024-09-01 10:42:46 +02:00
name_snrl
c2cd2a52e0
submodule-support: add default values for top-level configs
...
This way the end user can easily check whether the home-manager
configuration is part of the module or not. Example of use:
```nix
{ lib, nixosConfig, ... }:
let
mkIfNixos = lib.mkIf nixosConfig != null;
in
{
programs.foot.enable = mkIfNixos true;
}
```
2024-08-23 19:56:03 +02:00
Szabin Hamrik
5dc2535656
Translate using Weblate (Hungarian)
...
Currently translated at 22.2% (4 of 18 strings)
Translation: Home Manager/Home Manager Modules
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/hu/
2024-08-23 16:09:26 +02:00
Robert Helgesson
b18f3ebc40
systemd: fully deprecate legacy switcher
...
This switches `systemd.user.startServices = true` to be the same as
`systemd.user.startServices = "sd-switch"`, previously it would use
the "legacy" method. It also introduces a warning that triggers if the
user explicitly have `systemd.user.startServices = "legacy"`.
See #5452
2024-08-23 13:31:48 +02:00
sudoforge
40ddec2f8a
zsh: add option: history.append
...
This change adds the programs.zsh.history.append option in order to
manage the configuration of the APPEND_HISTORY zsh option.
2024-08-23 13:29:12 +02:00
Alex Hamilton
2598861031
bash: add package option
2024-08-18 15:15:31 +02:00
Ladas552
b3d5ea65d8
fastfetch: update example for JsonConfig settings
...
fastfetch: update example for JsonConfig settings
Using the present version of the example, trows an error:
JsonConfig Error: `display.binaryPrefix` has been renamed to
`display.size.binaryPrefix`. Sorry for another break change.
It occurs because of change in fastfetch 2.19 of JsonConfig - moving
`display.binaryPrefix` to `display.size.binaryPrefix`
To not confuse the users, this commit changes the example to fit
current standard
See <b3ac696312/CHANGELOG.md (L85)
>
2024-08-07 09:21:46 +02:00
Anomalocaridid
a6c743980e
dunst: use -config
flag when configFile
is set
2024-08-06 11:28:17 +02:00
Weblate (bot)
afc892db74
Translate using Weblate (Vietnamese)
...
Currently translated at 44.4% (8 of 18 strings)
Translate using Weblate (Vietnamese)
Currently translated at 97.2% (36 of 37 strings)
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/vi/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/vi/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
Co-authored-by: goatastronaut0212 <goatastronaut0212@proton.me>
2024-08-02 22:21:05 +02:00
William Tan
58cef37962
nix-gc: remove extraneous quotes from shell script
2024-07-31 08:27:17 +02:00
Jakub Nowak
4fcd54df7c
firefox: fix userChrome example
...
Example CSS wasn't valid for Firefox 69+.
2024-07-30 08:33:10 +02:00
Ninja3047
d34aaf7b3b
nix-gc: set service type to oneshot
2024-07-30 07:54:40 +02:00
Ninja3047
db40fead89
nix-gc: call nix-collect-garbage in a shell script
...
This will match the behavior in the upstream service which allows the
user to set options to something that uses shell syntax.
2024-07-30 07:54:18 +02:00
bricked
792757f643
firefox: support firefox derivatives
...
Adds support for Firefox forks by introducing methods that create
generic configs and options. Additional configs and options can be
added in separate modules.
2024-07-28 23:53:08 +02:00
Jean Sidharta
587fcca66e
eww: add terminal integration options
...
Use eww's shell-completions command to generate completions for
bash, zsh and fish.
2024-07-28 23:37:02 +02:00
nikitax44
a11cfcd0a1
micro: add package option
2024-07-28 23:00:57 +02:00
Milo Moisson
ea72cf548f
jujutsu: support darwin guidelines for config placement
...
Follow up to #5207 , fixing jujutsu module on darwin targets.
2024-07-28 22:54:29 +02:00
polykernel
cd520fbd31
maintainers: remove polykernel
2024-07-28 11:58:33 -04:00
Tomodachi94
d0240a064d
gnome-terminal: update package name
...
The `pkgs.gnome.gnome-terminal` package was moved to
`pkgs.gnome-terminal`. The former is now a deprecated alias that
throws a warning whenever a configuration enabling the module is used:
```
The ‘gnome.gnome-terminal’ was moved to top-level. Please use
‘pkgs.gnome-terminal’ directly.
```
Related: https://github.com/NixOS/nixpkgs/pull/319659
Related: https://github.com/nix-community/home-manager/pull/5611
2024-07-28 00:32:19 +02:00
Robert Helgesson
975b83ca56
treewide: fix eval after Nixpkgs maintainer changes
2024-07-27 10:10:13 +02:00
Robert Helgesson
180158b46e
mcfly: add settings option
2024-07-27 10:10:13 +02:00