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

1055 commits

Author SHA1 Message Date
Benedikt Rips
89c9508bbe ssh-agent: set $SSH_AUTH_SOCK in non-interactive shells
Since PR #8099, the module sets `$SSH_AUTH_SOCK` through shells' options
for interactive shell initialization instead of
`home.sessionVariablesExtra`. The replacement was not faithful, however,
since `home.sessionVariablesExtra` is sourced also in non-interactive
shells. With this commit, the shells' profile options (where
`home.sessionVariablesExtra` is sourced) are used to set
`$SSH_AUTH_SOCK`.

Fixes #8129.
2025-12-17 08:15:55 -06:00
Anton Mosich
09de9577d4
pimsync: add Install.WantedBy for default.target (#8344) 2025-12-15 22:40:45 -06:00
will
58bf3ecb2d modules/services/colima: init 2025-12-13 21:17:23 -06:00
Olmo Kramer
4767a9c719 herbstluftwm: Make herbstclient alias optional
The `herbstclient` alias in the generated `autostart` made it impossible
to use bash functions.

This makes the `herbstclient` alias optional by adding an extra
`herbstclientAlias` option on the herbstluftwm configuration. The new
option defaults to `false` as to not confuse newcomers to the
herbstluftwm module, which is not a breaking change because it was only
an optimization.
2025-12-12 23:53:36 -06:00
Jacob Abel
0cf525a5be
option defaultEditor: Set {env}VISUAL on true (#8322)
The defaultEditor option sets {env}`EDITOR` however strictly speaking
{env}`EDITOR` is intended for editors that are fully compatible with
teletype terminals (ex: `ed` or `vi`'s `ex` mode).

The {env}`VISUAL variable is intended for modern "visual mode"
terminal editors (ex: `vi` or `emacs`).

Technically speaking editors that are assigned to {env}`EDITOR` should
be configured to operate in teletype compatible mode (see `vi -e` and
`vim -e`).

We don't do this currently because for most users this would be
unintuitive behavior when a script or program mistakenly checks
{env}`EDITOR` instead of first checking {env}`VISUAL`.

In the future it may be worthwhile to introduce an additional option to
these modules to configure {env}`EDITOR` in a strictly conforming manner
(i.e. using the teletype/`ex` mode flags or unsetting {env}`EDITOR`
entirely).

Related Issue: #8314

Signed-off-by: Jacob Abel <jacobabel@nullpo.dev>
2025-12-11 13:04:13 -06:00
Austin Horstman
e52be4fb78 tldr-update: perchun -> PerchunPak
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-12-11 12:51:49 -06:00
fidgetingbits
13cc1efd78 snixembed: add waybar incompatbility warning
If snixembed is enabled and you try to use the waybar tray the two tools
conflict with eachother and often waybar's tray will not show any icons.
This adds a warning about it, as the problem can be difficult to
diagnose.
2025-12-09 21:27:32 -06:00
Austin Horstman
a788734077 swayidle: fix events default
Changed from list to attrset, but default never updated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-12-07 23:45:14 -06:00
Aguirre Matteo
2e02e22e28 hyprlauncher: add module 2025-12-05 22:35:12 -06:00
Aguirre Matteo
ccd22c13b2 restic: change cache directory to $XDG_CACHE_HOME/restic 2025-12-05 20:04:55 -06:00
Patrick Steinhardt
281e9398cc swayidle: improve confusing "events" configuration
With swayidle one can configure two different kinds of hooks:

  - Idle timeouts are executed after the session has been idle for a
    specific amount of time.

  - Events are executed when systemd notifies us that for example the
    user session is locked or that the device is about to suspend.

While not obvious, there is a significant difference between how these
two kinds are configured: there can be several timeouts with separate
commands to be executed, but each event can only be specified once. If
an event is specified multiple times, then the last command wins.

This can be very easy to miss in swayidle's documentation. Furthermore,
because the config is a list of `{ event = "..."; command = "..."; }`
attrset, we double down on this confusion and make it seem like having
multiple handlers for an event was actually supported.

Fix this by converting from a list of "event" submodules to an attrset
where the key is the event name and the value is the command to be
executed. This makes it impossible to specify multiple commands for a
single event by accident.

If a user _does_ want to have multiple commands executed on any event
they can for example use `pkgs.writeShellScript` and manually chain the
commands in that script.
2025-12-02 22:24:56 -06:00
Aguirre Matteo
eca5f967cd ludusavi: use config.xdg.stateHome instead of $XDG_STATE_HOME 2025-12-02 21:57:23 -06:00
Aguirre Matteo
ae400a1dcc
shikane: add package to PATH (#8233) 2025-11-30 14:48:16 +01:00
zowoq
ceb884e4f3 treewide: fold -> foldr
deprecated in f4d36941eb
2025-11-26 09:23:05 -06:00
octvs
a26b74229f test: update tests path for new pwd-store path 2025-11-25 23:33:06 -06:00
octvs
14bc4c56fc password-store: do not set non-default dir 2025-11-25 23:33:06 -06:00
hausken
125e40fa68
easyeffects: Make service compatible with v8.0.x (#8192)
Fixes #8185

The upstream easyeffects project has migrated from GTK to Qt, deprecating --gapplication-service and removing DBus integration. See #8185 for more details.
Tested with version 8.0.3 and 7.2.5 , uses lib.versionOlder cfg.package.version "8.0.0" to be backwards compatible.

    Removed DBus service configuration (Type=dbus, BusName)
    Move presets and config dir from $XDG_CONFIG_HOME to $XDG_DATA_HOME (new upstream location)

Other notes
Since they have moved config directory, it will warn show warnings because of empty dirs. These warnings will also show in the service until you remove them. I dont think this is a problem and new users will not experience this.

easyeffects --version
easyeffects: presets_directory_manager.cpp:140  Old /home/hausken/.config/easyeffects/output directory detected. Migrating its files to /home/hausken/.local/share/easyeffects/output
easyeffects: presets_directory_manager.cpp:149  Could not copy any file. Aborting migration of /home/hausken/.config/easyeffects/output
easyeffects: presets_directory_manager.cpp:140  Old /home/hausken/.config/easyeffects/irs directory detected. Migrating its files to /home/hausken/.local/share/easyeffects/irs
easyeffects: presets_directory_manager.cpp:149  Could not copy any file. Aborting migration of /home/hausken/.config/easyeffects/irs
easyeffects: presets_directory_manager.cpp:140  Old /home/hausken/.config/easyeffects/rnnoise directory detected. Migrating its files to /home/hausken/.local/share/easyeffects/rnnoise
easyeffects: presets_directory_manager.cpp:149  Could not copy any file. Aborting migration of /home/hausken/.config/easyeffects/rnnoise
easyeffects: presets_directory_manager.cpp:140  Old /home/hausken/.config/easyeffects/autoload/output directory detected. Migrating its files to /home/hausken/.local/share/easyeffects/autoload/output
easyeffects: presets_directory_manager.cpp:149  Could not copy any file. Aborting migration of /home/hausken/.config/easyeffects/autoload/output
2025-11-24 18:56:44 +01:00
Austin Horstman
9a5042a88c treewide: assertions at top of config
Moving assertions to be consistently at top of the config blocks.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-22 15:00:15 -06:00
Austin Horstman
0b44044694 treewide: meta.maintainers at top
Just make it consistent throughout codebase and easier to find
maintainers for a module.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-22 14:51:05 -06:00
Austin Horstman
d4a80f26bf syncthing: use mkPackageOption tray package
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-22 14:48:56 -06:00
Austin Horstman
5beb2a373b activitywatch: use mkPackageOption for service
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-22 14:48:56 -06:00
Austin Horstman
ae20265d9e treewide: awwpotato -> da157
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-22 12:48:17 -06:00
Nathan Henrie
d10a9b16b2
espanso: fix accessibility permissions prompt for macos (#8180)
On macos 26 it seems that one has to run the binary from within the
application bundle to get the Accessibility prompt to work as expected

fixes https://github.com/nix-community/home-manager/issues/8179
2025-11-21 12:06:12 -06:00
Lucas Eduardo
10cfa0099b
espanso: remove lucasew as maintainer (#8181) 2025-11-21 12:01:34 -06:00
Joonas Rautiola
211594c88d swww: add package to service path
Signed-off-by: Joonas Rautiola <joonas@rautiola.co>
2025-11-15 09:51:45 +01:00
AlephNought
747a9a774e
easyeffects: Fix service hanging on system shutdown (#8145)
* easyeffects: Fix service hanging on system shutdown
* Make systemd take dependencies automatically from dbus service instead of setting them manually
* Add TimeoutStopSpec for 10 seconds
2025-11-12 09:36:07 -06:00
XYenon
c053d701d6 ssh-agent: add macOS support 2025-11-08 22:10:01 -06:00
Johan Larsson
2907788315
tomat: init service (#8138) 2025-11-06 16:44:08 +00:00
Austin Horstman
9901bb6afc taskwarrior-sync: taskwarrior -> taskwarrior2
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-02 22:59:59 -06:00
Austin Horstman
d9cd40d2da
local-ai: string -> str (#8116)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-11-03 04:41:08 +00:00
Ilya Savitsky
61f2cc5908
local-ai: init module (#6718) 2025-11-02 22:04:44 -06:00
Yechiel Worenklein
43e205606a cbatticon: add package example
After batticonplus was merged into nixpkgs
2025-11-02 06:44:15 -06:00
pancho horrillo
5eaa0072ff gpg-agent: restore empty newlines after commands 2025-11-02 05:52:54 -06:00
pancho horrillo
363797f8a9 gpg-agent: fix syntax-breaking extraneous new line 2025-11-02 05:52:54 -06:00
jaredmontoya
c0016dd147 ssh-agent: add shell integrations
replaces `home.sessionVariablesExtra`
2025-11-01 18:56:56 -05:00
jaredmontoya
3557df69ee gpg-agent: refactor 2025-11-01 18:56:08 -05:00
Christoph Hollizeck
4ac96eb21c
easyeffects: use new typecheck (#8090) 2025-10-30 21:39:41 -05:00
Benedikt Rips
c6d4cb31d7 home-manager: define a central package 2025-10-30 08:20:54 -05:00
Yechiel Worenklein
ca2ab1d877 cbatticon: add package to options 2025-10-28 10:45:54 -05:00
Sami Haahtinen
255b6a0ef2
home-manager-auto-upgrade: add flake support (#8053)
Adds the ability for the auto-upgrade service to update a Nix flake
instead of Nix channels.

This is controlled by a new `useFlake` boolean option. When enabled, the
service will run `nix flake update` in the directory specified by the
`flakeDir` option.

`flakeDir` defaults to the standard Home Manager configuration directory
(`~/.config/home-manager`), making this feature work out-of-the-box for
most users. The path is passed to the upgrade script via an environment
variable in the systemd service unit.
2025-10-26 16:21:41 -05:00
Benedikt M. Rips
f2f1076c1f
treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
fk29g
879e4d9060
clipse: fix keyBindings example syntax (#8058) 2025-10-26 15:36:37 -05:00
Lorenz Leutgeb
2aaf924e82
radicle: init (#5409)
Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-26 15:34:09 -05:00
Jairo Llopis
80437a57ca lorri: don't start until daemon is really running
Sometimes a race condition will make the events stream start after the
daemon is running, and then no events will be streamed.

This fixes the problem by checking the daemon status and failing the
unit if not ready yet. It will restart 5 seconds later, which will
probably be enough.

@moduon MT-1075
2025-10-25 21:21:03 -05:00
Jairo Llopis
d9ded14b74 lorri: restart notifications if events stream is disconnected
Before this patch, when events stream got disconnected (maybe because a
home rebuild), lorri-notify service wouldn't auto-restart.

@moduon MT-1075
2025-10-25 21:21:03 -05:00
Dixon Sean Low Yan Feng
0bc5f414f8 picom: add extraConfig to options
The picom module's `services.picom.settings` converts Nix expressions
to the libconfig format. However, that option currently does not have
a way to specify libconfig lists (enclosed in parentheses `()`), and
can only specify arrays (enclosed in square brackets `[]`). This makes
it impossible to specify certain picom configuration options, such as
animations (which are specified using lists).

This commit adds an `extraConfig` option to the picom module as an
escape hatch so that users can still specify picom options that are not
currently representable through `services.picom.settings`.
2025-10-25 21:15:52 -05:00
Jairo Llopis
c644cb018f lorri: better notifications
- They disappear automatically in GNOME.
- They display an icon indicating the status.
- The app name is "Lorri".

@moduon MT-1075
2025-10-25 00:26:19 +02:00
Jess
28907d1f77 restic: make sure pre and post hooks have interpreters 2025-10-21 11:12:48 -05:00
Anton Mosich
c3a5e5f0df services/pimsync: init
services/pimsync: add documentation
2025-10-20 17:10:44 +02:00
Jess
c199de6cd8 restic: decouple helper script from linux-specific systemd logic
And make platform support explicit.
2025-10-19 09:46:41 -05:00