1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-09 18:26:54 +00:00
Commit graph

1567 commits

Author SHA1 Message Date
Utkarsh Gupta
6aa38ffdf7
atuin: set socket path for darwin (#6248)
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 (#6292)
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 (#6279)
Co-authored-by: damidoug <contact@damidoug.dev>
2025-01-29 16:04:24 -06:00
Robert Helgesson
420a0d9506
nushell: structured settings and more
PR #6184
2025-01-29 20:18:33 +01:00
anund
d71828a7dd
ghostty: allow darwin users to manager their config (#6300)
* 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
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
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
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 #5534
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
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
Austin Horstman
0dfec9deb2
hyprlock: remove with lib; 2025-01-14 13:39:00 -06:00
Austin Horstman
a1f180af17
hyprlock: add bezier to importantPrefixes
Since hyprwm/hyprlock@00d2cbf hyprlock supports the animation and bezier
keywords from Hyprland. But, bezier needs to be defined before an
animation can use it.
2025-01-14 13:37:43 -06:00
Sebastián Zavala Villagómez
9616d81f98
mangohud: make false values actually disable (#6299)
Currently the following, will produce `some_opt=false` in the
rendered config:

```nix
programs.mangohud.settings = {
  some_opt = false;
};
```

With the intention being to disable the option, this would be
incorrect, as per the following stated at:
<0575c8eb1f/data/MangoHud.conf (L3C5-L4C1)>

> Use some_parameter=0 to disable a parameter (only works with on/off
> parameters)

As such, I changed the rendering to follow this.
This will be output instead: `some_opt=0`
2025-01-13 16:20:04 +01:00
Kilian Mio
d4aebb947a
todoman: add todoman module (#5252)
* todoman: add todoman module

Adds Mikilio as maintainer for new module for todoman a standards-based
task manager based on iCalendar

Apply suggestions from code review

Co-authored-by: Robert Helgesson <robert@rycee.net>

Update modules/programs/todoman.nix

Co-authored-by: Robert Helgesson <robert@rycee.net>

* fix: correct config name

* chore: add test

---------

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-01-09 12:25:50 +01:00
Shay Eclipse K. Stage
01f40d52d6
zsh/prezto: add package option (#5938)
Allow setting a custom package for `programs.zsh.prezto`.
2025-01-09 12:04:34 +01:00
Hoang Nguyen
54b330ac06
go: add telemetry options 2025-01-08 09:39:32 -07:00
Thiago Kenji Okada
fcc4259cdb
treewide: stub tests (#6275)
* ranger: stub tests

* alacritty: stub tests

* broot: stub tests

* zsh: stub tests

* vim-vint: stub tests
2025-01-08 16:24:04 +01:00
Batuhan Baserdem
5c4302313d
neomutt: added missing sort options (#6283)
* neovim: add valid sort options

Neomutt added a new prefix for sort options in 2022.
Added the new possible prefixes to the neomutt module.
2025-01-07 20:16:55 +01:00
Matthias Beyer
0d7908bd09
neomutt: Document how to bind Ctrl keys (#6254)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-01-04 18:56:03 +01:00
Sebastián Estrella
11ab08541e
ghostty: validate configuration on change
Runs `ghostty +validate-config` when the configuration file changes.

Co-authored-by: Heitor Augusto <IAm.HeitorALN@proton.me>
2025-01-04 09:24:51 +01:00
Thiago Kenji Okada
8587c2ff0e
waybar: use config.wayland.systemd.target
Also add `ConditionEnvironment`.
2025-01-03 17:37:42 +01:00
Heitor Augusto
a6f37e5785
ghostty: fix configuration for bat syntax 2025-01-03 11:26:00 +01:00
Heitor Augusto
5f6aa268e4
ghostty: add module 2025-01-02 00:33:45 +01:00
Chris Pick
59a4c43e9b
bacon: fix configuration file location on Darwin
bacon reads its preferences from a different directory on Darwin.
Fix the path to read out of:
~/Library/Application\ Support/org.dystroy.bacon/prefs.toml
Linux behavior should be unchanged.
2025-01-01 13:51:47 +01:00
EmmChriss
b7a7cd5dd1
pqiv: fix condition for writing pqivrc file
Specifically, write the configuration if either settings or
extraConfig are set.
2024-12-28 00:56:55 +01:00
Kiara Grouwstra
19398e505a
lesspipe: allow configuring package 2024-12-28 00:51:42 +01:00
Robert Helgesson
35b98d20ca
treewide: change pacien to euxane
To match a recent change in Nixpkgs.
2024-12-24 16:23:06 +01:00
Shahar "Dawn" Or
f1b1786ea7
swayr: avoid IFD 2024-12-23 23:21:39 +01:00
VojtechStep
8264bfe3a0
mu: add integration tests 2024-12-23 10:00:12 +01:00
VojtechStep
7349b01505
mu: reinitialize when personal addresses change
When the user changes which addresses mu should consider 'personal',
mu's store should be reinitialized.

After this change, the activation script parses the previously
configured list of addresses and compares it with the new one. If they
differ, it runs the init command even when the store has already been
initialized.
2024-12-23 09:52:16 +01:00
Robert Helgesson
cb27edb522
waybar: add systemd restart triggers
Fixes #3186
2024-12-22 11:13:25 +01:00
bricked
f47b6c153a
cavalier: add module 2024-12-22 09:48:38 +01:00
Ihar Hrachyshka
51160a097a
thunderbird: implement extensions for profiles
Closes: #5654
2024-12-21 23:54:29 +01:00
Nicholas Ciechanowski
db9a98e178
pay-respects: add module
Add pay-respects module including shell integration support for bash,
zsh, fish and nushell.
2024-12-21 18:13:06 +01:00