1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-06 16:57:03 +00:00
Commit graph

4166 commits

Author SHA1 Message Date
Austin Horstman
6c93eea85d firefox: add HPSaucii maintainer 2025-02-17 12:17:38 -08:00
HPsaucii
27ffa35178 firefox: add support for configuring extensions
This commit refactors programs.firefox.profiles.<name>.extensions in
order to support both installation of extensions (addons) and their
configuration. It does this by setting the
`extensions.webextensions.ExtensionStorageIDB.enabled` user_pref to
false.

When this preference is set to false, support for storing extension
settings in sqlite databases, also known as IndexedDB or IDB, is
reverted back to the JSON format present in firefox versions prior to
version 63, as seen here:
https://blog.mozilla.org/addons/2018/08/03/new-backend-for-storage-local-api/

IndexedDB was made the default due to performance improvements, but had
the consequence of removing any possibility of declarative extension
configuration without the assistance of firefox's policy system. The
policy system is supported by a small amount of extensions, such as
uBlock Origin, but has to be explicitly supported. Even when supported,
it provides significantly less granular control when compared to the
JSON storage format.
2025-02-17 12:17:38 -08:00
HPsaucii
3a0cf8f1aa maintainers: add HPsaucii 2025-02-17 12:17:38 -08:00
Ilia
edad23ebc1
mako: add max-history option (#6009) 2025-02-17 12:10:04 -07:00
Sumner Evans
f4f6dd2698
git: fix setting format on >=25.05 (#6480)
Signed-off-by: Sumner Evans <me@sumnerevans.com>
Co-authored-by: Immae <immae@users.noreply.github.com>
2025-02-17 12:02:24 -06:00
Anton Tetov
9d0d48f4c3
nh: fixes and addition to warnings/assertions (#6470)
* nh: fix auto clean

- ~Fix `PATH` variable~
- Remove flake path assertion
- Add warning when HM's `nix.gc.automatic` is enabled

* nh: simplify logic for warning related to cfg.clean

---------

Co-authored-by: Nikita Pedorich <pedorich.n@gmail.com>
2025-02-17 08:36:35 -06:00
Weathercold
c1ea92cdfb
nh: change flake option type to singleLineStr (#6468) 2025-02-17 03:00:43 -08:00
Austin Horstman
5c5697b82a
git: support not configuring signing.format (#6478) 2025-02-17 03:00:03 -08:00
Sandro
30b9cd6f1a
mpv: drop old wrapMpv compatibility (#6024)
wrapMpv doesn't exist anymore for a while.
2025-02-17 10:28:26 +01:00
bricked
662fa98bf4
nixpkgs-disabled: warn instead of assert (#6466)
Temporarily fixes backwards compatibility as issued in #6172.
2025-02-16 19:39:24 -06:00
Emily
25870c6600
nixos/common: fix options reference (#6473)
This was resolving to `lib.options.nix.enable.visible or true`,
which is always `true`, and therefore using `nix.enable` where it
shouldn’t be used. Oops…
2025-02-16 18:56:49 -06:00
isabel
b15e9ec676
flake-module: set _class (#6461)
This should *help* prevent bad imports.
2025-02-16 13:57:15 -06:00
Sizhe Zhao
e5bc9c2af1
git: reduce priority of signing.format (#6465) 2025-02-16 13:55:03 -06:00
Kilian Mio
ec130e7009
firefox: correct vendorPath of firefox forks (#6421)
The path for messaging hosts seems to have been
~/.mozilla/native-messaging-hosts/ and ~/Library/Application Support/Mozilla so vendorPath has been adjusted
2025-02-16 10:44:50 -06:00
Devin
eb44c1601e
nixpkgs-disabled: fix useGlobalPkgs assertion (#6172)
This fixes the assertion that `config.nixpkgs` cannot be set if
`useGlobalPkgs` is enabled
2025-02-15 21:34:21 -06:00
Peter Kling
45c07fcf7d formatting according to HM's format tool 2025-02-15 14:35:04 -08:00
Peter Kling
85e9d1cc8f syncthing: expand declarative config to Darwin
This extends the recently merged PR #5616, which expanded the Synching config to allow declarative settings under Linux, such that it also works under Darwin.

Changes:
* Update the module's `syncthing` launchd agent to copy the synching key/certificate before starting syncthing, analogously to the systemd service from the above mentioned PR #5616.
* Adds an `syncthing-init`launchd agent (analogously to the systemd service `synching-init` from the above mentioned PR #5616) that updates the configuration files. Since this must be run after the syncthing service started, we use a `WatchPath` to coordinate both launchd agents.
2025-02-15 14:35:04 -08:00
Peter Kling
14223a8261 refactor launchd.agents.syncthing
Make launchd.agents an explicit attribute set, since we're going to add another agent.
2025-02-15 14:35:04 -08:00
Peter Kling
26454abc03 provide RUNTIME_DIRECTORY manually if not given by systemd 2025-02-15 14:35:04 -08:00
Peter Kling
33ffe94252 move curl shell function into string variable
Allows us to reuse the function in different scripts.
2025-02-15 14:35:04 -08:00
Peter Kling
17a78d3eed nix variable for syncthing's configuration directory
Is set according to the corresponding OS default, see https://docs.syncthing.net/users/config.html.
2025-02-15 14:35:04 -08:00
Peter Kling
53efb68b4b move syncthing-copy-keys to dedicated variable
This makes it possible to reuse the script in launchd setup.
2025-02-15 14:35:04 -08:00
sinavir
8bc5e4c9b2
git-maintenance: More details in the documentation
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2025-02-15 14:36:13 -07:00
Austin Horstman
6d3163aea4
git: change stateVersion check for compatiblity (#6453)
Original change was created before 24.11 release. We are in 25.05 now.
2025-02-14 16:21:52 -06:00
Sof
67b9f9de22
vscode: add windsurf directories (#6427) 2025-02-14 15:16:26 -06:00
Calum MacRae
582d3cd42d
yubikey-agent: init service module (#6446) 2025-02-14 15:10:24 -06:00
Emily
9daae9a67a
nixos/common: forward nix.enable from the OS configuration (#6383)
This prevents problematic references to `nix.package` when Nix
management is disabled in the host OS.
2025-02-14 13:05:06 -06:00
Sizhe Zhao
7da01bc47a
git: support alternate signing methods (#5516)
The Git module now supports SSH and X.509 signing in addition to
OpenPGP/GnuPG, via setting the `programs.git.signing.format` option.
It defaults to `openpgp` for now as a backwards compatibility measure,
but I feel like we shouldn't enforce GPG as the default on everyone,
especially for people who use SSH signing like me.

Accordingly, `programs.git.signing.gpgPath` has been renamed to
`programs.git.signing.signer`, as now the signer binary is not
restricted to GnuPG. Users should only get a warning and everything
should continue to work.

Fixes #4221, supersedes #4235

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
Co-authored-by: Sumner Evans <me@sumnerevans.com>
Co-authored-by: Leah Amelia Chen <hi@pluie.me>
2025-02-14 11:47:27 -07:00
Austin Horstman
5031c6d297 syncthing: remove with lib 2025-02-13 10:08:21 -08:00
Austin Horstman
20fac9bbdf syncthing: use package options
Currently, all references are hardcoded even though we offer package
options. Update to use package options.
2025-02-13 10:08:21 -08:00
André Schröder
22b418c13f
bash: Make HISTFILESIZE and HISTSIZE nullable (#6443) 2025-02-13 08:58:45 -06:00
derrik
a70d788923
aerospace: fix workspace assignment config (#6442)
with the default to `{}`, this table is always set in the generated
config. this change allows `null` for
`workspace-to-monitor-force-assignment` and sets the default to `null`

Co-authored-by: derrik.fleming <derrik.fleming@spindance.com>
2025-02-13 08:24:38 -06:00
Kristoffer Plagborg Bak Sørensen
c9d343cfa0
docs(zellij): programs.zellij.settings are serialized as kdl and not yaml from version 0.32.0 (#6010) 2025-02-12 21:07:02 -06:00
Austin Horstman
15b59d4191 eww: fix eww source creation
Source can't be accessed without being defined, need to move condition
earlier.
2025-02-12 09:38:53 -08:00
Austin Horstman
d303453b13 eww: add null configDir test 2025-02-12 09:38:53 -08:00
Christoffer Hald Christensen
1f6fa87808 eww: added tests 2025-02-12 09:38:53 -08:00
Christoffer Hald Christensen
f8729b11ee eww: fix confDir config using missing attribute "types.isNull" 2025-02-12 09:38:53 -08:00
David Arnold
83bd3a26ac
email: add migadu.com flavor
Migadu is a very friendly and no-fuzz email service that presumably
will be highly valued by HM users.
2025-02-11 23:55:52 +01:00
Matthieu Coudron
f0a31d38e6
neomutt: fix default for 'map' in macros/binds (#6429)
https://github.com/nix-community/home-manager/pull/1885  changed 'map'
from a string to a list of string but the default wasn't updated accordingly.
When not defining map, you would get the warning `evaluation warning: teto profile: Specifying 'programs.neomutt.(binds|macros).map' as a string is deprecated, use a list of strings instead. See `.
2025-02-11 19:33:45 +01:00
Austin Horstman
8f351726c5 git-worktree-switcher: use lib.hm.shell.mkShellIntegrationOption 2025-02-11 09:18:04 -06:00
Mateus Auler
9c8169b446 git-worktree-switcher: init module 2025-02-11 09:18:04 -06:00
Yuki Kobayashi
59fe145f0b
eww: make configDir optional (#6282)
Some people like to manage config directories themselves, and it should not be a requirement but rather an optional feature.
2025-02-11 08:27:04 -06:00
PopeRigby
ba4a1a1102
ludusavi: create Ludusavi module (#5626) 2025-02-10 18:23:20 -06:00
isabel
e5854b98cd
flake-module: change type from lazyAttrsOf raw to lazyAttrsOf deferredModule (#6408) 2025-02-10 18:07:00 -06:00
Austin Horstman
5795f792ab yazi: organization tweak
Moving variable declaration closer to usage so it's easier to manage /
see.
2025-02-10 17:57:29 -06:00
Austin Horstman
b34b56689d yazi: remove with lib 2025-02-10 17:57:29 -06:00
Austin Horstman
c0d06189f2 kitty: assert can't enable shell integrations when mode is null
We use the mode within the script for each integration. Make sure the
user understands what they are doing.
2025-02-10 17:56:59 -06:00
MithicSpirit
fc3cd1e408 kitty: allow not setting shell_integration
This allows better support for using kitty's built-in shell integration
method by setting `shellIntegration.mode' to `null', which makes it not
be set at all in the config file and disables modification to shell
initialization scripts by default. If this is used, the user should set
`settings.shell_integration' instead (if shell integration is desired),
which receives no special handling.
2025-02-10 17:56:59 -06:00
Robert Helgesson
a3c9e88177
nushell: temporarily disable test 2025-02-10 23:32:27 +01:00
Robert Helgesson
0f9e92302a
neovim: re-enable test 2025-02-10 23:32:14 +01:00