1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-23 08:35:08 +01:00
Commit graph

4046 commits

Author SHA1 Message Date
Florian Klink
697ba1319f
waybar: allow setting systemd.target to null ()
This allows making the systemd user unit appear without it autostarting,
which is useful if you want to start it manually from a specific display
manager config only.
2025-01-29 17:16:15 -06:00
Austin Horstman
6fbbfb9240
Revert "thunderbird: add native host support ()" () 2025-01-29 17:11:30 -06:00
Maximilian Füsslin
79eff1f6b9
zsh: added HIST_SAVE_NO_DUPS and HIST_FIND_NO_DUPS options to zsh for history configuration. ()
Co-authored-by: Maximilian Füsslin <mfuesslin@gmail.com>
2025-01-29 16:31:45 -06:00
Utkarsh Gupta
6aa38ffdf7
atuin: set socket path for darwin ()
The daemon doesn't know about XDG_RUNTIME_DIR, so set the socket_path
manually for consistency between daemon & client
2025-01-29 16:09:34 -06:00
Ihar Hrachyshka
608b26d16e
thunderbird: add native host support ()
Note: the test case uses a firefox native host but it shouldn't matter
since they are packaged the same way for both TB and Firefox.
2025-01-29 16:07:28 -06:00
DamiDoug
d5e5c0d051
aerospace: add module ()
Co-authored-by: damidoug <contact@damidoug.dev>
2025-01-29 16:04:24 -06:00
Robert Helgesson
420a0d9506
nushell: structured settings and more
PR 
2025-01-29 20:18:33 +01:00
anund
d71828a7dd
ghostty: allow darwin users to manager their config ()
* ghostty: allow darwin users to manager their config

Currently nixpkgs does not contain a package defintion for ghostty
compatible with Darwin. Darwin users may still want to use this module
to manage their config or share config between systems. This carries
over behaviour from the beta period where this same technique was used.

see: 887e13a6e7/module.nix (L167-L173)

Also improves validation to cover theme files.

* ghostty: guard all package access with isLinux

ghostty is currently marked as broken in nixpkgs. Darwin users still
want to manage ghostty config via home-manager. Avoiding installing the
package and any extra files that depend on the package outside Linux
allows this.

* ghostty: allow nullable
2025-01-29 12:47:05 -06:00
Austin Horstman
c4650fb9c0
cliphist: support multiple systemdTargets properly ()
Using a space separated list of targets as a single string element in
the list doesn't work properly. Change property to support list of
targets and backwards compatibility with warning for single string.
2025-01-29 12:26:13 -06:00
Mihai Fufezan
5dc1c2e404
hyprland: add xdg.portal configuration ()
Add integration with `xdg.portal`, and the `portalPackage` option for
`xdg-desktop-portal-hyprland`.
2025-01-29 12:19:53 -06:00
Danil Suetin
0ee8bfdd04
firefox: add preConfig
Add `preConfig`, which acts like `extraConfig`, but placed before
`settings`. This will allow to overwrite settings in `preConfig`,
using `settings` option.
2025-01-29 18:36:43 +01:00
Andrew Marshall
bd530df4e2
firefox: avoid unnecessarily overriding package
When `cfg.package` is already wrapped, and wrapped without the
`ExtensionSettings` key set, this would always add that key, even if its
value was blank. This would result in `cfg.finalPackage` being a
functionally-identical, but differently-input-addressed package. This is
generally undesirable as it may result in multiple derivations being
built, and also if the value of `cfg.package` is expected to be
unchanged by the user (e.g. because they want it to be consistent
between NixOS and HM configuration).

Add a test to ensure this does not regress in the default case. Only
test on newish stateVersion since the logic for `isWrapped` differs on
older versions.
2025-01-29 18:29:44 +01:00
Joaquín Triñanes
82455a84e3
nushell: allow multi-word aliases
Also fix invalid alias in test
2025-01-29 18:22:08 +01:00
Joaquín Triñanes
709aaab1a5
nushell: set env in config.nu file 2025-01-29 18:22:07 +01:00
Joaquín Triñanes
46c83c07b9
nushell: add settings option 2025-01-29 18:22:07 +01:00
Joaquín Triñanes
a1df6c4c76
nushell: slight refactor
- Remove 'with lib'
- More idiomatic lib calls
- Update config file examples with current best practices
2025-01-29 18:20:43 +01:00
Gaetan Lepage
1b4f2a4816
zed-editor: add installRemoteServer option 2025-01-29 11:09:51 +01:00
home-manager-bot
0a64a209aa
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/825479c345a7f806485b7f00dbe3abb50641b083?narHash=sha256-nU6AezEX4EuahTO1YopzueAXfjFfmCHylYEFCagduHU%3D' (2025-01-24)
  → 'github:NixOS/nixpkgs/852ff1d9e153d8875a83602e03fdef8a63f0ecf8?narHash=sha256-Zf0hSrtzaM1DEz8//%2BXs51k/wdSajticVrATqDrfQjg%3D' (2025-01-26)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-29 10:06:49 +01:00
home-manager-bot
e1ae908bcc
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab?narHash=sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk%3D' (2025-01-21)
  → 'github:NixOS/nixpkgs/825479c345a7f806485b7f00dbe3abb50641b083?narHash=sha256-nU6AezEX4EuahTO1YopzueAXfjFfmCHylYEFCagduHU%3D' (2025-01-24)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-27 10:06:02 +01:00
Ivan Kovnatsky
daf04c5950
ollama: add darwin support 2025-01-25 00:54:49 +01:00
Robert Helgesson
8c0671c513
himalaya: update for version 1 2025-01-25 00:50:31 +01:00
Robert Helgesson
1b9fe46e9f
home-manager: move tests into new test flake
Having the tests available in the main Nix Flake introduces
unnecessary evaluation for non-developer users and, worse, a
dependency on the nmt library.

Fixes 
2025-01-24 22:31:22 +01:00
Robert Helgesson
b93e17c73c
neovim: fix flaky test
Seems the nvim command sometimes fails with error code 1.
2025-01-24 22:31:21 +01:00
Clément DOUIN
15f7f9bc4e
himalaya: fix tests 2025-01-24 11:38:54 +01:00
Clément DOUIN
e9068facd7
himalaya: adjust package for released v1.0.0 2025-01-24 09:30:08 +01:00
Clément DOUIN
2ae3dd460f
himalaya: add xdg desktop entry 2025-01-24 09:30:08 +01:00
Clément DOUIN
5f5a9d5cd2
himalaya: make use of lib.getExe 2025-01-24 09:30:08 +01:00
Clément DOUIN
44ee9bc826
himalaya: improve service 2025-01-24 09:30:08 +01:00
Anton Tetov
a042868557
nh: remove PATH assignment in nh-clean systemd unit
Runs without additions to path.

also:

- can't use $PATH in Environment=
- should add bin directory to path not the exe
2025-01-24 08:38:34 +01:00
Anton Tetov
a2362a6496
nh: check osConfig for null before accessing 2025-01-24 08:37:11 +01:00
leoTlr
7b9ece1bf3
tealdeer: update docs link
Repo is now at https://github.com/tealdeer-rs/tealdeer.
2025-01-23 22:59:39 +01:00
quasigod
0db5c8bfcc
ghostty: add keybinds to settings example 2025-01-23 12:04:39 +01:00
Robert Helgesson
01d0172933
wezterm: update expected test result 2025-01-23 11:42:15 +01:00
Robert Helgesson
b17008a795
swayr: update expected test result 2025-01-23 11:37:30 +01:00
Gaetan Lepage
4806e9c021
flake.lock: Update 2025-01-23 09:38:00 +01:00
Robert Helgesson
1757aca164
go: stub systemd dependency in test 2025-01-23 09:38:00 +01:00
Weblate (bot)
cefb1889b9
Translate using Weblate (Czech)
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/cs/

Co-authored-by: Dark Templar <dark.templar0007@gmail.com>
2025-01-22 20:51:32 +01:00
Ismaïl Senhaji
4481a16d1a
yazi: improve fish integration
Calls yazi as `command yazi`, allowing to use "yazi" as
`shellWrapperName`. Also defines the wrapper with
`programs.fish.functions` instead of `interactiveShellInit`.
2025-01-21 18:28:58 +01:00
pancho horrillo
96dee79b17
lsd: remove with lib; 2025-01-21 17:53:23 +01:00
Nova Leary
bb14224f51
mu: allow option to set muhome
Allows for the database path for mu to be configured. Useful for keeping
the maildir and mu xapian cache together without having to modify
XDG_CACHE_HOME. Add test to check for custom home setting.

Fixes 
2025-01-21 13:14:48 +01:00
Roberto Abdelkader Martínez Pérez
0b8df9eeb6
lsd: add support for icons.yaml
This update introduces support for icons.yaml in the lsd module,
enhancing the customization options for file icons.

Co-authored-by: pancho horrillo <pancho@pancho.name>
2025-01-21 13:12:40 +01:00
wrvsrx
9786661d57
fcitx5: allow to set fcitx5-with-addons ()
Now there's `libsForQt5.fcitx5` and `kdePackages.fcitx5` in nixpkgs, we
should allow user to choose which one to use.
2025-01-20 18:42:53 +01:00
cupiditas
f8ef4541bb
nixpkgs: lib.isFunction replaces builtins.isFunction in check for overlayType ()
Replaces the check attribute on overlayType with lib.isFunction so it matches the nixpkgs overlayType.
This lets functions that were made by lib.setFunctionArgs to be used as overlays just like the nixpkgs overlayType.
2025-01-19 16:08:57 +01:00
Austin Horstman
97d7946b5e
{hypridle, hyrpaper}: remove with lib; ()
* hypridle: remove with lib;

* hyprpaper: remove with lib;
2025-01-18 18:35:49 +01:00
Jdogzz
1c75a4c151
syncthing: have tray wait for bar to load ()
Add --wait flag to tray to avoid loading before bar.
2025-01-18 18:35:27 +01:00
Jérôme Prudent
1e36429705
sbt: allow irregular plugins to be configured
Sometimes plugins doesn't follow the form

```
addSbtPlugin("${plugin.org}" % "${plugin.artifact}" % "${plugin.version}")
```

for instance

```
addDependencyTreePlugin
```

This commit allow free form plugin dependency.
2025-01-18 09:22:15 +01:00
Rasmus Enevoldsen
495de1e197
Translate using Weblate (Danish)
Currently translated at 100.0% (16 of 16 strings)

Translation: Home Manager/Home Manager Modules
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/da/
2025-01-18 02:23:35 +01:00
Weblate (bot)
a0046af169
Translations update from Hosted Weblate
* Add translation using Weblate (Toki Pona)

Co-authored-by: Kylie McClain <kylie@somas.is>

* Add translation using Weblate (Toki Pona)

Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>

---------

Co-authored-by: Kylie McClain <kylie@somas.is>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2025-01-17 14:30:39 +01:00
Ihar Hrachyshka
12851ae746
thunderbird: Enable tests for Darwin () 2025-01-17 01:54:26 +01:00
Austin Horstman
0dfec9deb2
hyprlock: remove with lib; 2025-01-14 13:39:00 -06:00