Commit graph

1137 commits

Author SHA1 Message Date
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 d6b36f12ff
keyboard: make the model option optional
Also, actually use it in the call to setxkbmap.
2019-09-05 01:56:14 +02:00
Robert Helgesson 824d31a21c
keyboard: make layout and variant optional
Also default these options to `null` for state version ≥ 19.09.

Fixes #811

Suggested-by: Sean Marshallsay <srm.1708@gmail.com>
2019-09-05 01:56:06 +02:00
Robert Helgesson 0083087e01
xsession: verify setxkbmap service in test 2019-09-05 01:32:53 +02:00
Robert Helgesson 1923ac3358
rofi: add test to verify assertion 2019-09-04 12:52:14 +02:00
Robert Helgesson 698d0f0a44
polybar: restart service on failure 2019-09-03 23:51:23 +02:00
Alex Rice ec0459e139
rofi: string -> str 2019-09-03 01:25:24 +01:00
dawidsowa d5e73c39fc
mpv: add scripts option 2019-09-02 18:23:17 +02:00
Robert Helgesson a144c723a1
doc: surround name? with fancier characters 2019-09-01 21:28:40 +02:00
Robert Helgesson a28614e65d
git: deprecate extraConfig as string 2019-08-30 14:50:10 +02:00
Robert Helgesson 8ab1d22a82
home-manager: support --option argument
Fixes #784
2019-08-30 00:52:09 +02:00
Tobias Happ b6289f7022 vim: always add sensible plugin 2019-08-29 23:18:11 +02:00
Robert Helgesson 875eea1330
systemd: fix unit examples
Closes #823
2019-08-29 19:12:39 +02:00
Robert Helgesson 7c76ae1814
manual: add nmd as a generation dependency
This is to allow network-less rebuilding of a generation after a
garbage collection.

Fixes #819
2019-08-28 20:36:11 +02:00
Tobias Happ c142e5264d
neovim: add extraConfig and plugins options 2019-08-28 12:35:48 +02:00
Tobias Happ 5d7eabb93f
neovim: add finalPackage option as readOnly 2019-08-28 12:25:06 +02:00
Tobias Happ f1146a1fef
vim: allow packages to be passed as plugins
This change allows to pass custom packages into the `vim.plugins`
option.

Additionally this adds a deprecation warning and an error message if a
vim plugin is not present. This is an improvement because the user
gets instant feedback, when a plugin is not found.
2019-08-28 12:18:24 +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 db86bd6c01
doc: update nmd
Also perform scrubbing of `pkgs` since nmd no longer does this
automatically.
2019-08-27 23:40:52 +02:00
Robert Helgesson 13fa61744c
doc: minor grammar fix 2019-08-26 23:14:51 +02:00
Robert Helgesson 8fe4e0879c
home-manager: support a few extra pass-through options
These options will be passed through to the `nix-build` tool.
2019-08-26 23:06:36 +02:00
Robert Helgesson 6bec9547c6
home-manager: exit directly after printing help 2019-08-26 23:06:36 +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 7159c293af
gitlab-ci: fix deployment of manual 2019-08-21 23:00:04 +02:00
Robert Helgesson eb0ccf7286
docs: use nmd for generating documentation
The nmd library is an external library for generating Nix-centric
documentation.
2019-08-21 20:35:59 +02:00
Robert Helgesson 35752e07fa
kakoune: add missing period at end of description 2019-08-21 20:34:43 +02:00
Robert Helgesson 57925c50bf
nixpkgs: improve description formatting slightly 2019-08-21 20:20:08 +02:00
Tobias Happ 0e871b490e
ssh: add localForwards option for matchBlocks 2019-08-20 12:11:00 +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
Robert Helgesson 8830b8d082
gitlab-ci: only run a single test
Unfortunately the full test suite seems to run out of memory on the
GitLab CI runner.
2019-08-18 21:33:56 +02:00
Robert Helgesson 73641e492c
firefox: use wrapped package
This makes the

    programs.firefox.package

option take a pre-wrapped Firefox package as value if state version is
set to "19.09" or later. This should make the Firefox module work with
a wider range of Firefox packages.
2019-08-18 18:04:04 +02:00
Robert Helgesson c2429ca0cf
nix-darwin: pass on warnings to the system configuration 2019-08-18 17:37:26 +02:00
Robert Helgesson 7834ffbbf1
nixos: pass on warnings to the system configuration
Fixes #804
2019-08-18 17:35:42 +02:00
Robert Helgesson fa82ced414
nixos: use non-deprecated fontconfig option 2019-08-18 17:35:41 +02:00
Tobias Happ 9cc30b18f7
nixos: add backup file extension and verbosity options 2019-08-18 17:19:39 +02:00
Tobias Happ db0dfb4b08
dwm-status: add module 2019-08-18 16:23:31 +02:00
Robert Helgesson 5eed33ef08
emacs: document how to list available extra packages 2019-08-18 13:34:26 +02:00
pacien 31ae1bc2ff
alot: fix account extraConfig section 2019-08-18 12:00:38 +02:00
Robert Helgesson 6932e6330e
muchsync: add news entry 2019-08-17 14:25:15 +02:00
pacien a124dae35a muchsync: add module 2019-08-17 20:08:11 +09:00
Tobias Happ 5203340b64 zsh: add envExtra option 2019-08-16 17:00:08 +09:00
Tobias Happ ed0e40dee8 zsh: add initExtraBeforeCompInit config option
The new initExtraBeforeCompInit option enables the user to inject
commands in zshrc before compinit is executed.
2019-08-16 16:57:52 +09:00
Tobias Happ 8b759c24e6 bash: add logoutExtra option 2019-08-16 16:46:38 +09:00
paumr 1499b85ac6 alot: added send/draf_box to configuration file 2019-08-16 16:27:28 +09:00
Robert Helgesson fcdab6a62d
install: restrict to nix-shell
This commit adds a "build" command to the install derivation that
tells the user that `nix-shell` should be used.

A derivation attribute `shellHookOnly = true` is also added with the
intent to indicate that the shell hook is the entire point of the
derivation.
2019-08-15 23:23:43 +02:00
Tobias Happ 5c94538c7d
numlock: set RemainAfterExit for numlockx.service 2019-08-15 11:53:34 +02:00
Tobias Happ 2eae9daae7
xsession: set RemainAfterExit for setxkbmap.service 2019-08-15 11:53:34 +02:00