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

957 commits

Author SHA1 Message Date
Benedikt Rips
0d1e116e4f ssh-tpm-agent: match the upstream systemd units 2025-08-18 21:16:27 -05:00
Benedikt Rips
3a5136d8dd ssh-tpm-agent: on NixOS, check TPM accessibility 2025-08-18 21:16:27 -05:00
Benedikt Rips
f9ea660b24 ssh-tpm-agent: fix ssh-agent proxy 2025-08-18 21:16:27 -05:00
Benedikt Rips
94a238f9c1 ssh-agent: add option for the socket name 2025-08-18 21:16:27 -05:00
Benedikt Rips
af03309c12 ssh-tpm-agent: add maintainer bmrips 2025-08-18 21:16:27 -05:00
Benedikt Rips
ec369a58f9 ssh-agent: add maintainer bmrips 2025-08-18 21:16:27 -05:00
Epix
1daeb0638a protonmail-bridge: init module 2025-08-17 09:44:56 -05:00
Benedikt M. Rips
d9a57c597c
davmail: enable access to the display server (#7671)
Without this access, davmail can not display its token request dialogue.
2025-08-13 15:52:17 -05:00
Gutyina Gergő
4b6dd06c6a glance: restart service when settings file changes 2025-08-13 12:43:52 -05:00
Leon Schwarzäugl
18ea6d7a8f pizauth: init module 2025-08-11 10:00:35 -05:00
Lin Xianyi
627a3932b9 swww: add extraArgs for swww-daemon 2025-08-11 09:04:24 -05:00
Aguirre Matteo
0d492b89d1
walker: add module (#7649) 2025-08-10 23:23:58 -05:00
Adam Dinwoodie
dbfcd3292d accounts.email: add option to disable an account
Allow a user to disable an email account by setting
`accounts.email.accounts.<name>.enable = false`.  This is useful if
someone wants to configure email accounts globally but only use them in
certain circumstances.

Everywhere email account configuration is used, check if the account is
enabled before checking any attributes of the account.
2025-08-07 14:08:46 -05:00
awwpotato
ad5d2b4aa7 rescrobbled: add module 2025-08-06 00:15:47 -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
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
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
Joseph Daly
060824a69b
mpd: fix typo (#7541) 2025-07-25 12:44:09 -05:00
David Strawn
fe38a5e028
pueue: enable darwin configuration (#7519)
This commit enables configuring pueue for darwin. pueue already builds fine for darwin and all that was needed was a `launchd` agent.
2025-07-23 13:12:46 -05:00
Austin Horstman
b4752b0eda treewide: format with latest stable formatter
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-23 10:27:52 -05:00
Aguirre Matteo
62975b8e23
hyprsunset: assert hyprland package is not null (#7518) 2025-07-23 09:54:04 -05:00
Yethal
dcfd70f80f
ssh-tpm-agent: init module (#7495) 2025-07-17 19:31:15 -05:00
Tom Hubrecht
8eb2f2a26a
treewide: Remove unwanted dependencies (#7487)
Fixes interpolation of packages in the default and example texts.
2025-07-17 14:12:50 -05:00
Austin Horstman
a3f4b998ec wpaperd: handle empty settings properly
Currently we create a systemd unit that will throw an error when
settings aren't configured because we try to link to a file that wont be
created with empty config.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 15:26:17 -05:00
1444
e90b28967c
wayfire: allow path in settings (#7427) 2025-07-11 10:15:54 -05:00
Yiheng He
ce15001862
cliphist: use lib.getExe (#7431) 2025-07-11 10:15:37 -05:00
Aguirre Matteo
d81cb050f5
hyprshell: add module (#7409) 2025-07-10 14:23:15 -05:00
Austin Horstman
9d21f9985e
i3-sway/lib: modifier accepts any string (#7398)
Currently, we aggressively limit what modifier can be used in the module
system that blocks valid configurations. Allow any strings to unblock
these configs. But, could be refactored further to support list of
modifiers and automatically convert to a config string.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-06 12:42:26 -05:00
Austin Horstman
b8bb556ce5 maintainers: remove duplicate HM entries
We can remove duplicate entries and redirect to the nixpkgs entry.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-04 09:20:48 -05:00
Austin Horstman
31242bdf8f polybar: fix meta.maintainer position
We generate the maintainer list from `meta.maintainers` and need the
attribute to be available on eval of all modules. It was set in the
`config` option which would only be evaluated when a module was enabled.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-04 09:20:48 -05:00
Terje Larsen
83f978812c
podman: support mounts configuration (#7377) 2025-07-03 19:34:57 -05:00
Lucas Servén Marín
1fa73bb2cc
fix(service/gpg-agent): allow SSH ForwardAgent compatibility (#7355)
https://github.com/nix-community/home-manager/pull/7117#issuecomment-3018582819
noted that #7117 broke compatibility with forwarding ssh-agents using
`ssh -A`/`ForwardAgent`. In order to continue supporting the fix for
the issue raised in #5997 and address the compatibility problem
mentioned by @euank, this commit introduces the solution described in
https://github.com/nix-community/home-manager/pull/7117#issuecomment-3025001779.

The code now checks the following:
1. is this shell part of an SSH connection and is `SSH_AUTH_SOCK` set?
   if so, assume the socket variable was set by sshd to point at a
   forwarded socket; bail out to skip setting `SSH_AUTH_SOCK".
1. is the current process a child of `gpg-agent --daemon`? if so, then
   bail out to skip setting `SSH_AUTH_SOCK`.
1. if we got this far, then set `SSH_AUTH_SOCK`.

I've tested this fix locally and can confirm that both #5997 as well as
the regression are fixed.

Signed-off-by: squat <lserven@gmail.com>
2025-07-03 08:24:16 -05:00
Maximilian Dietrich
3faf4a1507
syncthing: add guiAddress to configuration (#7281)
We have a configuration option services.syncthing.guiAddress which is an explicit option because we need it in the syncthing-init service, but why not also set it in the actual syncthing config as well as (or instead of?) the current CLI override? This way other software that parses the config file / REST API like syncthingtray just works with it instead of erroring out and unexpectedly requesting user interaction.

I guess we could actually also scrap the explicit services.syncthing.guiAddress option in favor of the syncthing-native services.syncthing.settings.gui.address because these two (valid!) options conflict otherwise.

Also, a next PR (or addition to this one) could be to make sure the syncthing-init service treats services.syncthing.settings.gui differently by not PUTting but PATCHing the configuration as PUTting triggers an API key regeneration, again breaking REST API access for other tools.
2025-06-29 18:11:18 -05:00
winston
a4f9ab0005
sway: add wayland.windowManager.sway.systemd.dbusImplementation (#7271)
Allows the user to choose the dbus implementation for the environment
import.

See https://github.com/swaywm/sway/wiki#systemd-and-dbus-activation-environments
2025-06-29 18:09:58 -05:00
awwpotato
76d0c31fce
formatter: add deadnix (#7331) 2025-06-28 16:28:39 -05:00
Lucas Servén Marín
da077f20db
fix(service/gpg-agent): ensure SSH_AUTH_SOCK is set on Darwin (#7117)
This commit addresses https://github.com/nix-community/home-manager/issues/5997
At the root, the gpg-agent SSH integration is not working on Darwin
because shells are started with `SSH_AUTH_SOCK` already set to something
like `/private/tmp/com.apple.launchd.ozLmoURHDC/Listeners`, which
prevents the hook from setting the variable to the gpg-agent's socket.

This commit fixes the issue using a different mechanism to detect if the
current shell has already had the `SSH_AUTH_SOCK` variable set to the
gpg-agent's socket, namely by checking for `gnupg_SSH_AUTH_SOCK_by` as
documented in
https://www.gnupg.org/documentation/manuals/gnupg/Agent-Examples.html#Agent-Examples.

This is essentially a simplified version of
https://github.com/nix-community/home-manager/pull/5901 that does not
attempt to migrate gpg-agent over to launchd.

Signed-off-by: squat <lserven@gmail.com>
2025-06-28 12:30:46 -05:00
Matthias Beyer
080e8b48b0
mako: "settings" is an attrset, so use that as example too (#7330)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-06-26 16:36:45 -05:00
Austin Horstman
86402a17b6 treewide: flatten single file modules
Some files don't need nesting and can be root level again to reduce
conflicts with other PRs.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-23 16:20:26 -05:00
Johan Larsson
873c5b2dc5
way-displays: use mkOptionDefault in systemd.variables (#7306)
Closes #7296.
2025-06-23 13:50:37 -05:00
Austin Horstman
4fca600cb1 treewide: implement auto importing for modules
Reduce maintenance burden and increase efficiency by automatically
importing modules following a specific convention.

Co-authored-by: awwpotato <awwpotato@voidq.com>
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00
LesVu
6fa01d524b labwc: do not manage file when in default value(#7240) 2025-06-22 22:51:51 -05:00
LesVu
2fbd694fec labwc: Fix pipemenu(#7236) and icon in menu generation
Add the generation of icon and pipemenu
2025-06-22 22:51:51 -05:00
Austin Horstman
19530b8d3c network-manager-applet: maintainer midirhee12 -> midischwarz12
https: //github.com/NixOS/nixpkgs/pull/418190
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 12:47:26 -05:00
Florent Charpentier
8638426397
hyprland: update wiki domain name (#7293)
As I noticed in
<https://github.com/nix-community/home-manager/pull/7277#issuecomment-2985781610>,
it seems hyprland changed its domain name from `hyprland.org` to
`hypr.land`. (The old domain redirects to the new one)

These changes are made by the following:
find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/hyprland\.org/hypr.land/g'
2025-06-18 22:41:02 -05:00