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

3989 commits

Author SHA1 Message Date
Peter Kling
575754a37c formatting according to HM's format tool 2025-01-06 20:11:16 +01:00
Peter Kling
956b4bb9f7 syncthing: expand declarative config to Darwin
This extends the recently merged PR , 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 .
* Adds an `syncthing-init`launchd agent (analogously to the systemd service `synching-init` from the above mentioned PR ) 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-01-06 20:11:14 +01:00
Peter Kling
2c75206116 refactor launchd.agents.syncthing
Make launchd.agents an explicit attribute set, since we're going to add another agent.
2025-01-06 20:11:11 +01:00
Peter Kling
92f8ef668a provide RUNTIME_DIRECTORY manually if not given by systemd 2025-01-06 20:11:06 +01:00
Peter Kling
d598080b8b move curl shell function into string variable
Allows us to reuse the function in different scripts.
2025-01-06 20:10:54 +01:00
Peter Kling
78ea085871 nix variable for syncthing's configuration directory
Is set according to the corresponding OS default, see https://docs.syncthing.net/users/config.html.
2025-01-06 20:10:42 +01:00
Peter Kling
c5765a8094 move syncthing-copy-keys to dedicated variable
This makes it possible to reuse the script in launchd setup.
2025-01-06 20:09:33 +01:00
programmerlexi
172b91bfb2
Translate using Weblate (German)
Currently translated at 100.0% (16 of 16 strings)

Co-authored-by: programmerlexi <lexi@reyer.name>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/de/
Translation: Home Manager/Home Manager Modules
2025-01-05 16:00:50 +01:00
Dorian Burgun
4795ebe6cc
Translate using Weblate (French)
Currently translated at 100.0% (16 of 16 strings)

Translate using Weblate (French)

Currently translated at 100.0% (37 of 37 strings)

Co-authored-by: Dorian Burgun <docdoomduck@protonmail.com>
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
2025-01-05 16:00:50 +01:00
home-manager-bot
5ad12b6ea0
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
  → 'github:NixOS/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-05 09:41:24 +01:00
Matthias Beyer
0d7908bd09
neomutt: Document how to bind Ctrl keys ()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-01-04 18:56:03 +01:00
Sebastián Estrella
11ab08541e
ghostty: validate configuration on change
Runs `ghostty +validate-config` when the configuration file changes.

Co-authored-by: Heitor Augusto <IAm.HeitorALN@proton.me>
2025-01-04 09:24:51 +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
Robert Helgesson
ef64efdbac
treewide: standardize wayland graphical services
PR 
2025-01-03 18:25:11 +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
8587c2ff0e
waybar: use config.wayland.systemd.target
Also add `ConditionEnvironment`.
2025-01-03 17:37:42 +01:00
Thiago Kenji Okada
89fe48b1c1
swayidle: use config.wayland.systemd.target
Also add `Unit.After`.
2025-01-03 17:37:16 +01:00
Thiago Kenji Okada
0734cfab07
wayland: add module 2025-01-03 17:10:41 +01:00
Drewry Pope
1c8d4c8d59
mako: add center-left & center-right 2025-01-03 11:33:28 +01:00
Hosted Weblate
7254063d52
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2025-01-03 10:26:11 +00:00
Languages add-on
12327fc3d8
Add translation using Weblate (Tamil)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2025-01-03 10:26:09 +00:00
தமிழ்நேரம்
7f16e9c3cb
Translate using Weblate (Tamil)
Currently translated at 100.0% (37 of 37 strings)

Add translation using Weblate (Tamil)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ta/
Translation: Home Manager/Home Manager CLI
2025-01-03 10:26:08 +00:00
Heitor Augusto
a6f37e5785
ghostty: fix configuration for bat syntax 2025-01-03 11:26:00 +01:00
Robert Helgesson
1e68dc759b
home-manager: move profile management
This commit separates profile management (setting profile and creating
GC root) from file management (removing and adding managed files
within the user's home directory).

This is a step towards deprecating profile management within the
activation script, instead relying on the caller of the activation
script managing the profile.
2025-01-03 11:22:59 +01:00
Terje Larsen
1e2a9d2d29
format: ignore system and user git config
This can cause failures if the user has configuration that is
incompatible with the version of git pinned in the format script.

Potentially it could have other undesired effects as well.

Fix 
2025-01-03 11:22:01 +01:00
Robert Helgesson
f4f8d09f90
home-manager: update copyright year 2025-01-03 10:56:26 +01:00
Heitor Augusto
5f6aa268e4
ghostty: add module 2025-01-02 00:33:45 +01:00
Robert Helgesson
9a9fef316a
systemd: use sd-switch by default
Also remove the legacy Ruby alternative.

Fixes 
2025-01-01 16:31:32 +01:00
Robert Helgesson
5518f9d439
home-manager: make show news a bit more robust 2025-01-01 16:31:32 +01:00
Chris Pick
59a4c43e9b
bacon: fix configuration file location on Darwin
bacon reads its preferences from a different directory on Darwin.
Fix the path to read out of:
~/Library/Application\ Support/org.dystroy.bacon/prefs.toml
Linux behavior should be unchanged.
2025-01-01 13:51:47 +01:00
home-manager-bot
2ac770c007
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d70bd19e0a38ad4790d3913bf08fcbfc9eeca507?narHash=sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ%3D' (2024-12-19)
  → 'github:NixOS/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-01 10:46:14 +01:00
Marcin Serwin
10e99c43cd
copyq: add option to disable XWayland 2024-12-28 11:16:56 +01:00
EmmChriss
b7a7cd5dd1
pqiv: fix condition for writing pqivrc file
Specifically, write the configuration if either settings or
extraConfig are set.
2024-12-28 00:56:55 +01:00
Kiara Grouwstra
19398e505a
lesspipe: allow configuring package 2024-12-28 00:51:42 +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
Robert Helgesson
afbf007bb5
tests: add integration test for nh 2024-12-24 16:19:17 +01:00
Robert Helgesson
6427258409
tests: change to wait for network.target 2024-12-24 16:02:48 +01:00
Robert Helgesson
aa8c3d7f7d
tests: remove stray line 2024-12-24 09:13:32 +01:00
Shahar "Dawn" Or
f1b1786ea7
swayr: avoid IFD 2024-12-23 23:21:39 +01:00
VojtechStep
8264bfe3a0
mu: add integration tests 2024-12-23 10:00:12 +01:00
VojtechStep
7349b01505
mu: reinitialize when personal addresses change
When the user changes which addresses mu should consider 'personal',
mu's store should be reinitialized.

After this change, the activation script parses the previously
configured list of addresses and compares it with the new one. If they
differ, it runs the init command even when the store has already been
initialized.
2024-12-23 09:52:16 +01:00
Mel Bourgeois
8bea1a2005
nixgl: forward override calls to wrapped package 2024-12-23 09:22:06 +01:00