Commit graph

251 commits

Author SHA1 Message Date
Bruno Bigras 2d88cbe496
spotifyd: user -> username
PR #1168
2020-04-23 23:53:03 +02:00
Paul ee1c40e5c5
keynav: use correct ExecStart command
When the change requested in

  https://github.com/rycee/home-manager/pull/1082#discussion_r392715440

was applied, the service `ExecStart` attribute was not updated to use
`pkgs.keynav`.

Fixes #1177
PR #1184
2020-04-23 22:48:01 +02:00
nurelin 8c920682e6
sway: remove restart command from sway configuration (#1155)
The restart command does not exists in sway, only reload.
See https://github.com/swaywm/sway/blob/1.4/sway/sway.5.scd
2020-04-22 02:31:07 +02:00
Bruno Bigras 3e3de8cee2
i3/sway: fix typo in fonts option (#1152) 2020-04-21 08:18:38 +02:00
Jonas Heinrich f856da6690
mako: add module
PR #1113
2020-04-09 11:21:22 +02:00
Robert Helgesson f56c4187a4
screen-locker: add option enableDetectSleep
Fixes #1125
2020-04-06 19:41:13 +02:00
Ruby Iris Juric 78a0bbb38b
picom: add module
Nixpkgs no longer packages compton, and instead packages picom, a
(mostly) compatible fork of compton, providing an alias from compton
to picom. Because some configuration options have been changed, and
all references to "compton" have been made deprecated and replaced
with "picom", 'services.compton' has been deprecated in favor of the
new 'services.picom'.

Resolves #878
PR #1101
2020-03-24 23:50:22 +01:00
Robert Helgesson d11803d7b4
syncthing: install man pages to user profile 2020-03-22 21:15:25 +01:00
Robert Helgesson 19dd9866da
dunst: install man pages 2020-03-22 21:15:23 +01:00
Cole Helbling 8571e568e0
sway: fix onChange when defunct sockets exist
Fixes `..../generation/activate: line 181: [: too many arguments`
when, for whatever reason, the user has multiple `sway-ipc` sockets.

PR #1086
2020-03-21 18:00:26 +01:00
William Carroll 2cd168467e
keynav: add module
PR #1082
2020-03-17 22:59:15 +01:00
Tad Fisher 9f46d516fa
services.lieer: add module
Add 'services.lieer', which generates systemd timer and service units
to synchronize a Gmail account with lieer. Per-account configuration
lives in 'accounts.email.accounts.<name>.lieer.sync'.
2020-03-07 15:13:50 +01:00
Alex Rice a6657d6b21
sway: fix floating modifier description
PR #1054
2020-03-04 21:09:36 +01:00
Alex Rice 02d6040003
sway: add module
PR #829
2020-02-26 22:37:15 +01:00
Robert Helgesson 91c7059d98
udiskie: fix formatting 2020-02-24 23:07:58 +01:00
Robert Helgesson d90ae6dffa
udiskie: remove obsolete -2 command line argument
Fixes #1042
2020-02-24 20:45:54 +01:00
Jonathan Ringer f487b527ec
compton: add inactiveDim option
PR #1016
2020-02-05 20:13:20 +01:00
Gregory C. Oakes 6cc4fd6ede
screen-locker: made xss-lock a systemd service.
Takes advantage of the new `--session` xss-lock parameter to allow
xss-lock be made into a systemd service.

PR #1015
2020-02-02 01:33:36 +01:00
Robert Helgesson 45abf3d38a
Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
Marius Bergmann b4e8d9869f
grobi: add module
This adds a service module for [grobi](https://github.com/fd0/grobi),
which can be used to automatically configure monitors/outputs for Xorg
via RANDR.
2020-01-26 13:57:49 +01:00
Néfix Estrada b270fcef2f
bspwm: add module
PR #362, #981

Co-authored-by: Vincent Breitmoser <look@my.amazin.horse>
2020-01-26 13:43:13 +01:00
Ross A. Baker 0fce533e70
lorri: add gitMinimal to daemon path
Fixes https://github.com/target/lorri/issues/255 when the service is
installed through home-manager.

PR #975
2020-01-11 17:19:10 +01:00
Philipp Middendorf 3a3657b107
cbatticon: add module (#963) 2020-01-11 13:08:56 +01:00
Denys Pavlov d677556e62 spotifyd: update flags (#979)
Following nixos/nixpkgs@54433c4
2020-01-09 15:10:16 +01:00
jD91mZM2 ebf1df58da
gpg-agent: fix GnuPG by adding pinentry flavor option
See https://github.com/NixOS/nixpkgs/pull/71095.

Fixes #908
2020-01-01 13:26:21 +01:00
Michael Hoang df4db50632
i3: update default i3 key bindings
Update to match the default i3 key bindings

  https://github.com/i3/i3/blob/master/etc/config

PR #957
2019-12-31 11:19:20 +01:00
Robert Helgesson 8d14ffbe88
blueman-applet: minor cleanup of enable option
In particular use proper DocBook format in description.
2019-12-25 22:00:54 +01:00
Cabia Rangris a5d3d6f665
blueman: update advice for removing error message
The old method for hiding the error no longer works in NixOS 19.09,
and ends up breaking blueman-applet entirely. Enable the NixOS service
instead.

Pull request #950
2019-12-25 21:52:49 +01:00
Gregory Oakes a12a8f7977
random-background: add bgSupport documentation
On NixOS it is necessary to set `bgSupport = true` when creating a
Home Manager desktop manager session. Otherwise NixOS will add code
that sets the background, overriding the effort made by the
`random-background` module.

Fixes #955
Pull request #956
2019-12-25 21:44:23 +01:00
Robin Stumm fdd65e5fad
parcellite: remove obsolete backward compatibility fixes
This also fixes that the `gtk.theme` option was not picked up due to
hardcoded XDG_DATA_DIRS.
2019-12-01 20:03:05 +01:00
pacien 94d183eaaa
unison: add module 2019-11-29 23:49:00 +01:00
pacien 9d09738e4d
password-store: add modules 2019-11-29 23:03:15 +01:00
leotaku 34dc4a5e03
mpdris2: improve service description
In particular, make sure the systemd service actually starts.
2019-11-27 22:46:02 +01:00
Kloenk eee6ae33e8
spotifyd: add module 2019-11-24 18:52:52 +01:00
Tobias Happ 286dd9b308
lorri: add service 2019-11-17 20:36:27 +01:00
wedens 5161dd3b2e
i3: add workspaceAutoBackAndForth option 2019-10-28 11:31:51 +01:00
Robert Helgesson 8bddc1adab
redshift: add assertion on latitude and longitude
These two options must be set if the provider is set to "manual".

Closes #841
2019-10-02 23:17:57 +02:00
Nazarii Bardiuk 51581b7e43
sxhkd: add service 2019-09-17 21:42:05 +02:00
Robert Helgesson b0544c8cde
mpd: allow path literal values in options
This allows specifying, for example, the music directory using path
literals without causing the directory to be copied to the Nix store.

Suggested-by: Silvan Mosberger <infinisil@icloud.com>
2019-09-16 21:43:53 +02:00
Bruno Bigras d3e316eec5
imapnotify: pkgs.mbsync -> pkgs.isync 2019-09-11 19:27:04 +02:00
Hugo Geoffroy 05d91c5f50
mpd: use systemd journal instead of syslog
MPD is using syslog for its logging output, while it could directly
log to systemd's journal, as this daemon is primarily used as a
systemd user service. This change makes MPD log to standard output,
which is captured by systemd.

See https://github.com/NixOS/nixpkgs/pull/57608, which does the same
thing to NixOS's MPD service.
2019-09-05 22:38:35 +02:00
Robert Helgesson 698d0f0a44
polybar: restart service on failure 2019-09-03 23:51:23 +02:00
Robert Helgesson 55b71223d4
Fix option defaultText when referencing packages
By using `literalExample` the documentation will show the option
default without surrounding quotes.
2019-08-28 00:14:22 +02:00
Robert Helgesson bfc28cacbe
random-background: disable creation of ~/.fehbg file 2019-08-26 20:07:07 +02:00
Michael Fellinger b2a787ca69
random-background: add option enableXinerama 2019-08-26 16:42:00 +02:00
Robert Helgesson eb1b86a5ec
Replace use of stdenv.shell by runtimeShell 2019-08-22 08:35:06 +02:00
Robert Helgesson ed4f66185f
Use types.port where applicable
This changes the type of all options that specify ports to
`types.port`. This type restricts values to between 0 and 65535.
2019-08-19 20:37:48 +02:00
leotaku 3d645c0ce1
kdeconnect: fix incorrect path to kdeconnectd 2019-08-18 23:35:53 +02:00
Tobias Happ db0dfb4b08
dwm-status: add module 2019-08-18 16:23:31 +02:00
pacien a124dae35a muchsync: add module 2019-08-17 20:08:11 +09:00
adisbladis a9ecef1fa9
hound: add module 2019-08-08 13:52:27 +02:00
Robert Helgesson d625186ce5
Remove use of network-online.target
This target is only available at the system level and has no effect on
user services.
2019-07-28 14:17:28 +02:00
pacien cc0cd538e6
taskwarrior-sync: add service module 2019-07-17 21:34:53 +02:00
Robert Helgesson ca4f22be85
mbsync: use full path to mu in example 2019-07-17 10:02:35 +02:00
Andreas Fehn 2029e104d4
xsuspender: write all options to config 2019-07-05 18:44:28 +02:00
Andreas Fehn 7c76f4a71f
xsuspender: correctly name default section 2019-07-05 18:44:28 +02:00
Róman Joost 68fe8623ad Address code review comments for getmail service
This patch started by addresssing the code review comments to close
https://github.com/rycee/home-manager/pull/290. However initiating a new
pull request it became clear, that home-manager changed significantly
since then.

This changes the initial pull request to be consistent with the email
account management in home-manager now. It also adds a simple test and support
for multiple accounts.
2019-06-27 07:48:09 +02:00
Mats Rauhala 8243cc0a5d getmail: add module 2019-06-27 07:48:09 +02:00
Robert Helgesson 95d55b8da1
xsession: add option importedVariables
This option lists the environment variables to be imported into the
systemd user session.

Also add a basic test of the xsession module.
2019-06-23 14:06:29 +02:00
Kai Wohlfahrt f83c49baa3 gpg-agent: add sshcontrol configuration
This lets gpg-agent serve specific keys with authentication capability
as SSH keys
2019-06-18 13:37:19 +01:00
Robert Helgesson 5b50eb18fc
network-manager-applet: fix indentation 2019-06-09 12:13:11 +02:00
Florian Klink 8991fe2e90
screen-locker: fix systemd unit
In particular, don't add trailing backslashes introduced by
`xautolockExtraOptions`. Systemd's unit file parser seems to have
gotten a bit stricter and with systemd 242, the trailing backslash
caused the next non-empty line to be ignored.

In that case, this was `[Section]`, so all subsequent settings were
mistakenly added to `[Service]`, causing them to be ignored entirely.

Simplify and fix this by using `concatStringsSep` to build a single
`ExecStart` line.
2019-06-02 23:29:37 +02:00
Jaka Hudoklin fcacba268d
xsuspender: add module 2019-05-30 19:53:10 +02:00
Richard Marko d7eaeaf636
random-background: add option display
This option parameterizes the `--bg-*` argument for feh.
2019-05-30 13:40:15 +02:00
Robert Helgesson d726afd9e4
imapnotify: specify notmuch configuration path 2019-05-19 01:08:06 +02:00
Jos van Bakel be4b100ae5
rsibreak: add module 2019-05-05 01:56:53 +02:00
Robert Helgesson f99d4ba7c4
flameshot: fix service description 2019-05-01 13:13:38 +02:00
Nick Hu 2f819d1647
imapnotify: add service 2019-04-29 00:05:02 +02:00
Robert Helgesson 13ad532412
xscreensaver: add option settings 2019-04-22 23:44:46 +02:00
Robert Helgesson 9c0536deda
emacs: prevent service restart on change
Fixes #668
2019-04-18 01:38:25 +02:00
Robert Helgesson 30a16e3a87
polybar: change restart trigger to contain a string
The systemd unit type is a bit more strict now and needs an explicit
string in this position.
2019-04-12 17:56:14 +02:00
Nick Hu c48db4fbba
xcape: add service 2019-04-09 22:15:48 +02:00
Robert Helgesson f77d6b7a2d
taffybar: restart the service on failure 2019-03-26 18:05:44 +01:00
Robert Helgesson cf5dac9563
random-background: minor documentation improvements 2019-03-24 15:29:08 +01:00
Robert Helgesson 41356ac267
polybar: use writeShellScriptBin 2019-03-21 00:39:36 +01:00
Peter Jones f07510e2b6
mpdris2: add module 2019-02-24 01:32:34 +01:00
Jonas Holst Damtoft 0ca1bf3cfd
emacs: add service module 2019-02-09 15:28:11 +01:00
Robert Helgesson 98f534e172
flameshot: add bars to systemd After
Fixes #544
2019-01-29 00:20:16 +01:00
wedens 604fc92943
polybar: add /run/wrappers/bin to PATH
Without this the network module in polybar is unable to check
connection as it invokes 'ping' command directly.
2019-01-26 14:44:57 +01:00
Robert Helgesson 008d93928f
xembed-sni-proxy: add module 2019-01-26 14:20:46 +01:00
Robert Helgesson 59a4ac71f9
i3: replace use of types.string by types.str 2019-01-19 19:02:59 +01:00
Nadrieril df8a14e12a i3: add bar.extraConfig option 2019-01-15 12:31:10 +09:00
Nadrieril d5cc53a4e1
i3: reallow using null to disable a keybinding 2019-01-14 22:21:42 +01:00
Robert Helgesson 55100918cc
dunst: avoid error on missing dunst process 2019-01-14 00:04:50 +01:00
Robert Helgesson faee571850
dunst: kill daemon on configuration change
Since Dunst is DBus activated it is OK to simply kill it since DBus
will restart it when necessary.
2019-01-13 23:48:20 +01:00
Nikita Uvarov 5d63abb473
i3: fix default keybindings override
All default keybindings should have a default priority attached to them.
This will allow users to redefine some of the default keybindings
without using mkForce. Fixes #485.
2018-12-08 15:32:30 +01:00
Nikita Uvarov d67835260d
polybar: switch from attrs to attrsOf 2018-12-05 12:14:43 +01:00
Nikita Uvarov b085344b91
dunst: switch from attrs to attrsOf 2018-12-05 12:14:40 +01:00
Nikita Uvarov c108eaba42
i3: switch from attrs to attrsOf 2018-12-05 12:00:20 +01:00
dsx 7a28f68ad0
dunst: use 'icon_path' instead of 'icon_folders'
The 'icon_folders' option is deprecated.
2018-12-05 00:05:06 +01:00
dsx 15bca92b2c
i3: support for workspace_layout option 2018-12-01 01:01:35 +01:00
dsx 71f6bc41eb
i3: support for bar tray_output option 2018-12-01 00:53:16 +01:00
Robert Helgesson 6d2f16a7ae
pasystray: add paprefs and pavucontrol
This enables the "volume control" and "control local sound server"
menu options.

Fixes #461
2018-11-30 23:43:26 +01:00
Wael M. Nasreddine 9686d93ff6
keybase: install the keybase package 2018-11-29 00:51:58 +01:00
Manuel Bärenz ffdbefe22c
nextcloud-client: add module
Adds the nextcloud-client as a service, simply copying the syntax from owncloud.client.
2018-11-25 23:13:13 +01:00
Robert Helgesson abfc37076a
compton: minor reformatting 2018-11-15 00:28:52 +01:00
Robert Helgesson 9a0f388f66
compton: fix corrupt colors under Mesa 18
Fixes #441
2018-11-15 00:28:50 +01:00
Will Dietz 0cfd21cc15
compton: drop no-dock-blur option, add dock and dnd shadow
no-dock-blur doesn't exist in compton and was added by mistake.
2018-10-14 12:13:57 +02:00
Daniël de Kok 05a98b6be0 mbsync: change service unit type to 'oneshot'
The ExecStartPost command is currently started when the mbsync is
invoked succesfully. However, we typically want to run something like
'mu index' or 'notmuch new' after mbsync completes.  This changes the
unit type to oneshot, so that the ExecStartPost command is run after
mbsync finishes succesfully.
2018-10-13 19:28:40 +02:00
Edward Betts 36da7a918f
Correct spelling mistakes 2018-10-02 22:41:08 +02:00