1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-17 05:35:06 +01:00
Commit graph

780 commits

Author SHA1 Message Date
Peter Kling
45c07fcf7d formatting according to HM's format tool 2025-02-15 14:35:04 -08:00
Peter Kling
85e9d1cc8f syncthing: expand declarative config to Darwin
This extends the recently merged PR #5616, which expanded the Synching config to allow declarative settings under Linux, such that it also works under Darwin.

Changes:
* Update the module's `syncthing` launchd agent to copy the synching key/certificate before starting syncthing, analogously to the systemd service from the above mentioned PR #5616.
* Adds an `syncthing-init`launchd agent (analogously to the systemd service `synching-init` from the above mentioned PR #5616) that updates the configuration files. Since this must be run after the syncthing service started, we use a `WatchPath` to coordinate both launchd agents.
2025-02-15 14:35:04 -08:00
Peter Kling
14223a8261 refactor launchd.agents.syncthing
Make launchd.agents an explicit attribute set, since we're going to add another agent.
2025-02-15 14:35:04 -08:00
Peter Kling
26454abc03 provide RUNTIME_DIRECTORY manually if not given by systemd 2025-02-15 14:35:04 -08:00
Peter Kling
33ffe94252 move curl shell function into string variable
Allows us to reuse the function in different scripts.
2025-02-15 14:35:04 -08:00
Peter Kling
17a78d3eed nix variable for syncthing's configuration directory
Is set according to the corresponding OS default, see https://docs.syncthing.net/users/config.html.
2025-02-15 14:35:04 -08:00
Peter Kling
53efb68b4b move syncthing-copy-keys to dedicated variable
This makes it possible to reuse the script in launchd setup.
2025-02-15 14:35:04 -08:00
Calum MacRae
582d3cd42d
yubikey-agent: init service module (#6446) 2025-02-14 15:10:24 -06:00
Austin Horstman
5031c6d297 syncthing: remove with lib 2025-02-13 10:08:21 -08:00
Austin Horstman
20fac9bbdf syncthing: use package options
Currently, all references are hardcoded even though we offer package
options. Update to use package options.
2025-02-13 10:08:21 -08:00
PopeRigby
ba4a1a1102
ludusavi: create Ludusavi module (#5626) 2025-02-10 18:23:20 -06:00
Perchun Pak
b0bd29bb4b
tldr-update: init (#6401)
Adds `tldr-update` module for enabling automatic `tldr update` on a schedule.
Adds option to `tealdeer` to enable integration with new `tldr-update` module.
2025-02-10 08:34:12 -06:00
NAHO
5af1b9a0f1
treewide: standardize shell integration options
Standardize all 'programs.<PROGRAM>.enable<SHELL>Integration' options
with the following new functions:

- lib.hm.shell.mkBashIntegrationOption
- lib.hm.shell.mkFishIntegrationOption
- lib.hm.shell.mkIonIntegrationOption
- lib.hm.shell.mkNushellIntegrationOption
- lib.hm.shell.mkZshIntegrationOption

These functions should default to their corresponding global option:

- home.shell.enableBashIntegration
- home.shell.enableFishIntegration
- home.shell.enableIonIntegration
- home.shell.enableNushellIntegration
- home.shell.enableZshIntegration

All these global options default to the
'home.shell.enableShellIntegration' value.

This hierarchy standardizes the shell integration and increases end-user
flexibility.

BREAKING CHANGE: The following inconsistent default values change from
'false' to 'true':

- programs.zellij.enableBashIntegration
- programs.zellij.enableFishIntegration
- programs.zellij.enableZshIntegration

Link: https://github.com/nix-community/home-manager/pull/6358

Co-authored-by: Robert Helgesson <robert@rycee.net>
2025-02-08 22:49:40 +01:00
Coutinho de Souza
4337992712
wayland: create tray.target if xsession is not enabled (#6332)
Create a internal/read-only trayTarget option for the xsession, which is
also used in wayland's config, if the former is not enabled.

Remove all other definitions of `systemd.user.targets.tray`, i. e, the
ones from the following modules: hyprland, sway, river and wayfire.
2025-02-06 22:50:03 +01:00
Christina Sørensen
1e47f7101f
gpg-agent: no-allow-external-cache option (#6387)
This is a pretty common configuration option, and one that many people
will find useful to discover, specially if they're not using a window
manager.

I thought I would add it. It is also useful to have for
pass-secret-service in the future, since you'd likely want to avoid DE
keyrings.

Signed-off-by: Christina Sørensen <ces@fem.gg>
2025-02-04 22:31:42 +01:00
Austin Horstman
fee01c9351 hyprland: fix null package conditions 2025-01-30 15:41:13 -06:00
Austin Horstman
9a97ac435e swaync: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
Austin Horstman
9ee99be0c0 cliphist: add khaneliman maintainer 2025-01-30 13:42:37 -06:00
ckgxrg
d963ed335b
linux-wallpaperengine: add module
linux-wallpaperengine is an implementation of Wallpaper Engine on
Linux, this module allows it to be declaractively configured.
2025-01-30 10:22:43 +01:00
diniamo
7636b24867
hyprland: make package nullable (#5742) 2025-01-29 18:40:05 -06:00
Austin Horstman
c4650fb9c0
cliphist: support multiple systemdTargets properly (#5669)
Using a space separated list of targets as a single string element in
the list doesn't work properly. Change property to support list of
targets and backwards compatibility with warning for single string.
2025-01-29 12:26:13 -06:00
Mihai Fufezan
5dc1c2e404
hyprland: add xdg.portal configuration (#5707)
Add integration with `xdg.portal`, and the `portalPackage` option for
`xdg-desktop-portal-hyprland`.
2025-01-29 12:19:53 -06:00
Ivan Kovnatsky
daf04c5950
ollama: add darwin support 2025-01-25 00:54:49 +01:00
Austin Horstman
97d7946b5e
{hypridle, hyrpaper}: remove with lib; (#6318)
* hypridle: remove with lib;

* hyprpaper: remove with lib;
2025-01-18 18:35:49 +01:00
Jdogzz
1c75a4c151
syncthing: have tray wait for bar to load (#6290)
Add --wait flag to tray to avoid loading before bar.
2025-01-18 18:35:27 +01:00
Linus Heckemann
fc52a210b6
network-manager-applet: changed nm-applet description (#6311)
This makes it a bit easier to find.
2025-01-13 17:27:56 +01:00
greenpsi
0da8b6bae9
sway: allow sway specific hideEdgeBorders options (#6304)
* add `smart_no_gaps` option
* allow using `--i3` for hideEdgeBorders:

See e.g. https://man.archlinux.org/man/sway.5#Config_or_runtime_commands:

The --i3 option enables i3-compatible behavior to hide the title bar on tabbed and stacked containers with one child.
Co-authored-by: greenpsi <git@psinet.dev>
2025-01-13 17:26:51 +01:00
Terje Larsen
2532b500c3
ollama: add module (#5735) 2025-01-10 12:31:03 +01:00
1444
456e599f91
wayfire: add module (#6066)
Adds a Module for the Wayfire Compositor. Also allows managing the wf-shell configuration.
2025-01-08 16:18:57 +01:00
DDoSolitary
45bcdbc910
gpg-agent: fix compatibility with sh when enableSshSupport (#6287)
Co-authored-by: sunqiancheng <sunqiancheng@sensetime.com>
2025-01-08 12:37:59 +01:00
midirhee12
a9987622b7
maintainers: updated username to midirhee12
- removed cvoges12 entry
- using respective maintainer entry in nixpkgs
- changed all hm modules' `meta.maintainers` to reflect new username /
  email
2025-01-04 00:37:20 +01:00
Thiago Kenji Okada
14cb0c8cfa
fnott: use config.wayland.systemd.target
Also add missing `ConditionEnvironment`.
2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
656ae5aba2
clipman: use config.wayland.systemd.target
Also add `ConditionEnvironment`.
2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
a6db8c8f6c
hypridle: use config.wayland.systemd.target 2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
da12f0b143
hyprpaper: use config.wayland.systemd.target 2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
8f48fea0f8
avizo: use config.wayland.systemd.target 2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
adcf0b6281
wob: use config.wayland.systemd.target 2025-01-03 17:38:06 +01:00
Thiago Kenji Okada
51ba4aacec
swayosd: use config.wayland.systemd.target 2025-01-03 17:38:05 +01:00
Thiago Kenji Okada
4cbc8a58ab
swaync: use config.wayland.systemd.target 2025-01-03 17:38:05 +01:00
Thiago Kenji Okada
d3c500a8f8
kanshi: use config.wayland.systemd.target
Also add `ConditionEnvironment`.
2025-01-03 17:38:05 +01:00
Thiago Kenji Okada
89fe48b1c1
swayidle: use config.wayland.systemd.target
Also add `Unit.After`.
2025-01-03 17:37:16 +01:00
Drewry Pope
1c8d4c8d59
mako: add center-left & center-right 2025-01-03 11:33:28 +01:00
Marcin Serwin
10e99c43cd
copyq: add option to disable XWayland 2024-12-28 11:16:56 +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
Matthieu Coudron
3066cc58f5
kanshi: dont write config in absence of nix settings (#6198) 2024-12-12 23:48:46 +01:00
Axel Karjalainen
f26aa4b76f
gpg-agent: fix GCR DBus package note
D-Bus services are queried from Home Manager packages too. NixOS is
not required.
2024-12-11 00:26:35 +01:00
Linus Heckemann
65912bc684
imapnotify: provide an option for setting PATH
Including some useful presetting for notmuch and mbsync.
2024-12-05 10:08:50 +01:00
LorenzBischof
ad48eb25cd
etesync-dav: update default server URL 2024-12-04 14:06:18 +01:00
Gaétan Lepage
873e39d5f4
podman-container: fix tests and failing podman 5.3.0 service
Co-authored-by: Dylan Wilson <dylan@bytepen.com>
2024-12-02 11:05:28 +01:00
Ken Micklas
819f682269
lorri: fix ReadWritePaths for new gcroots behavior 2024-11-29 13:43:55 +01:00