1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 15:11:03 +01:00
Commit graph

3832 commits

Author SHA1 Message Date
Benedikt M. Rips
0cda19d420
grep: init module (#7613) 2025-08-05 14:04:24 -05:00
Benedikt M. Rips
36ad7d25fb
zsh: option to define autoloadable site-functions (#7611)
Add an option to the Zsh module that allows defining autoloadable site functions.
2025-08-05 14:03:10 -05:00
Philipp Mildenberger
c5d7e95739 nushell: remove Philipp-M as maintainer 2025-08-04 22:42:30 -05:00
n0099
1d7abbd545 htop: add field M_VIRT and TTY as alias
`M_SIZE` has renamed to `M_VIRT` in https://github.com/htop-dev/htop/issues/325
`TTY_NR` has renamed to `TTY` in https://github.com/htop-dev/htop/pull/572
2025-08-03 18:30:39 -05:00
n0099
a26e907ca1 htop: sort fields by its id 2025-08-03 18:30:39 -05:00
n0099
d4c53262ca htop: add more platform-independence fields
sync with https://github.com/htop-dev/htop/blame/cfb561fd342c9d5d814ac4965a6047442994ba94/RowField.h#L40-L43
2025-08-03 18:30:39 -05:00
n0099
c89fdd3291 htop: add more fields
sync with https://github.com/htop-dev/htop/blame/348c0a6bf4f33571835a0b6a1a0f5deb15132128/linux/ProcessField.h#L44-L53
2025-08-03 18:30:39 -05:00
Brian E
5954bb383e Add translation using Weblate (Faroese)
Add translation using Weblate (Faroese)

Co-authored-by: Brian E <brianellingsgaard9@gmail.com>
2025-08-03 18:28:24 -05:00
Ricky Tigg
2d3b2f33a7 Translate using Weblate (Finnish)
Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fi/
Translation: Home Manager/Home Manager Modules
2025-08-03 14:50:25 +02:00
PopeRigby
e6e2f43a62 televison: add PopeRigby as maintainer 2025-08-02 17:46:16 -05:00
PopeRigby
98aed449ba television: update channel location
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-08-02 17:46:16 -05:00
awwpotato
187e0af20a
nh: remove .nix suffix check for flake paths (#7600) 2025-08-02 15:43:23 -05:00
Austin Horstman
e102920c1b
zoxide: move zsh priority (#7593)
According to upstream documentation, they recommend at end of file. But,
realistically just needs to be after compinit.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-01 16:54:00 -05:00
Nikhil Singh
19f94a3e0e sesh: Add preview window 2025-08-01 09:58:09 -05:00
Nikhil Singh
712c6dad6c sesh: fix kill-session field seperator 2025-08-01 09:58:09 -05:00
Nikhil Singh
614956c993 sesh: switch from fzf-tmux -p to fzf --tmux
A more reliable approach and fixes #7192
2025-08-01 09:58:09 -05:00
robin
899af4218c
tmux: fix prefix and shortcut settings (#7549)
adjusting the tmux lines for setting the prefix.
previously the prefix option would be set in the prefix key table, causing it to not register correctly.

- updated tests
2025-08-01 09:53:46 -05:00
Weblate (bot)
08cf2543ea
Translate using Weblate (French) (#7596)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (French)

Currently translated at 100.0% (39 of 39 strings)


Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules

Co-authored-by: Yk Cheese <yakforcom@gmail.com>
2025-08-01 09:53:26 -05:00
NAHO
7035020a50 anki: set valid language default
Fixes: e8da7372fd ("anki: add module (#7274)")

Co-auhored-by: June Stepp <git@junestepp.me>
2025-07-31 12:42:04 -05:00
NAHO
e2238e6073 anki: remove trailing whitespace 2025-07-31 12:42:04 -05:00
Foxocube
4e97102bd4
nh: add options for specific flakes (#7566)
* nh: Add options for specific flakes
* nh: Add tests for specific flake options

---------

Co-authored-by: Foxocube <git@foxocube.xyz>
2025-07-31 12:41:29 -05:00
sempiternal-aurora
d732b648e5 udiskie: fix getExe warning
Adding a package option to udiskie created an evaluation warning as
there is no default executable for udiskie. This replaces `pkgs.getExe`
with `pkgs.getExe'`, which removes this evaluation warning, but does
require that the package has a binary named udiskie.
2025-07-29 23:07:27 -05:00
Martin Popovski
4bf124678b
hyprland: Add "output" to importantPrefixes option default (#7507)
Adds support for `monitorv2` syntax
2025-07-29 16:41:27 -05:00
Austin Horstman
2f588d275e hyprsunset: add program to home packages
Allow calling the cli from PATH so you can invoke your own changes
without relying on the service.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 13:11:56 -05:00
Austin Horstman
f4e8bc1ab6 hyprsunset: refactor implementation
Some cleanup and refactoring after the introduction of the settings
option.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 13:11:56 -05:00
kerfuzzle
6ff07a01a8 hyprsunset: deprecate transitions option
File configuration through hyprsunset upstream transitions preferred.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 13:11:56 -05:00
kerfuzzle
8aaf3b5319 hyprsunset: Update module to use hyprsunset.conf
Updates the hyprsunset module so that it creates the hyprsunset.conf file introduced in v0.3.0

This allows hyprsunset to manange the transition timings instead of defining extra systemd services/timers

See https://wiki.hypr.land/Hypr-Ecosystem/hyprsunset/#configuration

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 13:11:56 -05:00
Austin Horstman
03fdb31290
treewide: add missing package options (#7575)
Add options to support more flexible module configurations.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 12:20:22 -05:00
jarre johansson
25deca8939 Translate using Weblate (Finnish)
Currently translated at 76.4% (13 of 17 strings)

Translate using Weblate (Finnish)

Currently translated at 82.0% (32 of 39 strings)

Co-authored-by: jarre johansson <jarre@johansson.today>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fi/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/fi/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-07-29 11:51:19 -05:00
Silk
1fa11c8e83 Translate using Weblate (Turkish)
Currently translated at 100.0% (17 of 17 strings)

Translate using Weblate (Turkish)

Currently translated at 100.0% (39 of 39 strings)

Co-authored-by: Silk <omerntuzun@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/tr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/tr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-07-29 11:51:19 -05:00
Austin Horstman
cfe397c8c0 arrpc: assert linux
Only has systemd support, so don't let darwin users think they are
enabling something.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 10:31:11 -05:00
Austin Horstman
f49e872f55 zsh: lib better docstrings
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
471eeaa975 zsh: add khaneliman maintainer
Been active in it and use it a lot.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
08f162350c news: add news entry for zsh path refactor
Give a news entry about change for path handling work done in
https://github.com/nix-community/home-manager/pull/6089.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
e52c6c3da3 zsh: env var assertion for dotdir
Needs to be known at build time. Ensure user doesn't accidentally use
env var in `dotDir`

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
40af7ba06b zsh: relative path deprecation warning
Warn users when they configure a relative path. We want to encourage
using absolute paths and env variables.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
938ecd797f zsh: fix lib function for env var path parsing
Allow env variables to be used and avoid mangling path.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-28 14:47:42 -05:00
Austin Horstman
0daef6fbe0 hyprlock: update example config
Some breaking changes from upstream

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-27 07:03:54 -05:00
Seth Flynn
e88671567b
zsh: only apply plugins when zsh is enabled (#7555) 2025-07-27 07:03:09 -05:00
Robert Helgesson
ed1eeeeee6
xdg-terminal-exec: make sure the module is imported 2025-07-27 07:02:11 +02:00
Robert Helgesson
42924f0eff
xdg-terminal-exec: minor cleanup of option description 2025-07-27 07:02:11 +02:00
Robert Helgesson
63dd0e9409
opencode: minor cleanup of option description 2025-07-27 07:02:11 +02:00
Austin Horstman
2b73c2fcca
treewide: remove config dependency on docs (#7547)
Tested with rebased
https://github.com/nix-community/home-manager/pull/6411 so I could find
all instances of config usage in docs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-07-26 17:11:53 -05:00
Friedrich Altheide
a1817d1c0e yarn: improve docs 2025-07-25 14:03:11 -05:00
Friedrich Altheide
26e33ea5c0 docker-cli: Improve docs, fix enviornment variable 2025-07-25 14:03:11 -05:00
Kristopher James Kent (kjkent)
9fca491587 zsh: improve histfile handling
Previously, a stateVersion check for 20.03 determined whether or not the input to
`programs.zsh.history.path` would be prepended with `$HOME`. However, this was not
communicated in the documentation, which stated the version check determined whether
the default histfile location would be in `programs.zsh.dotDir` or
`home.homeDirectory`.

The current change simplifies matters and brings path handling in-line with that of
the preceding work on dotDir path handling. If a relative path is provided, it is
parsed as being relative to `home.homeDirectory`. Both absolute and relative paths
are supported, and are cleaned before being passed to other functions.

Tests have been rewritten for the new logic, with case handling for reusability.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
Kristopher James Kent (kjkent)
21399deff2 zsh: improve dotDir handling
Previously, `config.programs.zsh.dotDir` prepended strings with `$HOME`.
This caused issues like nix-community#5100, where `$HOME` is
inconsistently resolved in time for the evaluation of the option. The handling
of this variable is also inconsistent with how paths are handled elsewhere,
including within the same module, where `config.programs.zsh.history.path`
does not mutate the supplied string.

To preserve backwards compatibility, this change prepends
`config.home.homeDirectory` to relative paths, while assigning absolute paths
unchanged. Tests for both cases are added.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-25 13:15:29 -05:00
William Brockhus
c77de65ece
command-not-found: sync with nixpkgs (#7499)
updates command-not-found.pl and adds fish compatibility
2025-07-25 13:09:58 -05:00
fabiancholewinski1234
308b8570ec
home-environment: add home.checks (#7407)
This should have the same effect `system.checks` has in nixpkgs:
adds paths to the build closure without being becoming part of the
generated configuration.

This is useful for built-time checks as these should not leave a
trace in the built home configuration.

The implementation mirrors nixpkgs: add an unused argument to the
home-manager-generation derivation.
2025-07-25 13:01:12 -05:00
Viktor Titov
70c79ca6f4
xdg-terminal-exec: init (#7527)
port xdg.terminal-exec from nixos to hm
2025-07-25 12:54:38 -05:00