Commit graph

470 commits

Author SHA1 Message Date
Juan C Nuno
a4ee5403ca home-manager: Pass extraArgs to nix-instantiate
My NIX_PATH is empty because of the new system.nix NixOS entry point.
I've been relying on -I options more and here they're not being passed
to nix-instantiate.
2026-06-20 12:38:59 -05:00
Austin Horstman
fea021792d treefmt: format Python with ruff
Add ruff to the tree formatter so Python sources are kept consistently
formatted by 'nix fmt' and the CI format check. Test fixtures under
tests/modules are excluded since some are intentionally invalid Python.
Reformats the existing lib/python and tests scripts accordingly.
2026-06-19 10:00:25 -05:00
Tommaso Soncin
c87a39aa97 Translate using Weblate (Italian)
Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (Italian)

Currently translated at 93.7% (15 of 16 strings)

Co-authored-by: Tommaso Soncin <soncintommaso@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/it/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/it/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-06-12 18:04:56 -05:00
Tofaa
8962c2a0f4 Translate using Weblate (Azerbaijani)
Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (Azerbaijani)

Currently translated at 18.7% (3 of 16 strings)

Add translation using Weblate (Azerbaijani)

Add translation using Weblate (Azerbaijani)

Co-authored-by: Tofaa <tofig.adigozalov.180904@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/az/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/az/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-06-01 14:17:00 -05:00
Austin Horstman
7d8127d308 flake: track nixpkgs-unstable 2026-05-29 19:01:27 -05:00
Austin Horstman
948753061a home-manager: prepare 26.11
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-05-29 19:01:27 -05:00
qb114514
d17712ec7a Translate using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Toki Pona)

Currently translated at 93.7% (15 of 16 strings)

Translate using Weblate (Toki Pona)

Currently translated at 94.8% (37 of 39 strings)

Translate using Weblate (Chinese (Simplified Han script))

Currently translated at 97.4% (38 of 39 strings)

Co-authored-by: qb114514 <GNUqb114514@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/tok/
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/tok/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/zh_Hans/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-05-28 12:23:23 +02:00
Austin Horstman
1a95e2efb4 home-manager: set 26.05 as stable
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-05-25 11:31:36 -05:00
jay
509ed3c603 Translate using Weblate (Dutch)
Currently translated at 97.4% (38 of 39 strings)

Co-authored-by: jay <jj8z@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/nl/
Translation: Home Manager/Home Manager CLI
2026-05-22 22:30:42 -05:00
soweli Emi
9846abe15e Translate using Weblate (Toki Pona)
Currently translated at 87.5% (14 of 16 strings)

Translate using Weblate (Toki Pona)

Currently translated at 94.8% (37 of 39 strings)

Co-authored-by: soweli Emi <emi@alchemi.dev>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/tok/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/tok/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-05-14 19:35:20 -05:00
Ludovic Pagès
00ed86e58b Translate using Weblate (French)
Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Ludovic Pagès <nanucq@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translation: Home Manager/Home Manager CLI
2026-05-05 21:33:49 +02:00
Ludovic Pagès
94db028632 Translate using Weblate (French)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (French)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Ludovic Pagès <nanucq@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-05-01 08:39:56 -05:00
Troy
f92dc91642 Translate using Weblate (Arabic)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Arabic)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Troy <radiohotline@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ar/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ar/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-05-01 08:39:56 -05:00
Ludovic Pagès
0add2d439a Translate using Weblate (French)
Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (French)

Currently translated at 100.0% (16 of 16 strings)

Co-authored-by: Ludovic Pagès <nanucq@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-04-26 09:59:09 -05:00
Nikodem
7cdccd0db9 Translate using Weblate (Polish)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Polish)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Nikodem <35564466+x1pper@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pl/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pl/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-04-26 09:59:09 -05:00
Austin Horstman
01ea51d706 treewide: use inherit for attribute assignments
This change converts redundant attribute assignments of the form `a =
a;` or `a = someSet.a;` into cleaner `inherit` statements. This reduces
verbosity and follows common Nix style for bringing attributes into
scope.

Statix Codes: W03 (manual_inherit), W04 (manual_inherit_from)

Also include statix and the rule in our configuration.
2026-04-08 14:47:48 -05:00
Nara Díaz Viñolas
2bd16b16a7 Translate using Weblate (Catalan)
Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (Spanish)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Nara Díaz Viñolas <nara.diaz.vinolas@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ca/
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/es/
Translation: Home Manager/Home Manager CLI
2026-04-07 08:41:37 +02:00
Marko Milovanov
f68887a4c1 Translate using Weblate (Serbian)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Serbian)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Marko Milovanov <markomilovanov03@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/sr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/sr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-04-03 15:45:10 +02:00
Weblate (bot)
0adb999327
Translations update from Hosted Weblate (#9010)
Co-authored-by: Pedro de Mattia <pedromattia@gmail.com>
Co-authored-by: Alex Miranda <alexmirandamoraes@gmail.com>
Co-authored-by: Felipe Silva <git@felipeqq2.rocks>
Co-authored-by: guto <joaoaugustolanjoni@gmail.com>
Co-authored-by: Gabriel Grysuk <gabrielgrysuk@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Emre Çebi <emrecebi03@gmail.com>
Co-authored-by: Silk <omerntuzun@gmail.com>
Co-authored-by: Doğu Us <usdogu@gmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Josef Dalibor <josefkruse@googlemail.com>
Co-authored-by: programmerlexi <lexi@reyer.name>
Co-authored-by: Frederik Engels <frederik.engels92@gmail.com>
Co-authored-by: Manu [tennox] <tennox@posteo.de>
Co-authored-by: mainrs <github619064@zerotask.net>
Co-authored-by: Reiner Gerecke <me@reinergerecke.de>
Co-authored-by: halbGefressen <chzi@pm.me>
Co-authored-by: JonathanB <ewu.uwent@gmail.com>
Co-authored-by: Urocissa Caerulea.Tw <urocissa.tw@proton.me>
Co-authored-by: WhiredPlanck <whiredplanck@outlook.com>
Co-authored-by: 807 <s10855168@gmail.com>
Co-authored-by: Ferenci Ákos <synthetace@gmail.com>
Co-authored-by: Balint Barna Kovari <balint@kovari.cc>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: Максим Горпиніч <gorpinicmaksim2005ukr@protonmail.com>
Co-authored-by: wadsaek <wadsaek@gmail.com>
Co-authored-by: Lucas Eduardo <lucas59356@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: SrGesus <gabriel.fcf04@gmail.com>
Co-authored-by: Julius Marozas <marozas.julius@gmail.com>
Co-authored-by: Kornelijus Tvarijanavičius <kornelijus@tvaria.com>
Co-authored-by: Yogurt <donatas.karta@gmail.com>
Co-authored-by: Deleted User <noreply+48943@weblate.org>
Co-authored-by: Mario Rodas <rodasmario2@gmail.com>
Co-authored-by: Mauricio Scheffer <mauricioscheffer@gmail.com>
Co-authored-by: Harrizon Soler <harryalex0281@hotmail.com>
Co-authored-by: Brian E <brianellingsgaard9@gmail.com>
Co-authored-by: Keivan <keyvan0082@gmail.com>
Co-authored-by: Parsa Nobahari <89968726+ParsaNobahari@users.noreply.github.com>
Co-authored-by: Marko Milovanov <markomilovanov03@gmail.com>
Co-authored-by: Leix b <abone9999@gmail.com>
Co-authored-by: Alejandro Masó Bonilla <alejandrobonilla2001@gmail.com>
Co-authored-by: Peter Pfeufer <info@ppfeufer.de>
Co-authored-by: Viktor Illmer <accounts@viktor.im>
Co-authored-by: Sven Keidel <svenkeidel@pm.me>
Co-authored-by: Vollow <muffinslog@proton.me>
Co-authored-by: Hongtyu Bhe <mfthits@gmail.com>
Co-authored-by: Sam Chu <samchu-primary@outlook.com>
Co-authored-by: immwind <i@immwind.com>
Co-authored-by: nanliu <nan.liu@gmail.com>
Co-authored-by: Zexin Yuan <yuan.zx@outlook.com>
Co-authored-by: Frankie McEyes <mceyes@protonmail.com>
Co-authored-by: Leonardo Randacio <leonardorandacio@gmail.com>
Co-authored-by: Fareesh Vijayarangam <fareesh@gmail.com>
Co-authored-by: Utkarsh Sharma <utkasharma19@gmail.com>
Co-authored-by: Muxutruk <benat.eigurenzu@elorrieta-errekamari.com>
Co-authored-by: ShadowTiger Raptor <sh4dowtig3r@gmail.com>
Co-authored-by: Peng Guanwen <pg999w@outlook.com>
Co-authored-by: Yubo-Cao <Cao2006721@gmail.com>
Co-authored-by: ethinx <eth2net@gmail.com>
Co-authored-by: Daniel Jacob Butcher <corpo@quokka.wiki>
Co-authored-by: Pablo Bollansee <pablo.bollansee@gmail.com>
Co-authored-by: Zurga <jim.lemmers@gmail.com>
Co-authored-by: Hylke de Vries <hylke94+weblate@gmail.com>
Co-authored-by: Erwin Mintiens <erwin.mintiens@protonmail.com>
Co-authored-by: Eric Ho <eric913@gmail.com>
Co-authored-by: Nara Díaz Viñolas <rdvdev2@gmail.com>
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Tomi Ockier <ockier1@gmail.com>
Co-authored-by: Bruno Fragoso <darth_signa@hotmail.com>
Co-authored-by: Omar Mohamed <mohamed.omar67492@gmail.com>
Co-authored-by: Borislav Rangelov <borislav.y.rangelov@gmail.com>
Co-authored-by: Kiril Panayotov <eccyboo@protonmail.com>
Co-authored-by: Kiril Mihaylov <kiril195@hotmail.com>
Co-authored-by: 박수원 <bboxone@gmail.com>
Co-authored-by: Suwon Park <sepiabrown@naver.com>
Co-authored-by: honnip <me@honnip.page>
Co-authored-by: lentil32 <lentil32@icloud.com>
Co-authored-by: Mohammad Abdolirad <m.abdolirad@gmail.com>
Co-authored-by: Artin Mobasher <mobasherartin.icm@gmail.com>
Co-authored-by: Bjarki Gunnarsson <bjarkihg@gmail.com>
Co-authored-by: Anon Ymous <mivon27841@shackvine.com>
Co-authored-by: Jakub Janczak <kubek2k@gmail.com>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Mateusz Kubica <mw.kubica@gmail.com>
Co-authored-by: Tomasz Czyż <tomasz.czyz@eskapizm.pl>
Co-authored-by: Tymoteusz Dolega <tymoteuszdolega@gmail.com>
Co-authored-by: TANIGUCHI Kohei <a.d.xvii.kal.mai@gmail.com>
Co-authored-by: Takeru Mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Co-authored-by: Heman Gandhi <hemangandhi@gmail.com>
Co-authored-by: Turmoil Nailsis <indianrunner@duck.com>
Co-authored-by: Narazaki Shuji <shujinarazaki@protonmail.com>
Co-authored-by: Markus Amano <markus.a.amano@gmail.com>
Co-authored-by: Kento Okamoto <kentokamoto@protonmail.com>
Co-authored-by: HeartBlin913861820c094e37 <heartblin@proton.me>
Co-authored-by: SMFloris <floris.sm@gmail.com>
Co-authored-by: Felix Puscasu <puscasu.felix1@gmail.com>
Co-authored-by: David Houdek <sarejnovec@gmail.com>
Co-authored-by: max <weblate@p2502.net>
Co-authored-by: Dark Templar <dark.templar0007@gmail.com>
Co-authored-by: AtomicDude <vasilescutoma4@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Wildan Nursyamsi <muhamad11wildan4n@gmail.com>
Co-authored-by: Abdul V Vahry <cyberaioff@gmail.com>
Co-authored-by: Kamontat Chantrachirathumrong <uein2@users.noreply.hosted.weblate.org>
Co-authored-by: Eise Zimmerman <eiscomania@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: LilleAila <olai.solsvik@gmail.com>
Co-authored-by: Kim A. Ødegaard <kim@dyktig.no>
Co-authored-by: Robert Helgesson <robert@rycee.net>
Co-authored-by: jarre johansson <jarre@johansson.today>
Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com>
Co-authored-by: Marcin Kaczorek <hostedweblateorgmk@karek.pl>
Co-authored-by: Mateusz P <medan1993@gmail.com>
Co-authored-by: Gabriel Fontes <hi@m7.rs>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: Naïm Camille Favier <n@monade.li>
Co-authored-by: Pink Pony <dreammc@protonmail.com>
Co-authored-by: Dorian Burgun <docdoomduck@protonmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: 6KHCPCPO <lxh43qf2b@relay.firefox.com>
Co-authored-by: swaps <swapgs@users.noreply.hosted.weblate.org>
Co-authored-by: Szabin Hamrik <h.szabin@gmail.com>
Co-authored-by: Jay Thomas <jay@gfax.ch>
Co-authored-by: adityalal01 <erc202009@gmail.com>
Co-authored-by: Karel Kremel <charles@alembiq.net>
Co-authored-by: David Chocholatý <chocholaty.david0@gmail.com>
Co-authored-by: FireFragment <snaselik.m@gmail.com>
Co-authored-by: தமிழ்நேரம் <tamilneram247@gmail.com>
Co-authored-by: DeeKahy <Lennart.Diego.Kahn@gmail.com>
Co-authored-by: cafkafk <christina@cafkafk.com>
Co-authored-by: Matilde <matilde.alb@proton.me>
Co-authored-by: Julien H. Gibson <julienhgibson@protonmail.com>
Co-authored-by: Guilloux Nicolas <novares.x@gmail.com>
Co-authored-by: Alexis Rossfelder <rossfelderalexis@gmail.com>
Co-authored-by: Yk Cheese <yakforcom@gmail.com>
Co-authored-by: Louis Thevenet <louis.thevenet@proton.me>
Co-authored-by: TheBlackBeans <adrien.mathieu.net@gmail.com>
Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Co-authored-by: Mikhail Chekan <chekoopa@mail.ru>
Co-authored-by: Nikolay Mokrinsky <me@mokrinsky.ru>
Co-authored-by: Petr Portnov | PROgrm_JARvis <mrJARVIScraft@gmail.com>
Co-authored-by: Er1ckR1ck0 <eryckov37@gmail.com>
Co-authored-by: NikSne <commits@niksne.ru>
Co-authored-by: Lorenzo Brzek <lorenzo@brzek.it>
Co-authored-by: FedFer98123 <fede.ferrari123@gmail.com>
Co-authored-by: Lorenzo Bevilacqua <lorenzobevilacqua02@gmail.com>
Co-authored-by: Mustafa Çalışkan <muscaln@protonmail.com>
Co-authored-by: goatastronaut0212 <goatastronaut0212@proton.me>
Co-authored-by: Nguyen Khanh <nguynkhan479@gmail.com>
Co-authored-by: RepentantKnight121 <repentantknight121@outlook.com>
Co-authored-by: Deleted User <noreply+69728@weblate.org>
Co-authored-by: Rasmus Enevoldsen <rasmus@enev.dk>
Co-authored-by: bgo-eiu <huyaqoob+toolforge@gmail.com>
Co-authored-by: Petter K <petterkarlsrud@me.com>
Co-authored-by: Gavagai53 <masella_portlock@aleeas.com>
Co-authored-by: Vladimir <kirillov.vladimir@gmail.com>
Co-authored-by: teu5us <paulkreuzmann@gmail.com>
2026-03-31 14:12:35 -05:00
Marko Milovanov
a184bd2f84
Fix Serbian translation merge conflict (#9003)
* Translate using Weblate (Serbian)

Currently translated at 79.4% (31 of 39 strings)

Translate using Weblate (Serbian)

Currently translated at 75.0% (12 of 16 strings)

Translate using Weblate (Serbian)

Currently translated at 25.0% (4 of 16 strings)

Translate using Weblate (Serbian)

Currently translated at 25.6% (10 of 39 strings)

Translate using Weblate (Serbian)

Currently translated at 6.2% (1 of 16 strings)

Translate using Weblate (Serbian)

Currently translated at 5.1% (2 of 39 strings)

Add translation using Weblate (Serbian)

Add translation using Weblate (Serbian)

Co-authored-by: Marko Milovanov <markomilovanov03@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/sr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/sr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules

* Translate using Weblate (Serbian)

Currently translated at 93.7% (15 of 16 strings)

Translation: Home Manager/Home Manager Modules
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/sr/

* Translate using Weblate (Serbian)

Currently translated at 84.6% (33 of 39 strings)

Translation: Home Manager/Home Manager CLI
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/sr/
2026-03-30 21:24:36 +02:00
Marko Milovanov
4a8e31396a Translate using Weblate (Serbian)
Currently translated at 25.0% (4 of 16 strings)

Translate using Weblate (Serbian)

Currently translated at 25.6% (10 of 39 strings)

Translate using Weblate (Serbian)

Currently translated at 6.2% (1 of 16 strings)

Translate using Weblate (Serbian)

Currently translated at 5.1% (2 of 39 strings)

Add translation using Weblate (Serbian)

Add translation using Weblate (Serbian)

Co-authored-by: Marko Milovanov <markomilovanov03@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/sr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/sr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-03-28 14:56:35 -05:00
Wildan Nursyamsi
efba7917d5 Translate using Weblate (Indonesian)
Currently translated at 93.7% (15 of 16 strings)

Translate using Weblate (Indonesian)

Currently translated at 94.8% (37 of 39 strings)

Co-authored-by: Wildan Nursyamsi <muhamad11wildan4n@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/id/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/id/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-03-06 19:01:13 -06:00
Wildan Nursyamsi
924e61f5c2 Translate using Weblate (Indonesian)
Currently translated at 82.0% (32 of 39 strings)

Co-authored-by: Wildan Nursyamsi <muhamad11wildan4n@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/id/
Translation: Home Manager/Home Manager CLI
2026-03-03 14:24:51 -06:00
teto
58330fd08d flake: add a devShell
that includes the formatter
2026-02-26 20:44:57 -06:00
Dennis Schridde
36349274d7 home-manager: Prevent pipe failure when reading news
On my system (Fedora 43 with Nix 2.31.3) `home-manager news` exits
from `SIGPIPE` and never writes `~/.local/share/home-manager/news-read-ids`,
resulting in news items to never be marked read.  This is caused by
piping `(import ./news.nix).news.all` through `jq` and `less` failing
with an error as soon as `less` exits, which triggers `set -o pipefail`
to exit the shell running `home-manager` itself.

Avoiding the pipe into `$PAGER` avoids the problem.

Closes: https://github.com/nix-community/home-manager/issues/8690
References: https://github.com/jqlang/jq/issues/1017
References: https://www.greenend.org.uk/rjk/tech/shellmistakes.html#pipeerrors
2026-02-03 18:14:58 -06:00
Pedro de Mattia
f4ad5068ee Translate using Weblate (Portuguese)
Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (Portuguese)

Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Pedro de Mattia <pedromattia@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt/
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pt/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pt_BR/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-31 16:22:15 +01:00
programmerlexi
d505dc46dc Translate using Weblate (German)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (German)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: programmerlexi <lexi@reyer.name>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/de/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/de/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-27 21:04:46 +01:00
adityalal01
9637348153 Translate using Weblate (Hindi)
Currently translated at 17.9% (7 of 39 strings)

Co-authored-by: adityalal01 <erc202009@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/hi/
Translation: Home Manager/Home Manager CLI
2026-01-25 16:04:04 -06:00
Takeru Mikenu
64133886d9 Translate using Weblate (Japanese)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (Japanese)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Takeru Mikenu <mikenu-jp@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ja/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ja/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-22 23:56:38 +01:00
Hosted Weblate
bc68ab001c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-21 18:08:05 +01:00
Robert Helgesson
27b60942b7 home-manager: refactor activation checks
This is mainly to unify the error messages for more convenient and
consistent translation. Also allows somewhat more convenience if
additional checks are needed.
2026-01-21 13:14:01 +01:00
Hosted Weblate
9997de2f62 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-20 21:57:21 +01:00
Robert Helgesson
873c137ead Translate using Weblate (Swedish)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (French)

Currently translated at 83.3% (15 of 18 strings)

Translate using Weblate (Swedish)

Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (French)

Currently translated at 97.4% (38 of 39 strings)

Co-authored-by: Robert Helgesson <robert@rycee.net>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/sv/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/sv/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-20 21:57:21 +01:00
Robert Helgesson
775294baf4
home-manager: simplify error messages slightly 2026-01-20 21:52:11 +01:00
Hosted Weblate
a50511b63f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-20 21:45:34 +01:00
Robert Helgesson
9c5f8aceb6 home-manager: improve a few i18n strings 2026-01-20 13:35:18 +01:00
Matilde
895eddbee8 Translate using Weblate (Danish)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Danish)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Matilde <matilde.alb@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/da/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/da/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-20 08:22:58 +01:00
Brian E
c47b2cc64a Translate using Weblate (Faroese)
Currently translated at 41.1% (7 of 17 strings)

Translate using Weblate (Faroese)

Currently translated at 15.3% (6 of 39 strings)

Co-authored-by: Brian E <brianellingsgaard9@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fo/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fo/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-16 15:16:50 -06:00
Brian E
d4c406cfa8 Translate using Weblate (Faroese)
Currently translated at 23.5% (4 of 17 strings)

Translate using Weblate (Faroese)

Currently translated at 12.8% (5 of 39 strings)

Co-authored-by: Brian E <brianellingsgaard9@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fo/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fo/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2026-01-08 00:01:18 -05:00
Urocissa Caerulea.Tw
2f93d7333e
Translate using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (39 of 39 strings)

Translate using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: Urocissa Caerulea.Tw <urocissa.tw@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/zh_Hant/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-12-04 09:16:41 +00:00
Brian E
704b6ffa8a Translate using Weblate (Faroese)
Currently translated at 7.6% (3 of 39 strings)

Translate using Weblate (Faroese)

Currently translated at 17.6% (3 of 17 strings)

Co-authored-by: Brian E <brianellingsgaard9@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fo/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fo/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-11-30 14:18:18 -06:00
Austin Horstman
8433591183 home-manager: prepare 26.05
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-26 11:16:38 -06:00
Austin Horstman
f47d2e3821 home-manager: set 25.11 as stable
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-26 10:43:01 -06:00
Robert Helgesson
ea164b7c9c home-manager: remove rollback subcommand
Some checks failed
/ triage (push) Has been cancelled
GitHub Pages / publish (ubuntu-latest) (push) Has been cancelled
This removes the possibility of running `home-manager rollback`. It
was added by mistake at some point and has never worked since it
immediately calls a non-existent function `doRollback`.
2025-11-17 22:57:32 +01:00
Mikenu Takeru
0b2a2b3f33 Translate using Weblate (Japanese)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Japanese)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Mikenu Takeru <mikenu-jp@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ja/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ja/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-11-15 09:34:07 +01:00
TANIGUCHI Kohei
229a7ab373 Translate using Weblate (Japanese)
Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: TANIGUCHI Kohei <a.d.xvii.kal.mai@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ja/
Translation: Home Manager/Home Manager CLI
2025-11-15 09:34:07 +01:00
bruce oberg
64c49b1aa5 home-manager: fix option subcommand
- calls nix-instatiate instead of nixos-option (using nix-option's underlying nix script).
- loops over options to display since nixos-option can only process a single option.
- passes through the --recursive flag from nixos-option. and includes --help and man page for the flag.

details:

nixos-option was changed from a C++ command to a shell script that feeds a nix script (with arguments) to nix-instatiate. in the process, the --config_expr and --options_expr we once passed to nixos-option were removed.

without changing the nixos-option shell script, we have no may to override the arguments to the nixos-option nix script.

luckily, we can use our modulesExpr as a direct argument to the new nixos-option nix script.

unluckily, the nix script does not accept multiple options per instantiation. so we are also looping through the given options ourselves and feeding them each to nixos-option's nix script.

the nixos-option shell and nix scripts are in different places in the nix store, so we have to search the store for the nix script given the location of the shell script.

also, the nixos-option nix script wants a 'recursive' flag, so we now honor that flag for the home-manager option subcommand.
2025-11-03 09:12:22 -06:00
Christina O'Donnell
ce76393bb7
home-manager: add support for custom backup command (#6424) (#7153)
This adds a new backupCommand option to allow users to specify a
custom command to run on existing files during activation, as an
alternative to the existing backupFileExtension mechanism.

Adds backupCommand option to NixOS and nix-darwin modules.

Exports HOME_MANAGER_BACKUP_COMMAND environment variable when set.

Updates file activation logic to use the custom backup command if
provided, falling back to the existing backup extension logic.

Updates collision checking and user-facing instructions to
mention the new option.

This enables advanced backup workflows, such as moving files to
trash or archiving with custom tools, before managing them with
Home Manager.
2025-10-30 12:26:13 -05:00
nanliu
e82585308a Translate using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Chinese (Simplified Han script))

Currently translated at 94.8% (37 of 39 strings)

Co-authored-by: nanliu <nan.liu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/zh_Hans/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-10-27 11:54:37 -05:00
bgo-eiu
af6bb5ea8e Translate using Weblate (Turkish (Ottoman))
Currently translated at 5.1% (2 of 39 strings)

Add translation using Weblate (Turkish (Ottoman))

Add translation using Weblate (Turkish (Ottoman))

Co-authored-by: bgo-eiu <huyaqoob+toolforge@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ota/
Translation: Home Manager/Home Manager CLI
2025-10-23 19:37:09 -05:00