1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 22:07:30 +02:00
Commit graph

617 commits

Author SHA1 Message Date
Sumner Evans
28493860f1
darkman: allow no configuration
Closes #4779

Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-04-10 21:27:46 +02:00
Scott Edlund
df2c8d201d
nix.gc: let systemd use any time config 2024-04-10 21:27:45 +02:00
Sofie
3d2206c3f7
nix-gc: add daily frequency option
The systemd.time documentation defines the shorthands `daily` and
`minutely` which are currently not included in the nix-gc module.

This commit adds the `daily` option, but omits `minutely` since it's not
a timescale that would make sense to run a gc for.

https://www.freedesktop.org/software/systemd/man/latest/systemd.time.html
2024-04-10 21:27:43 +02:00
Gabriel Arazas
211ebad3e7
activitywatch: add module 2024-04-10 21:27:43 +02:00
zorrobert
f283f269c1
fusuma: add missing dependencies 2024-04-10 21:27:41 +02:00
Phillip Cloud
c2e656da37
gpg-agent: fix broken variable reference 2024-04-10 21:27:41 +02:00
Bruno BELANYI
68921b0e80
gpg-agent: migrate to 'pinentryPackage'
This follows upstream's module change [1], which allows setting any
package as a pinentry program.

[1]: https://github.com/NixOS/nixpkgs/pull/133542
2024-04-10 21:27:41 +02:00
Mathis H
28d24615b3
hyprland: add option for per-input device configs 2024-04-10 21:27:39 +02:00
Roberto Abdelkader Martínez Pérez
a13f6dc6be
git-sync: allow passing extraPackages to service
Sometimes extra packages are needed to successfully update a
repository, for example, git-sync.
2024-04-10 21:27:36 +02:00
Sebastian Sellmeier
f4e057dba5
i3/sway: remove sebtm maintainer 2024-04-10 21:27:34 +02:00
Robert Helgesson
c13e6dc518
pueue: always write configuration file
Pueue requires the configuration file to contain a `shared` entry. We
therefore unconditionally add it as `shared: {}`.

Fixes #4295
2024-04-10 21:27:32 +02:00
Joaquín Triñanes
abec9da80c
gpg-agent: Fix nushell integration 2024-04-10 21:27:32 +02:00
John Axel Eriksson
cb76bfe06c
river: fix systemd activation (#5055)
The `exec` command does not do any shell parsing and does not
understand the `&&` which is how the extraCommands are added after
dbus activation. There doesn't seem to be a reason for `exec` here
anyway so just remove it and allow shell parsing.
2024-04-10 21:27:30 +02:00
Christina E. Sørensen
380a878c27
xscreensaver: add package option
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-10 21:27:29 +02:00
Mihai Fufezan
6b87f2846d
hyprland: fix reloading
Fix hyprctl erroring out due to HIS.
2024-04-10 21:27:29 +02:00
Judson Lester
7f1470c203
lorri: systemd allow access to cache directories
Some nix builds require RW access to `.cache/nix` and `.cache/lorri`.
2024-04-10 21:27:29 +02:00
Gaetan Lepage
b59d9800c3
river: add module 2024-04-10 21:27:28 +02:00
Rafael Carvalho
5ff30300d7
imapnotify: enable STARTTLS if enabled in email account config (#5013)
* imapnotify: enable STARTTLS if enabled in email account config

Since version 2.3.10 goimapnotify supports starttls. In version 2.3.11 a
typo in the settings was fixed, using tlsOptions.starttls to enable it.

This commit enables starttls in the goimapnotify config file if it is
enabled in the email account's imap settings.

* imapnotify: test generated config file

Compare the generated service config file with a manually verified
sample.
2024-04-10 21:27:23 +02:00
Emily
3d10daecd3
sway: fix workspace 10 missing from default config (#4636)
workspace 10 is part of upstream's default config, but was missing in home-manager.

The initial "sway: add module" PR (02d6040003) went through multiple iterations and had workspace 10 included for a brief moment.
Until the author removed it in a force-push commenting

> Have removed the last change which added bound ${modifer}+0 to workspace number 10 as this messed up workspace numbering in sway.

The reason might have been, that sway used to sort the workspaces in the order they appeared in the config.

Attribute sets in nix are sorted, but not "naturally sorted", meaning `bindsym Mod1+0 workspace number 10` comes before `bindsym Mod1+0 workspace number 1`.

It's unclear if that's what really happened. A workaround would have been to use `lib.lists.naturalSort` in `keybindingsStr`.

But I cannot reproduce this anymore in any way.
I assume this has been fixed many years ago by now.

upstream config: 020a572ed6/config.in (L113-L134)
2024-04-10 21:27:23 +02:00
NotAShelf
640c4270fc
arrpc: add module 2024-04-10 21:27:22 +02:00
Anton
875fa16fe2
swayosd: update executable 2024-04-10 21:27:22 +02:00
shivaraj-bh
6843538e68
nix-gc: add service
The nix-gc service runs automatically at a specified frequency. It is
managed via launchd on macOS and systemd on Linux.
2024-04-10 21:27:21 +02:00
Juraj Hlista
f2340ee873
hyprland: fix hyprctl crash
`/tmp/hypr` must be present so `hyprctl` doesn't crash.
2024-04-10 21:27:20 +02:00
Sefa Eyeoglu
bbe8322566
wob: add module
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-10 21:27:18 +02:00
Robert Helgesson
bd04fc27b6
network-manager-applet: add XDG data directory
The Network Manager Applet package provides, for example, some icons
that are good to have accessible in an XDG data directory.
2024-04-10 21:27:17 +02:00
Sumner Evans
99d47e0f57
keepassx: remove module
This removes the services.keepassx module and all options related to it.
This is because KeePassX has been unmaintaned for a long time, and the
migration path to KeePassXC is not clear.

Note, this package probably hasn't worked for nearly a year since the
package was removed from Nixpkgs:
https://github.com/NixOS/nixpkgs/pull/216748

Closes #4949

Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-04-10 21:27:16 +02:00
Robert Helgesson
a04f37fab0
treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL
As a replacement, this adds the `run` helper function.
2024-04-10 21:27:15 +02:00
Samuele Facenda
65bebc010e
hyprland: change plugins settings generation
The previous syntax (`plugin:name { ...settings}`) is not working with
more than one plugin. There is no documentation for this, just the
source code [1].

With this update the plugins paths aren't generated together with the
full config (so the "plugin" field is not "important" anymore) and the
plugins settings are generated like the other fields.

[1] 4d403dac32/src/config/ConfigManager.cpp (L1574)
2024-04-10 21:27:13 +02:00
Samuele Facenda
3b678fe158
hyprland: do not override existing plugins settings in config
The plugin setting in the Hyprland config is used both for defining
plugin paths and configuring the plugins. This fix removes the
silent override of the plugins settings converting them to the
`plugin:<name> { ...settings }` syntax.
2024-04-10 21:27:13 +02:00
Jared Baur
626966eb51
sway: include cursor environment variables
DBus activated services such as mako use the XCURSOR_THEME and
XCURSOR_SIZE environment variables to decide how to show the cursor,
so without these, the cursor may not match the rest of the desktop
when hovering over (in this example) mako notification surfaces.
2024-04-10 21:27:12 +02:00
Dee Anzorge
1fd55da2a1
listenbrainz-mpd: use sdnotify when possible
The ability for listenbrainz-mpd to notify systemd when it's ready was
added in 2.3.2:

https://codeberg.org/elomatreb/listenbrainz-mpd/releases/tag/v2.3.2
2024-04-10 21:27:09 +02:00
Guillaume Girol
d5a490f031
lorri: unbreak due to too tight sandboxing
lorri needs to be able to write to /run/user/uid for the socket, to its
own cache directory ~/.cache/lorri and to the directory for gc roots.
2024-04-10 21:27:06 +02:00
Tom Hall
ee5e56bd52
osmscout-server: add module
Osmscout-server includes a setting in its UI to create a systemd user
service and socket to run the server on demand. This does not function
correctly on NixOS, for two reasons:

1. It assumes that the binary path is stable (e.g.
   /usr/bin/osmscout-server), which is not the case on NixOS.

2. It auto-detects the unwrapped binary path, which doesn't work.

This module allows the user to access the same functionality on NixOS.
2024-04-10 21:27:03 +02:00
Sandro
11f904ea29
gpg-agent: don't set a default for pinentry
NixOS stopped building gtk2 pinentry by default in
https://github.com/NixOS/nixpkgs/pull/270266 and there does not appear
to be a reasonable other default.
2024-04-10 21:27:03 +02:00
TornaxO7
07a186f6b9
gpg-agent: add nushell integration 2024-04-10 21:27:02 +02:00
pacien
91b4c632e6
unison: better retry/restart reporting failures
The service was never marked with a failed state with the previous
approach, which could lead broken synchronisation pair states to go
undetected.

The module now uses a timer instead of unlimited restarts, which does
not have this issue.
2024-04-10 21:27:01 +02:00
Robin Gloster
5ce51947f5
hyprland: mark plugin setting as important
The plugins are often necessary for other configurations.
2024-04-10 21:26:55 +02:00
Ujp8LfXBJ6wCPR
14dd7d71fb
hyprland: improve config reload
When using the previous approach I've always gotten errors that I can't
reload config on the .lock file that exists in /tmp when you run a
standard configured hyprland.

This commit improves this by using hyprctl to find instances to reload
instead.

We can remove the HYPRLAND_INSTANCE_SIGNATURE bogus assignment once
https://github.com/hyprwm/Hyprland/issues/4088 is resolved.

Co-authored-by: Carl Hjerpe <git@hjerpe.xyz>
2024-04-10 21:26:55 +02:00
Nara Díaz Viñolas
7edbaf84cd
hyprland: add option sourceFirst
Add the option sourceFirst to the hyprland module. When this option is
enabled source entries will be put near the top of the file, so that
the variables declared in other files can be used by the other
configuration entries.

Add "source" to the list of important prefixes when the former option
is enabled.

Resolves #4729
2024-04-10 21:26:51 +02:00
Richard Davis
18c9d3d344
caffeine: remove ProtectHome service option
This option causes caffeine to be unable to start via the systemd
service.
2024-04-10 21:26:51 +02:00
Yuchen Guo
8a4e887bb6
swayidle: add systemd suspend to example 2024-04-10 21:26:45 +02:00
Yuchen Guo
1327882cbc
swayidle: daemonize swaylock in example configuration 2024-04-10 21:26:44 +02:00
Damien Cassou
7ea42f9c8e
signaturepdf: add service 2024-04-10 21:26:43 +02:00
Philipp Mildenberger
b986c3b8e7
picom: use getExe instead of hardcoded binary 2024-04-10 21:26:42 +02:00
9p4
dfb56a4a77
swayidle: always restart systemd unit on failure
Occasionally, swayidle crashes with a failure to connect to the
Wayland session. Ideally, swayidle should automatically restart
instead of leaving the system in a vulnerable state.
2024-04-10 21:26:36 +02:00
Rodney Lorrimar
5136542501
emacs: Fix socket activation 2024-04-10 21:26:35 +02:00
Rodney Lorrimar
2e4250a532
emacs: Remove obsolete socket file workaround 2024-04-10 21:26:35 +02:00
Joseph Ryan
812ab588dc
clipmenu: set Environment to a list 2024-04-10 21:26:33 +02:00
tristan
d528eaf288
services.swayidle: change target to generic session (#3913)
this makes the default setup support other window-managers, and is the
trend followed by waybar, clipman, copyq, wlsunset.
2024-04-10 21:26:32 +02:00
André Silva
f572930b5a
hyprland: add tray.target 2024-04-10 21:26:31 +02:00