Commit graph

191 commits

Author SHA1 Message Date
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
Robert Helgesson 4d870f665b
taffybar: fix indentation 2018-09-21 00:51:23 +02:00
Robert Helgesson 701b4130bd
Remove unnecessary dag variables
Also remove a few trailing whitespaces.
2018-09-19 00:13:31 +02:00
gnidorah 055d100548 i3 module: add missing pieces to default config 2018-09-10 11:33:51 +09:00
gnidorah 97c6073d39
i3 module: fonts option for bar section 2018-09-06 17:09:47 +02:00
Robert Helgesson 4602c00dcf
polybar: minor reformatting 2018-08-29 21:46:11 +02:00
Jonathan Reeve 629d66e0b9
polybar: only quote strings if needed
Polybar expects quoted values only when whitespace is important to the
value.

Fixes #356
2018-08-29 21:42:42 +02:00
Anton Plotnikov 90bcaaf582
pasystray: add module 2018-08-22 23:17:47 +02:00
LightDiscord f9ac73732b
awesome: fix missing concatenation 2018-08-19 22:42:14 +02:00
Tad Fisher 26342588ab
gpg-agent: add extraConfig option 2018-08-19 21:46:25 +02:00
Malte Brandy c18b1328a5
Parametrize path to profile directory 2018-07-31 16:04:19 +02:00
Anton Plotnikov 2e9e1909da
status-notifier-watcher: add service 2018-07-31 15:33:57 +02:00
Andrew Scott 30cba446f2
files: add onChange option
This option allows execution of arbitrary shell code when a file that
is linked into the home directory has been changed between
generations.
2018-07-27 22:07:12 +02:00
Robert Helgesson dda65c0877
polybar: let systemd reload trigger restart 2018-07-26 18:01:35 +02:00
Robert Helgesson 6694330bb2
udiskie: use xsession.preferStatusNotifierItems 2018-07-24 12:59:56 +02:00
Robert Helgesson a5a49c350d
network-manager-applet: use xsession.preferStatusNotifierItems 2018-07-24 12:59:50 +02:00
Anton Plotnikov 29ad012763
udiskie: add sni support 2018-07-24 11:52:38 +02:00
rembo10 d3871ed774
mpd: add module 2018-07-18 22:17:26 +02:00
rembo10 34db8df6d9
redshift: enable geoclue2 2018-07-13 22:07:07 +02:00
LightDiscord e365943a70
awesome: add module 2018-07-07 17:49:11 +02:00
jD91mZM2 97ee4578c9
gpg-agent: Add maxCacheTtl(Ssh) options 2018-06-29 00:39:14 +02:00
Robin Stumm 0d3f9ba913
compton: fix syntax error 2018-06-27 15:18:30 +02:00
Nadrieril 5641ee3f94
i3: use null to disable a keybinding 2018-06-14 09:26:30 +02:00
Robert Helgesson ad634c0a94
compton: use docbook man page references 2018-06-13 23:51:53 +02:00
adisbladis 53f10f4d46
kdeconnect: add module 2018-06-05 14:58:54 +02:00
Robert Helgesson ed0cd78e05
i3: use fancy docbook markup in description 2018-06-03 20:53:07 +02:00
Lenz Weber 965bad626a
flameshot: set PATH to let Qt find plugins 2018-05-31 20:26:25 +02:00
Julien Langlois 69445cb4a0
udiskie: change package
The old package is deprecated.
2018-05-31 20:10:47 +02:00
Nikita Uvarov 30c97391d7
i3: add modifier option
This allows to easily change modifier key for default keybindings and
gives a possibility to reference specified value in other modules.

Fixes #147.
2018-05-27 20:20:00 +02:00
Nikita Uvarov cacb8d410e
i3: deprecate i3.config.startup.*.workspace option
Fixes #265.
2018-05-27 00:00:10 +02:00
Nikita Uvarov 4b388ee902
i3: fix reloading for nixos module
By default, i3-msg gets socket from X11 property
which is not available when home manager is running
as nixos module.

This patch changes i3-msg command call by specifying
all i3 sockets found in $XDG_RUNTIME_DIR/i3 folder.

Fixes #252.
2018-05-26 19:14:05 +02:00
Nikita Uvarov 74f4ed5fd2
syncthing: fix tray startup
Workaround for #249.
2018-05-04 13:08:08 +02:00
Nikita Uvarov 91725ddced
owncloud-client: fix startup
Workaround for #249.
2018-05-04 13:01:34 +02:00
Hamish Hutchings e055e4a092
flameshot: add module 2018-05-03 17:21:03 +02:00
Peter Jones f26cc3b957
mbsync: add module 2018-05-01 22:50:37 +02:00
Minijackson 9a3b1ec222
screen-locker: Add extraOptions for xss-lock and xautolock 2018-05-01 22:40:32 +02:00
Tad Fisher 581ad6fc29
kbfs: fix systemd service PATH 2018-04-18 19:01:57 +02:00
Anton Plotnikov 8ff7d934b2
Add blur options to compton 2018-04-16 08:50:28 +02:00
Anton Plotnikov 5bdebf5ab0
Add opacity-rules to compton 2018-04-16 08:50:28 +02:00
Guthrie McAfee Armstrong 96250b7ad3
Fix typo: compton.shadowOffsets description 2018-04-16 08:45:48 +02:00
Gleb Peregud 9bf9e7ac5c
gpg-agent: add enableExtraSocket and verbose options.
This option enables a GPG Agent restricted socket (aka "extra-socket"), which
can be used to forward GPG Agent over SSH.

Additionally `verbose` option enables verbose output of an `gpg-agent.service`
unit for easier debugging.

See: https://wiki.gnupg.org/AgentForwarding
2018-03-13 22:36:30 +01:00
Robert Helgesson bc50202d0d
gpg-agent: do updatestartuptty only when SSH is enabled
Inspired by #163.
2018-03-04 22:20:35 +01:00
Tad Fisher 8fc8e158e2 unclutter: add module 2018-03-03 22:54:46 -08:00
Robert Helgesson fbff38de33
xscreensaver: install the xscreensaver package
This is needed to make the xscreensaver tools available.
2018-03-01 23:21:45 +01:00
Robert Helgesson b47cc4bc66
qsyncthingtray: remove deprecated option 2018-02-26 22:30:28 +01:00
Nikita Uvarov 05ad0c9e06
i3: escape ${} in bars.command example 2018-02-19 20:17:33 +01:00
Matthieu Coudron 6d7b5c9513 i3: don't evaluate "command" example
else it attempts to build i3-gaps and fails on darwin see
https://github.com/rycee/home-manager/pull/214#issuecomment-366594833
2018-02-19 16:28:30 +09:00
Nikita Uvarov de001e05da
i3: add missing bar options
New options are: id, commmand, workspaceNumbers, colors.
Fixes #210.
2018-02-18 20:58:52 +01:00
Robert Helgesson 9ea353569a
Remove deprecated option home.sessionVariableSetter 2018-02-08 22:54:29 +01:00
Alistair Potts 91a98f919d
stalonetray: add module
Adds a service for the Stalonetray system tray.

Configured through a 'config' attribute set, which writes space
separated key value pairs on successive lines to `~/.stalonetrayrc`.
2018-02-03 10:44:37 +01:00
Robert Helgesson 6fc0fd315c
syncthing: allow enabling tray independently 2018-02-01 06:59:22 +01:00
Nikita Uvarov 8b77f1db2c
syncthing: start tray service after bars
The QSyncthingTray service requires running tray providers such as
polybar and taffybar.
2018-01-27 17:18:39 +01:00
Nikita Uvarov a597c66afe
syncthing: merge qsyncthingtray into the module 2018-01-25 21:52:01 +01:00
Nadrieril 38020d9068
redshift: add option to start redshift tray applet 2018-01-22 19:09:13 +01:00
Nikita Uvarov 1b0a5eb54a
polybar: fix the case when config value is a path
Polybar treats 'include-file' property differently.
In particular, its value can't be enclosed in
double quotes. Fixes #185.
2018-01-21 21:01:26 +01:00
André-Patrick Bubel 071f7aea82
qsyncthingtray: add module 2018-01-20 11:51:39 +01:00
Robert Helgesson 576217d33a
gpg-agent: use gpgconf to set SSH socket path
Inspired by #163.
2018-01-14 15:58:59 +01:00
Robert Helgesson f0d207f380
Add dag library to config.lib
Also replace all imports of `dag.nix` by the entry in `config.lib`.
2017-12-26 17:27:21 +01:00
Silvan Mosberger 0be32c9d42
xmonad: make package lower priority
This avoids a conflict for when the user has an xmonad package
installed through `haskellPackages.ghcWithPackages`, which is
necessary for wanting to load the xmonad config with ghc.
2017-12-08 11:48:05 +01:00
Gleb Peregud aa1bf31bcb
parcellite: add module
This adds a Parcellite service. It has no configuration options, since
the app has its own mutable preferences dialog, which unconditionally
replaces `~/.config/parcellite/parcelliterc` when preferences are
saved.
2017-12-08 00:40:28 +01:00
Roman Volosatovs c023b0532a
gpg-agent: add missing options 2017-12-02 19:44:53 +01:00