1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29:48 +01:00
Commit graph

758 commits

Author SHA1 Message Date
Damien Cassou
3b73b79da6
firefox: add support for specifying policies (#4626) 2024-04-10 21:26:37 +02:00
Nicola Squartini
1d3f439cd8
openstackclient: add module (#4530)
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2024-04-10 21:26:37 +02:00
Chuang Zhu
68f5ac390c
firefox: support setting a separate default search engine in private browsing (#4114)
* firefox: support setting a separate default search engine in private browing

Ref: https://searchfox.org/mozilla-central/rev/05d1afda588e54be73e31ef4e022dde91f1ed97a/toolkit/components/search/SearchSettings.sys.mjs#548

* Update modules/programs/firefox.nix

---------

Co-authored-by: Naïm Favier <n@monade.li>
2024-04-10 21:26:36 +02:00
9p4
dfb56a4a77
swayidle: always restart systemd unit on failure
Occasionally, swayidle crashes with a failure to connect to the
Wayland session. Ideally, swayidle should automatically restart
instead of leaving the system in a vulnerable state.
2024-04-10 21:26:36 +02:00
Paul Meyer
c5f0d02e3c
k9s: add aliases, plugins, views
Adding the remaining config files of k9s that weren't covered yet.

PR #4627
2024-04-10 21:26:35 +02:00
Olli Helenius
8ab4e866f5
systemd: avoid creating an empty user.conf
Due to the defaults in `systemd.user.settings`, the default value when
there are no settings explicitly set is `{ Manager = { }; }`. This
means an empty file is created even when `systemd.user.settings` is
never used in home-manager configuration. Since user’s `user.conf` is
preferred to the global `/etc/systemd/user.conf`, this can cause any
values set in the latter to be discarded.
2024-04-10 21:26:35 +02:00
Rodney Lorrimar
5136542501
emacs: Fix socket activation 2024-04-10 21:26:35 +02:00
Rodney Lorrimar
2e4250a532
emacs: Remove obsolete socket file workaround 2024-04-10 21:26:35 +02:00
Damien Cassou
5521cbc10f
firefox: add container support 2024-04-10 21:26:35 +02:00
Damien Cassou
f55c68baf9
firefox: refactor duplicate profile ID detection 2024-04-10 21:26:34 +02:00
Olli Helenius
c28bf5c586
systemd: add settings option (#4276)
The `systemd.user.extraConfig` provides a way to generate a
`systemd-user.conf(5)` file for the user.

This is the home-manager equivalent of NixOS’s option of the same
name, with the difference that NixOS’s option generates a `user.conf`
file that is shared between all users.
2024-04-10 21:26:34 +02:00
9p4
117a4b9cfa
swayr: add module (#4322)
a window switcher for sway
2024-04-10 21:26:34 +02:00
Sebastian Zivota
b9b9b5aab0
thefuck: add fish integration (#4535)
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2024-04-10 21:26:33 +02:00
Willi Carlsen
972916c973
granted: add module
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
2024-04-10 21:26:33 +02:00
Philipp Kühn
0d9be30cfb
borgmatic: preparing upcoming borgmatic change
This commit changes the config format of repositories to the
soon-be-expected `{ "path": "repository-path", }`. The Home Manager
configuration allows a simple string (which will get translated), the
new format by directly using the path attribute, and the one with the
optional label attribute. More information about the background can be
found here https://torsion.org/borgmatic/docs/reference/configuration/
2024-04-10 21:26:33 +02:00
Li Yang
990fc60aaf
k9s: add hotkey option (#4617)
* k9s: add hotkey option

This PR adds an option to customise k9s hotkeys.
The keyword `hotKey` must be in camel case on the user config.

* Update modules/programs/k9s.nix

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>

* fix formatting

---------

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-04-10 21:26:33 +02:00
NAHO
87c2ff0a36
wezterm: remove automatic config reload call
Closes: #4426
2024-04-10 21:26:32 +02:00
Knut Magnus Aasrud
1947c9901c
aerc: fix config paths on darwin
When xdg.enable is set, aerc uses the $XDG_CONFIG_HOME variable instead
of the default $HOME/Library/Preferences. home-manager needs to check
this to make sure aerc can find the proper file in both cases.
2024-04-10 21:26:32 +02:00
Naïm Favier
c0cfd32bf0
sxhkd: set scope OOMPolicy to continue
When a process inside the sxhkd scope is OOM killed, if the OOM policy
is set to `stop` then the sxhkd scope itself will exit, terminating
every process launched from the keyboard.

This is undesirable, set it to `continue` instead to keep other
processes running.
2024-04-10 21:26:31 +02:00
Luna Simons
6da70f2252
cava: add module 2024-04-10 21:26:31 +02:00
Benjamin Lee
f833d2a354
aerc: fix config paths on darwin 2024-04-10 21:26:30 +02:00
sisyphushappy
872242a275
qutebrowser: add greasemonkey userscript option
Co-authored-by: Ivar Scholten <ivar.scholten@protonmail.com>
2024-04-10 21:26:29 +02:00
Gabe Dunn
2ca2163ece
thefuck: add instant mode option
Also do a slight code cleanup.
2024-04-10 21:26:28 +02:00
Xavier Lambein
37b513dd7d
darkman: add module
Co-authored-by: Naïm Favier <n@monade.li>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2024-04-10 21:26:27 +02:00
Damien Cassou
0e16a9b843
firefox: add test for duplicate profile id assertion 2024-04-10 21:26:26 +02:00
Damien Cassou
132e212203
firefox: extract an overlay common to all tests 2024-04-10 21:26:26 +02:00
Janik
7ad922a956
services.cliphist: add module (#4445) 2024-04-10 21:26:26 +02:00
Damien Cassou
27a92b54f3
borgmatic: improve support for version 1.8.0
The configuration file format of borgmatic has changed in version
1.8.0:
https://projects.torsion.org/borgmatic-collective/borgmatic/src/branch/main/NEWS

This commit makes Home Manager generate borgmatic's configuration file
using the new format.

Even though the NEWS file indicates that old configuration files are
compatible, this is not 100% the case: empty sections work fine in old
borgmatic but stop working in new ones. I've reported the bug upstream
by email as I couldn't create an account on the forge.
2024-04-10 21:26:26 +02:00
Kiran Ostrolenk
5d13d826a0
zsh: generalize zsh-history-substring-search
Specifically, allow variable expansion for the key codes by switching
from single to double quotes.

This also adds a helpful suggestion to descriptions. Taken from the
project's README, see

  4abed97b6e/README.md (L71-L74))
2024-04-10 21:26:25 +02:00
Mihai Fufezan
5ca19629fd
hyprland: allow customizing systemd
Allows users to customize which environment variables to import in DBus
and SystemD user environments, and to specify which commands will be run
after the environment activation.
2024-04-10 21:26:24 +02:00
Bernardo Meurer
8a719ddd3c
bat: allow setting themes/syntaxes without IFD
The way the `bat` module is currently written makes it essentially
impossible to use themes and syntaxes without IFD, since you must
provide the contents as string, instead of just giving a path to be
linked.

With this change, setting themes/syntaxes by-string will start issuing
warnings, and a new attribute model is added, lightly inspired by how
`programs.zsh.plugins` avoided this issue.
2024-04-10 21:26:24 +02:00
Simone Ragusa
149a52a414
firefox: set ADD_DATE and LAST_MODIFIED of bookmarks to 1
For some reason, Firefox completely discards the ADD_DATE and
LAST_MODIFIED attributes if they are set to 0. This has been
confirmed by exporting a sample set of bookmarks generated by
Nix using home-manager and comparing it to the same sample of
bookmarks set manually and then exported.

Missing these attributes can cause problems for extensions and
other tools that try to read bookmarks. A known example is the
Tridactyl extension.
2024-04-10 21:26:23 +02:00
ilaumjd
823f7a6439
thefuck: add module 2024-04-10 21:26:23 +02:00
ilaumjd
8a209007e2
zsh-abbr: add module 2024-04-10 21:26:23 +02:00
ilaumjd
0e14af6788
scmpuff: enable or disable aliases 2024-04-10 21:26:22 +02:00
Olmo Kramer
9af726faca
khard: add module 2024-04-10 21:26:22 +02:00
Avimitin
00a599717b
wpaperd: add wpaperd configuration
Signed-off-by: Avimitin <dev@avimit.in>
2024-04-10 21:26:21 +02:00
Anthony Roussel
84ccadec72
awscli: add module 2024-04-10 21:26:21 +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
Robert Helgesson
917800e574
tests: add mainProgram to stub packages
This is to avoid warnings being printed while tests are run.
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
XYenon
5e5063a9bd
yazi: add fish and nushell integration
PR #4493
2024-04-10 21:26:18 +02:00
Sefa Eyeoglu
6240ed5510
programs.sway: separate trayOutput values for sway (#4489)
Fixes nix-community/home-manager#4488

The default config for sway generates a bar block with tray_output primary. But wayland (or sway, take your pick?) has no concept of a primary display so this just results in no tray anywhere.

A better default is "*" which puts the tray on every monitor, since sway can do so without issue.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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
Robert Helgesson
bd2e251fa3
waybar: fix service After value
Fixes #4469
2024-04-10 21:26:16 +02:00
Robert Helgesson
91ed5f150b
tests: sort test list 2024-04-10 21:26:16 +02:00
Motiejus Jakštys
b3f3f50f9e
pasystray: add extraOptions
Allows a user to, for example, add the `-g` option.

Also add a basic test case.
2024-04-10 21:26:16 +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
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
VwCSXg
0014d234b3
emacs: fix emacs-extra-config test
Fixes #4453
2024-04-10 21:26:13 +02:00