1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
Commit graph

5053 commits

Author SHA1 Message Date
Austin Horstman
b8b7e5ec35
ci: extract-maintainers-meta tweaks (#7434)
Simplify extraction and generation of file. We dont need the comments
and can leverage the appropriate lib.generator function.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 12:47:42 -05:00
Austin Horstman
9d343f0880
ci: update-maintainers cleanup / tweaks (#7433)
Better support updating existing PRs and summary of changes in workflow
summary. Tested in nixvim.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 12:17:37 -05:00
Austin Horstman
f5b36e5ece gtk: add khaneliman maintainer
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 11:53:47 -05:00
Austin Horstman
a9594d34a2 gtk: remove long removed option removal assertion
Added 6 years ago, no longer needed.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 11:53:47 -05:00
Austin Horstman
fa7d51011f gtk: refactor and break up to improve readability
The file grew in complexity while adding customization. Separate
concerns for each gtk versions customization and use lib helpers to
consolidate logic.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 11:53:47 -05:00
Austin Horstman
47443585fe tests/gtk: refactor and organize
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 11:53:47 -05:00
Austin Horstman
18ff4e1e11 tests/gtk: expand testing for new customization
We can now customize a lot more in the gtk module. Test more scenarios
to ensure a user has more control over what gets generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 11:53:47 -05:00
Austin Horstman
d9915499e3 gtk: refactor to support more modular customization
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 11:53:47 -05:00
1444
e90b28967c
wayfire: allow path in settings (#7427) 2025-07-11 10:15:54 -05:00
Yiheng He
ce15001862
cliphist: use lib.getExe (#7431) 2025-07-11 10:15:37 -05:00
Aguirre Matteo
fab659b346
trippy: add module (#7426) 2025-07-10 22:01:34 -05:00
tsrk.
3978bcd696 thunderbird: configure SMTP and GPG for aliases
Signed-off-by: tsrk. <tsrk@tsrk.me>
2025-07-10 15:45:32 -05:00
tsrk.
d52abd5b52 email: allow more extensive configuration of aliases
This notably allows to specify a custom SMTP server or GPG keys, to be
able to respond as the alias without depending entirely on the parent
account's configuration.

Signed-off-by: tsrk. <tsrk@tsrk.me>
2025-07-10 15:45:32 -05:00
Friedrich Altheide
729c5e5465
docker-cli: add module (#7411) 2025-07-10 15:36:53 -05:00
bricked
d52da303ef
firefox: add extension permissions (#7402)
Adds extension permissions as suggested in
https://github.com/nix-community/home-manager/issues/7001.
Adds the 'profiles.<name>.extensions.settings.<name>.permissions' to Firefox
derivatives. If set, this option adds an assertion that fails if an extension
package requests permissions that weren't added to the permissions option. In
order to not require 'profiles.<name>.extensions.force' to be set when only
permissions, but no extension settings were defined, the relevant assertions
were changed. They now check whether any 'extensions.settings.<name>.settings'
was set instead of checking whether 'extensions.settings' was set.

---------

Co-authored-by: Robert Helgesson <robert@rycee.net>
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-07-10 15:33:18 -05:00
B1kku
fb12dbbce3
lutris: make module x86_64-linux only (#7425) 2025-07-10 15:15:49 -05:00
Aguirre Matteo
d81cb050f5
hyprshell: add module (#7409) 2025-07-10 14:23:15 -05:00
home-manager-ci[bot]
50330593f3
flake.lock: Update (#7419)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5c724ed1388e53cc231ed98330a60eb2f7be4be3?narHash=sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8%2B%2BxWA8itO4%3D' (2025-07-04)
  → 'github:NixOS/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb?narHash=sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo%3D' (2025-07-06)

Co-authored-by: home-manager-ci[bot] <214323736+home-manager-ci[bot]@users.noreply.github.com>
2025-07-10 14:21:42 -05:00
Adam Dinwoodie
206ed3c714
neomutt: improve error when no way to send mail
f there's an account under accounts.email.accounts with neomutt.enable set to true but neither passwordCommand nor neomutt.sendMailCommand set, then building the Neomutt rc file will fail. Ensure that failure has a useful error message, rather than a confusing type error.

While we're here, make the module code slightly less repetitious by just building the set of email accounts that have Neomutt enabled once, rather than multiple times in multiple contexts.
2025-07-09 22:33:38 +02:00
Caleb Norton
bec8ff3981 wlogout: use lines for css style
Allows the wlogout style to be set by aggregating multiple modules -
same as waybar
2025-07-09 14:06:22 +02:00
bricked
218da00bfa
firefoxpwa: add module (#7408)
Adds the `firefoxpwa` module for the native Progressive Web Apps for
Firefox application.
2025-07-08 10:56:50 -05:00
Aguirre Matteo
5751fa774f
twitch-tui: add module (#7416) 2025-07-08 09:52:03 -05:00
Aguirre Matteo
c00730550e
tray-tui: add module (#7415) 2025-07-08 09:51:45 -05:00
dependabot[bot]
1edfb62244 ci: bump DeterminateSystems/update-flake-lock from 25 to 26
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 25 to 26.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v25...v26)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-version: '26'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 09:48:13 -05:00
Austin Horstman
fa135487ac issue_template: remove assignees
Needless spam and doesn't really make sense to default to repo
maintainers. Also, clearly hasn't been utilized for a long time.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-08 09:47:23 -05:00
Austin Horstman
923782b2c6 issue_template: add new module request
Add a form for new module requests with information to help contributors
to add new modules.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-08 09:46:36 -05:00
Austin Horstman
619c84d9e0 issue_template: update feature request
Make a more detailed form for filing a feature request. This will help
steer users towards more helpful feature requests, similar to our bug
reporting.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-08 09:46:36 -05:00
Austin Horstman
fd9e55f5fa tests/firefox: add bookmark policy to profile bookmarks test
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-06 12:50:40 -05:00
Austin Horstman
753ea0b324 librewolf: allow bookmark configuration
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-06 12:50:40 -05:00
Austin Horstman
dbac1fbcd6 mkFirefoxModule: set NoDefaultBookmarks when a profile has bookmarks are enabled
This resolves issue that someone might try and configure bookmarks and a
policy will prevent it from applying properly.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-06 12:50:40 -05:00
Austin Horstman
9d21f9985e
i3-sway/lib: modifier accepts any string (#7398)
Currently, we aggressively limit what modifier can be used in the module
system that blocks valid configurations. Allow any strings to unblock
these configs. But, could be refactored further to support list of
modifiers and automatically convert to a config string.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-06 12:42:26 -05:00
Austin Horstman
b4486ff44a
mkFirefoxModule: add extension settings example to policies (#7397)
Add an example of using extension settings to control installation and
accesibility of a extension in the policies option.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-06 10:40:29 -05:00
bricked
153e680c42
firefox: add release option (#6784)
Adds the `release` option to declare what upstream release version is
used to fetch rom `releases.mozilla.org`. Used to fetch
language packs. See
https://github.com/nix-community/home-manager/issues/6758#issuecomment-2781465236.
2025-07-06 09:35:49 -05:00
Thierry Delafontaine
502d9b7d30
codex: starting with v0.2.0 codex uses a TOML configuration file (#7388)
Updated related settings and test files to reflect the new format.
2025-07-06 08:58:22 -05:00
home-manager-ci[bot]
cc7407839d
flake.lock: Update (#7395)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df?narHash=sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU%2Btt4YY%3D' (2025-06-30)
  → 'github:NixOS/nixpkgs/5c724ed1388e53cc231ed98330a60eb2f7be4be3?narHash=sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8%2B%2BxWA8itO4%3D' (2025-07-04)

Co-authored-by: home-manager-ci[bot] <214323736+home-manager-ci[bot]@users.noreply.github.com>
2025-07-06 08:56:52 -05:00
home-manager-ci[bot]
8b0180dde1
maintainers: update all-maintainers.nix (#7392)
Automated update of the master maintainers list combining:
- Home Manager specific maintainers from modules/lib/maintainers.nix
- Nixpkgs maintainers referenced in Home Manager modules

Changes: +17 -0 lines

Generated by: lib/python/generate-all-maintainers.py

Co-authored-by: home-manager-ci[bot] <214323736+home-manager-ci[bot]@users.noreply.github.com>
2025-07-05 19:15:02 -05:00
Ludovic Ortega
af8a884164 kubeswitch: add module
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 16:30:54 -05:00
Ludovic Ortega
92db5be8e1 maintainers: add m0nsterrr
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
2025-07-05 16:30:54 -05:00
Thierry Delafontaine
5a49fe448e
opencode: init (#7320) 2025-07-05 16:02:49 -05:00
Alex Hamilton
f117b383dd numbat: Allow specifying a path for initFile 2025-07-05 10:32:48 -05:00
Alex Hamilton
26d405da41 numbat: Add initFile option 2025-07-05 10:32:48 -05:00
Matthieu Coudron
d75a547415
programs.msmtp: merge extraConfig and extraAccount into configContent (#7385)
We can simplify maintainance of HM while providing more consistency
across modules by relying on the nixpkgs module primitive mkBefore /
mkOrder as it was done in the Zsh module.


Deprecates:
- programs.msmtp.extraConfig
- programs.msmtp.extraAccounts

programs.msmtp: merge extraConfig and extraAccount into configContent

We can simplify maintainance of HM while providing more consistency
across modules by relying on the nixpkgs module primitive mkBefore /
mkOrder as it was done in the Zsh module.


Deprecates:
- programs.msmtp.extraConfig
- programs.msmtp.extraAccounts
2025-07-05 17:26:30 +02:00
Austin Horstman
36c57c6a1d lib/deprecations: add ignore parameter to remapAttrsRecursive
Needed to allow exclusionary keys easily without complex predicates.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
Austin Horstman
650a38ebe8 ashell: support yaml and toml config
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
Austin Horstman
f62e9a8114 lib/strings: add extra string matching predicates
Centralize logic to avoid needing to rewrite it elsewhere.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
Austin Horstman
19f0ba9c52 lib/deprecations: add remapAttrsRecursive
Similar purpose to the `mkSettingsRenamedOptionsModule` for migrating
users configuration to the new format needed by a module. But,
supporting freeform options that shouldn't get option definitions.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
Dan Lock
a4fc77c63d ashell: new ashell 0.5.0 config standards
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-05 00:26:25 -05:00
June Stepp
e8da7372fd
anki: add module (#7274) 2025-07-04 23:45:35 -05:00
Lukas Nagel
57d1027e1e
aerc: allow config sections to be lines (#7280)
There are some sections that are order sensitive, e.g. filters,
so just lines will preserve that order.

Fixes: #6059
2025-07-04 19:54:53 -05:00
Austin Horstman
7d9e3c35f0 all-maintainers: regenerate with latest changes
Should remove maintainers that existed, but weren't assigned to modules.
Will add maintainers that we missed during last refactoring.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-04 09:20:48 -05:00