1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 09:49:39 +01:00
Commit graph

4989 commits

Author SHA1 Message Date
Thiago Kenji Okada
7c1cefb983 zsh: avoid IFD while sourcing prezto 2025-05-13 19:59:12 -05:00
Thiago Kenji Okada
5f36563a5c zsh: consider zsh.{profile,login,logout,env}Extra in prezto
Right now the `zsh.prezto` module ignores the contents of the
`zsh.{profile,login,logout,env}Extra` options, so it means that if you
try to set, e.g., `zsh.profileExtra = "something";` this option will be
(silently) ignored.

This commit fixes another issue: since the main `zsh` module sets
`home.file."${relToDotDir".zshenv"}".text` while `zsh.prezto` set the
same file using `.source`, `zsh.prezto` would have priority so the
environment variables from Home-Manager would not be loaded in non-NixOS
systems. Now that we are using `.text` for both, the issue is fixed.
2025-05-13 19:59:12 -05:00
awwpotato
b44c39cf46
foliate: fix theme settings example (#7053) 2025-05-13 19:06:18 -05:00
awwpotato
8d832ddfda
foliate: init (#7049) 2025-05-13 12:05:32 -05:00
Austin Horstman
df556f2a17 tests/mako: add a original deprecation test
Make sure old options still work
2025-05-13 09:41:11 -05:00
Austin Horstman
78ad8e3c31 tests/mako: add a deprecation test
Make sure old criteria still works
2025-05-13 09:41:11 -05:00
Austin Horstman
0be2c246e3 mako: deprecate criteria option
This commit adds proper deprecation warnings and documentation for the 'criteria' option, guiding users to use the more flexible 'settings' option with nested attributes instead.

- Added warning message when users use the deprecated option

- Updated documentation with examples showing the new approach
2025-05-13 09:41:11 -05:00
Austin Horstman
dc5899978f services/mako: refactor settings to support INI sections
This commit refactors the mako module to properly handle mako INI-style
configuration with sections:

1. Enhanced the `settings` option to support both global settings and
nested sections

2. Update custom INI generator that:
   - Properly formats global settings and sections
   - Adds appropriate newlines between sections

This change allows users to define both global settings and criteria
sections
in a single `settings` attribute, resulting in cleaner and more
intuitive configuration.
2025-05-13 09:41:11 -05:00
awwpotato
535a541b42
halloy: fix themes example (#7046) 2025-05-12 22:18:52 -05:00
awwpotato
012cc9e166
halloy: add note about server being required (#7047)
halloy isn't functional if there aren't any servers configured
2025-05-12 22:18:20 -05:00
awwpotato
665c49e0c2
gnome-terminal: add package option (#7048) 2025-05-12 22:17:49 -05:00
Austin Horstman
628d8cfa54 news: migrate news entries to YYYY/MM directory structure
Move all inlined news entries from news.nix into separate files
organized
by year and month. This makes the news system more maintainable and
easier to navigate.

- Extract 202 inlined entries to individual files in YYYY/MM directory
structure
- Update news.nix to only contain the module definition
- Use recursive directory traversal to find all news entries
2025-05-12 22:14:03 -05:00
Austin Horstman
bc13c13ed7 news: reorganize news into YYYY/MM directory structure
- Update news.nix to recursively search for news entries in
subdirectories
- Update create-news-entry.sh to place new entries in YYYY/MM/
directories
- Move existing 2025 news entries to the new structure

This makes the news directory more organized and easier to navigate.
2025-05-12 22:14:03 -05:00
jaredmontoya
f0a7db5ec1
direnv: update nushell env conversion logic (#7015) 2025-05-12 15:28:52 -05:00
awwpotato
0b24658ec0
halloy: add themes option (#7043) 2025-05-12 13:08:49 -05:00
pancho horrillo
5879531462
wayprompt: tweak example (#7040)
Show that the hex values can be entered without the '0x' prefix.
2025-05-12 12:14:27 -05:00
Austin Horstman
fb061f555f misc: add news entries for March modules
Add detailed news entries for the following modules:
- services.skhd (macOS hotkey daemon) - Darwin-only
- services.jankyborders (macOS window borders) - Darwin-only
- programs.distrobox (container manager) - Linux-only
2025-05-11 22:49:04 -05:00
Austin Horstman
0083d901a3 misc: add news entries for April modules
Add detailed news entries for the following modules:
- programs.onedrive (cloud sync) - Linux-only
- programs.rmpc (MPD client)
- programs.kickoff (Wayland launcher) - Linux-only
- programs.mpvpaper (video wallpaper) - Linux-only
2025-05-11 22:49:04 -05:00
Austin Horstman
4a7311c235 misc: add news entries for May modules
Add detailed news entries for the following modules:
- programs.halloy (IRC client)
- programs.waveterm (terminal)
- programs.lutris (gaming platform)
- programs.sway-easyfocus (window selector)
- programs.i3bar-river (status bar)
- programs.onagre (app launcher)
- programs.visidata (data tool)
- services.clipcat (clipboard manager)
2025-05-11 22:49:04 -05:00
awwpotato
c74665abd6
bacon: add prefs location to settings decription (#7030) 2025-05-11 19:29:02 -05:00
jaredmontoya
7a3f3e5507 misc: fix mozilla native messaging hosts 2025-05-11 18:53:40 -05:00
jaredmontoya
a48fecda09 files: add home.file.<name>.ignorelinks 2025-05-11 18:53:40 -05:00
Aguirre Matteo
910292fe34
halloy: add module (#7034) 2025-05-11 18:52:09 -05:00
Alex Hamilton
ecb2162422 numbat: add module
Numbat is a scientific calculator with full support for physical units.
2025-05-11 18:51:14 -05:00
Alex Hamilton
563e1b6cb0 maintainers: add Aehmlo 2025-05-11 18:51:14 -05:00
awwpotato
5daf23a38f
zellij: add themes option (#7031) 2025-05-11 18:47:55 -05:00
Adolfo Jayme Barrientos
ff915842e4 Translate using Weblate (Catalan)
Currently translated at 100.0% (37 of 37 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ca/
Translation: Home Manager/Home Manager CLI
2025-05-11 18:43:21 +02:00
github-actions[bot]
6991569cb7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3730d8a308f94996a9ba7c7138ede69c1b9ac4ae?narHash=sha256-7%2BpG1I9jvxNlmln4YgnlW4o%2Bw0TZX24k688mibiFDUE%3D' (2025-05-05)
  → 'github:NixOS/nixpkgs/dda3dcd3fe03e991015e9a74b22d35950f264a54?narHash=sha256-Ua0drDHawlzNqJnclTJGf87dBmaO/tn7iZ%2BTCkTRpRc%3D' (2025-05-08)
2025-05-11 10:04:40 +02:00
awwpotato
de496c9ccb
television: add support for channels (#7026) 2025-05-10 20:08:10 -05:00
Robert Helgesson
9ef92f1c6b
waveterm: fix markdown in description 2025-05-10 23:30:17 +02:00
Maya the bee
13289f0642 services.autorandr: improve systemd unit description 2025-05-10 16:16:08 -05:00
Maya the bee
1875b5a160 services.autorandr: improve configurability
Add `matchEdid` and `extraOptions` for configuration.
2025-05-10 16:16:08 -05:00
Maya the bee
555f88ad34 services.autorandr: add package option 2025-05-10 16:16:08 -05:00
Maya the bee
4f44221724 services.autorandr: add lowlevl to maintainers 2025-05-10 16:16:08 -05:00
Maya the bee
b96c332dce maintainers: add lowlevl 2025-05-10 16:16:08 -05:00
Austin Horstman
12e6738596 docs: remove recommendation to wait for maintainers for news
We dont have merge conflicts with new method of creating news entries.
2025-05-10 11:00:39 -05:00
Austin Horstman
6fd639dbe5 docs: update news.md to highlight create-news-entry command
Update the documentation to inform users they can create news entries
themselves using `nix run .#create-news-entry` without waiting for
maintainers. This makes the contribution process more self-service
and improves the documentation to match the recently exposed flake
package.
2025-05-10 11:00:39 -05:00
Austin Horstman
c4bd004d9d flake.nix: expose create-news-entry as a package
Easier to `nix run .#create-news-entry` instead of finding the location
to run.
2025-05-10 11:00:39 -05:00
Austin Horstman
e95a7c5b6f
Revert "direnv: update nushell env conversion logic (#6999)" (#7014)
This reverts commit f2b5bf55aa.
2025-05-09 08:48:41 -05:00
Aguirre Matteo
b706037a60
distrobox: make systemd unit optional (#7007)
This PR adds an option enableSystemdUnit to the Distrobox module to make the Systemd Unit optional, and hard coded as is now.
2025-05-09 08:33:12 -05:00
Benjamin Tan
e9bd9568db
jujutsu: store configuration in $XDG_CONFIG_HOME for all platforms (#6994)
Following https://github.com/jj-vcs/jj/pull/6300, Jujutsu has deprecated
support for configuration files in `~/Library/Application Support` for
darwin. The XDG-standard configuration location can be used instead, for
all platforms.
2025-05-09 08:27:49 -05:00
Kira
f2b5bf55aa
direnv: update nushell env conversion logic (#6999)
Direnv exports PATH as a string, nu expects it to be a list and breaks
some functionality like external command completion. This requires
nushell 0.104.0, which is merged into nixpkgs-unstable.
2025-05-09 08:23:08 -05:00
pancho horrillo
3be7c80a11
wayprompt: add news entry for linux (#7009) 2025-05-09 08:22:25 -05:00
pancho horrillo
cbd8e8e9a0
PR_TEMPLATE: update example for module maintainer (#7011)
Update the permalink to show a version of the module that follows
current best practices (no `with lib;`, and nixfmt’d).
2025-05-09 08:21:59 -05:00
B1kku
8f723d6135
lutris: fix runners not working due to wrong config name (#7008) 2025-05-09 08:21:19 -05:00
Aguirre Matteo
9e10d73cea
onlyoffice: use pkgs.formats and use mkIf in config file generation (#7006) 2025-05-09 08:20:05 -05:00
Aguirre Matteo
ce1ba0e9f3
neovide: fix error when no settings are declared (#7005) 2025-05-09 08:19:03 -05:00
Aguirre Matteo
8d2ee39915
waveterm: add module (#7004) 2025-05-09 08:17:40 -05:00
pancho horrillo
5d428b68dd
docs: update filename of generated HTML manual (#7010)
Since 613dbb35db, the manual
produces an `index.xhtml` file, instead of a plain `index.html`.
2025-05-09 08:17:06 -05:00
B1kku
a51598236f
lutris: add module (#6964)
Add any number of wine packages
    Add any number of proton packages
    Link runners directly from nix instead of using lutris.
    Specify the steam package lutris should use.
    Extra packages passed to lutris (mainly since it's often missing essential things, such as umu-launcher)
2025-05-08 13:01:35 -05:00