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

1015 commits

Author SHA1 Message Date
Austin Horstman
5f64bcccef hyprland: tweak submap line formatting
Just want it to look a little more organized

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-01 23:49:51 -05:00
Florent Charpentier
1ecfd8e562
hyprland: add support for submaps (#6062) (#7277) 2025-09-01 23:37:34 -05:00
Frede Braendstrup
f27974d3b4 shpool: init shpool module 2025-08-31 11:53:50 -05:00
Anton Tetov
99a69bdf8a pizauth: reload on change and option type
- added onChange pizauth reload for config file

- clientSecret is not required for outlook365 so should be nullable.
2025-08-30 13:53:07 -05:00
Austin Horstman
2c4ef7d717 blueman-applet: fix typo in systemdTargets
copy pasta error

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-26 17:23:34 -05:00
Robert Helgesson
8b55a6ac58 nix-gc: remove unnecessary toString 2025-08-22 21:03:56 -05:00
Aguirre Matteo
6911d3e7f4 nix-gc: rename frequency to dates 2025-08-21 16:03:33 -05:00
Vladislav Grechannik
282b4c98de
blueman-applet: Add option to change systemd targets (#7702)
Introduce new option for a customizable systemd targets to allow enabling
the applet only in certain environments.
2025-08-21 00:48:42 -05:00
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