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

247 commits

Author SHA1 Message Date
Anton Mosich
817ca5e948 types: add SCFGDirectives type
This is currently broken, as it causes a overflow when generation
documentation.
2025-10-20 17:10:44 +02:00
Anton Mosich
89a9fa0f3f generators: rewrite toSCFG
The former toSCFG implementation had several shortcomings which
did not consider a few possibilities SCFG provides. Details were lined
out in #7465.
The new interface needs more verbosity, but reflects better the
properties of the SCFG format. I also chose to use the names used in the
[Specification].

[Specification]: https://git.sr.ht/~emersion/scfg#specification-draft
2025-10-20 17:10:44 +02:00
will
aac99d4065 maintainers: add will-lol 2025-10-14 12:20:39 -05:00
Austin Horstman
02d23e6291 maintainers: remove swarsel duplicate
Exists in nixpkgs

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-12 17:34:57 -05:00
fk29g
175bf8ce19 maintainers: fix typo 2025-10-12 17:29:28 -05:00
fk29g
48ed66f59d maintainers: update link to NixOS' maintainer-list.nix
At the top of maintainers.nix it says that:

> Entries here are expected to be follow the same format as described in [1]

Typo aside, [1] links to NixOS' maintainer-list.nix file off a 5 year
old commit, which contains outdated information on which maintainer
fields are required. Notably, `github` and `githubId` have since become
mandatory, while `email` was moved to the list of optional fields.

This updates the link to point to the current version of the file.
2025-10-12 17:29:28 -05:00
Austin Horstman
2b03dc82bb lib/zsh: revert escapeShellArg in toZshValue
Causes variables to be generated with single ticks breaking shell
expansion.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
Austin Horstman
64a809b198 lib/zsh: exportAll add support for indentation
Allow indenting the output level

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-28 14:44:14 -05:00
Austin Horstman
5176d93c0a lib/zsh: fix shell escaping and integrate formatShellArrayContent
Replace naive string quoting with lib.escapeShellArg for proper shell escaping
of special characters, spaces, and quotes. Integrate with new formatShellArrayContent
for intelligent multi-line array formatting in zsh array definitions.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Austin Horstman
a8dbb4e325 lib/shell: add formatShellArrayContent function for intelligent width optimization
Add shared utility function that formats shell arrays with smart width optimization.
Packs multiple items per line based on available width (~78 chars per line) while
maintaining readability. Includes helper functions wrapLines and formatMultiLine.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-27 13:18:01 -05:00
Alex Ionescu
29e8b08f65
maintainers: add aionescu 2025-09-26 10:06:37 +02:00
Robert Helgesson
40e916658d
maintainers: remove ipsavitsky
They are already in the Nixpkgs maintainers list.
2025-09-26 09:51:33 +02:00
Austin Horstman
9136120c36 treewide: nix fmt
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-07 09:28:15 -05:00
74k1
dd026d8642 sherlock: add 74k1 as maintainer 2025-08-19 12:49:16 -05:00
Gautham Venkataraman
589efcf9c0 maintainers: add gauthsvenkat 2025-08-19 06:12:13 -05:00
Joker9944
b960067013 maintainers: add joker9944 2025-08-17 09:45:28 -05:00
Epix
8275e5d315 maintainers: add epixtm 2025-08-17 09:44:56 -05:00
Mohammad Rafiq
461706d28b maintainers: add rrvsh 2025-08-11 23:55:48 -05:00
Leon Schwarzäugl
0b7147a547 maintainers: add Swarsel 2025-08-11 10:00:35 -05:00
Austin Horstman
fc68e1100a maintainers: jkarlson -> ethorsoe
Account renamed and entry duplicated in nixpkgs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-11 09:00:53 -05:00
Elanora Manson
cc2fa2331a maintainers: add Kyure_A 2025-08-07 19:39:04 -05:00
Elanora Manson
7a985e8f5d maintainers: add elanora96 2025-08-07 19:39:04 -05:00
Cool-Game-Dev
28caf471a6 Add self as maintainer
Add myself (poseidon-rises) to the maintainers list
2025-08-05 14:10:01 -05:00
Nikolaos Karaolidis
0a98177bb8
maintainers: remove karaolidis keys (#7537)
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-07-24 11:03:53 -05:00
Austin Horstman
b4752b0eda treewide: format with latest stable formatter
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-23 10:27:52 -05:00
zorrobert
7834432ca5
thunderbird: support declaration of address books (#7443)
Adds support for address books using the `accounts.contact.accounts.*` options.
2025-07-20 19:12:35 -05:00
Austin Horstman
7c78e592a8 maintainers: remove duplicate nixpkgs maintainers
We don't need to maintain them in here, removing them to fix CI check

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-17 15:15:39 -05:00
Quentin Smith
ea24675e4f
lib: Improve KDL generator (#7429)
This adds support for generating ordered children and nodes with
attributes and/or properties but no children. These are both needed to
generate zellij keybinding configuration.
2025-07-12 14:32:14 -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
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
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
Austin Horstman
b8bb556ce5 maintainers: remove duplicate HM entries
We can remove duplicate entries and redirect to the nixpkgs entry.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-04 09:20:48 -05:00
Austin Horstman
121b430df7
maintainers: fix incorrect entries (#7360)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-01 23:01:12 -05:00
Different
1db3cb415d
lib/strings: add PascalCase support for toCaseWithSeperator (#7282) 2025-06-16 13:49:41 -05:00
Aguirre Matteo
cef3e0adc0
maintainers: update aguirre-matteo email (#7279) 2025-06-15 18:45:17 -05:00
Devin Droddy
dd12be8603 maintainers: add justdeeevin 2025-06-12 20:49:28 -05:00
Thierry Delafontaine
7e3d76e7f7 maintainers: add delafthi 2025-06-09 22:33:16 -05:00
Rishi Vora
e9763eb195
niriswitcher: add module (#7246) 2025-06-09 22:30:27 -05:00
Austin Horstman
765ceb93d1 lib: remove literalExpression and literalDocBook logic
3 years old, not needed anymore.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-31 00:01:48 -05:00
MunsMan
13ed57aaa6
meli: adding the meli email client (#7111)
Meli email client integrated into the accounts.email.accouts settings.
2025-05-28 22:30:10 -05:00
repparw
ad22169efa
jellyfin-mpv-shim: add module (#7129)
Init of service jellyfin-mpv-shim, emulating plex-mpv-shim already provided.
2025-05-27 19:10:18 -05:00
Jacob Birkett
abe66194b9 lib/types: add sourceFileOrLines
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-24 19:54:43 -05:00
Nikolaos Karaolidis
c3d48a17aa
obsidian: add module (#6487)
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-05-24 18:55:23 -05:00
awwpotato
3f591550a9
formatter: remove script, add treefmt.toml + keep-sorted (#7056)
currently ./format does a bunch of stuff with git that was only necessary for nixfmt but not nixfmt-tree, so I deleted it (just use treefmt command directly instead). I also added keep sorted to keep the really long module lists sorted (already used in nixpkgs).
2025-05-20 12:42:51 -05:00
Nick DeGroot
a1a72d18ee
pgcli: init (#7072) 2025-05-15 22:50:09 -05:00
Damien Cassou
1c2fccef83 services.nix-gc: extract darwin agent interval code to new library file 2025-05-15 13:07:13 -05:00
jaredmontoya
a48fecda09 files: add home.file.<name>.ignorelinks 2025-05-11 18:53:40 -05:00
Alex Hamilton
563e1b6cb0 maintainers: add Aehmlo 2025-05-11 18:51:14 -05:00
Maya the bee
b96c332dce maintainers: add lowlevl 2025-05-10 16:16:08 -05:00