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

3579 commits

Author SHA1 Message Date
isabel
3b955f5f0a zed-editor: allow for nullable package (#7220)
(cherry picked from commit 1d595a5b64)
2025-09-21 09:09:05 -05:00
Michael Daniels
6f656618eb nvchecker: add module
(cherry picked from commit 3cb08dd360)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-19 15:22:21 -05:00
Martin Weinelt
07fc025fe1 fcitx5: migrate to qt6Packages
This fixes eval because the attribute doesn't exist anymore under
libsForQt5.

(cherry picked from commit 77f348da31)
2025-08-31 17:28:07 -05:00
PerchunPak
f9fa795a29 hyprpanel: deprecate theme.name option
(cherry picked from commit b4b5f008d7)
2025-08-31 17:27:24 -05:00
xezo360hye
4a44fb9f75
home-manager: add force option for gtk-2 config (#7073)
This adds gtk.gtk2.force enable option which maps directly onto home.files.${cfg2.configLocation}.force to allow overwrite of the gtkrc-2.0 file (workaround for bug #6188).

(cherry picked from commit d3f5d870e3)
2025-08-23 07:48:19 +02:00
Louis Orleans
4fb695d108
vscode: specify full path
The script executes in `/usr/local/bin`, so specifying the full path to the `Library` dir is necessary.

(cherry picked from commit c23168acf5)
2025-08-21 13:48:04 +02:00
Louis Orleans
7e96494bf4
vscode: quote path
`mkdir` had an unquoted variable, leading to errors when using paths with spaces (ie: `/Users/me/Library/Application Support/…`)

(cherry picked from commit 9b59dcee0b)
2025-08-21 13:48:04 +02:00
Friedrich Altheide
0b9bf983db yarn: improve docs
(cherry picked from commit a1817d1c0e)
2025-07-25 16:43:59 -05:00
Friedrich Altheide
1e9c01bbbb docker-cli: Improve docs, fix enviornment variable
(cherry picked from commit 26e33ea5c0)
2025-07-25 16:43:59 -05:00
home-manager-ci[bot]
7b5a978e00
yarn: add module (#7526) (#7529)
(cherry picked from commit e9c599e40c)

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Friedrich Altheide <11352905+FriedrichAltheide@users.noreply.github.com>
2025-07-23 11:30:31 -05:00
Friedrich Altheide
9b9eb96dcd docker-cli: enable module in 25.05 2025-07-23 10:31:59 -05:00
Austin Horstman
2e00ed310c
Revert "dunst: UWSM compatibility (#7472)" (#7473)
This reverts commit 8597e85e2c.
2025-07-14 20:52:54 -05:00
fcoelhomrc
8597e85e2c
dunst: UWSM compatibility (#7472)
Added Install field for systemd service, which is needed for autostart to work properly under compositors launched under UWSM
2025-07-14 16:13:16 -05:00
Friedrich Altheide
c6a01e54af docker-cli: add module (#7411)
(cherry picked from commit 729c5e5465)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-10 23:35:17 -05:00
home-manager-ci[bot]
d457fa3c76
programs/hyprpanel: init (#7303) (#7321)
(cherry picked from commit f5098b0740)

Co-authored-by: Perchun Pak <git@perchun.it>
2025-06-24 11:42:55 -05:00
Rosario Pulella
7aae0ee71a
dconf: revert: dconf: Provide dconf (#7216)
Providing dconf via hm in this manner provided to be problematic for 
user with systems that were already providing dconf (like ubunut).

Revert ff73544e4a
2025-06-05 15:06:58 -05:00
Austin Horstman
afe9ce8b20
dconf: Fix Gio module variable breakage (#7146) (#7163)
In some setups, this would cause missing Gio modules that cause e.g.
Nautilus to not be able to view the XDG trash, and potentially other
issues.

Fixes: ec8205c3 ("dconf: set env var")
Fixes: #7143
(cherry picked from commit d3a3aee558)

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2025-05-30 12:44:53 -05:00
Sebastian Klähn
0d13ea58d5
activitywatch: Proper watcher name in example (#7136) 2025-05-28 22:05:45 -05:00
Rosario Pulella
529d2aac54
dconf: Fix dconf config not apply correctly (#7131) 2025-05-28 13:11:16 -05:00
Robert Helgesson
e08e6e2389
home-manager: set 25.05 as stable 2025-05-18 10:26:29 +02:00
Austin Horstman
5d13260881 treewide: lnl7 -> nix-darwin
Renamed recently.
2025-05-16 18:47:17 -05:00
awwpotato
74d31e1165
ptyxis: init module (#7075) 2025-05-16 15:29:26 -05:00
Nick DeGroot
a1a72d18ee
pgcli: init (#7072) 2025-05-15 22:50:09 -05:00
Damien Cassou
098e365dd8 borgmatic: add darwin-specific documentation to services.borgmatic.frequency 2025-05-15 15:16:49 -05:00
Damien Cassou
8ae36f8ea2 nix-gc: fix documentation 2025-05-15 15:16:49 -05:00
Jess
dbc90cc3ae
rclone: declarative mounts (#7060) 2025-05-15 13:33:51 -05:00
Jonathan Bouchard
b022c9e3b8
vscode: allow specifying paths for VSCode JSON settings (#7055)
Enables users to provide paths to JSON files for VS Code settings,
tasks, and keybindings. This allows for more flexible configuration
management and reuse of existing configuration files instead of using inline configurations.
2025-05-15 13:32:46 -05:00
Timon Schelling
a99bddfe53
lapce: fix no argument hash for pluginFromRegistry (#7062)
The `hash` argument was mistakenly removed during dead code cleanup in #6985.

This argument is required by `fetchPluginTarballFromRegistry`, so `pluginFromRegistry` must pass it through.

To avoid future removals by `deadnix`, `pluginFromRegistry` now explicitly takes and forwards the `hash` argument.
2025-05-15 13:32:14 -05:00
Rosario Pulella
ec8205c3d7 dconf: set env var 2025-05-15 13:30:08 -05:00
Rosario Pulella
ff73544e4a dconf: Provide dconf package and dbus service file
With the dconf package and its dbus service file provided by 
home-manager, there is no need for it to be provided by the system.
2025-05-15 13:30:08 -05:00
Rosario Pulella
c310818dca
mako: Fix missing dbus service file (#7065) 2025-05-15 13:28:43 -05:00
Damien Cassou
c09ccd7d39 services.borgmatic: add initial support for darwin 2025-05-15 13:07:13 -05:00
Damien Cassou
34d44d7f1b services.borgmatic: wrap systemd configuration within a isLinux condition 2025-05-15 13:07:13 -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
Damien Cassou
3b930bb653 services.nix-gc: improve error message when nix.gc.frequency is invalid on darwin
Previously, if an invalid value was passed, the build would fail with:

       error: attribute '"00:02:03"' missing
       at /nix/store/sz92b5gqi0ma61d18fwbihi8p37mkvir-source/modules/services/nix-gc.nix:69:5:
           68|     in
           69|     freq.${frequency};
             |     ^
           70|

There was an assertion that should have prevented this from happening
but the crash would happen before the assertion gets a chance to stop
the build with a nice error message.

This commit both gives the assertion a chance to trigger and improves
the assertion's error message.
2025-05-15 13:07:13 -05:00
Rosario Pulella
ad1e8bb782
dbus: Create with pacakges options (#7064)
This adds a module for dbus with only one option, `packages`.
The `dbus.packages` options allows users to specify packages to have
their dbus service files (from `/share/dbus-1/services`) linked to the
users dbus services directory (`$XDG_DATA_HOME/dbus-1/services/`),
effectively enabling the services.
2025-05-15 12:59:12 -05:00
andre4ik3
02ea79853c
emacs: respect defaultEditor on Darwin (#7063)
Currently on Darwin, services.emacs.defaultEditor = true isn't respected, as the variable is only configured on Linux.

This PR simply moves the variable out to a common block, so it's applied on all platforms.
2025-05-14 22:27:36 -05:00
Thiago Kenji Okada
6bf057fc83
zsh: do not duplicate zsh.{profile,login,logout,env}Extra in prezto (#7061)
In #7057 changed the definition of how the prezto files where loaded
(from using `.source` to `.text`) and also manually add the text from
`zsh.{profile,login,logout,env}Extra` files to the prezto definitions,
but the last part was unnecessary and now we have duplicates inside the
file.

This commit fixes it.
2025-05-14 07:30:51 -05:00
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
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