Commit graph

1288 commits

Author SHA1 Message Date
Blaž Hrastnik 0654364426
waybar: fix systemd service
The current definition makes waybar wait for dbus.service, but that
never happens because dbus.service is started on demand by
dbus.socket.

Per systemd docs:
  https://www.freedesktop.org/software/systemd/man/systemd.service.html#Implicit%20Dependencies

- Services with Type=dbus set automatically acquire dependencies of
  type Requires= and After= on dbus.socket.

- Socket activated services are automatically ordered after their
  activating .socket units via an automatic After= dependency.
  Services also pull in all .socket units listed in Sockets= via
  automatic Wants= and After= dependencies.

Removing Requisite/After makes the service properly start for me,
simply specifying Type=dbus is enough.

See #1370
2020-12-01 23:07:39 +01:00
Robert Helgesson 0027b0e76b
gitlab-ci: use nixos-unstable channel 2020-12-01 22:46:22 +01:00
Matthias Riße 33407189c1
wlsunset: add module
This adds the wlsunset module, a program for day/night gamma
adjustments on wayland.

Fixes #1625
2020-12-01 21:46:46 +01:00
Nicolas Berbiche 44f9d68d8c
treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
Robert Helgesson c1faa848c5
tests: update nmt version
Greatly reduces the memory use when running full test suite.

Fixes #1610.
2020-11-30 00:12:38 +01:00
Tyler Benster c6263347de
zsh: add initExtraFirst option 2020-11-29 19:39:47 +01:00
Terje Larsen a3a0f1289a
emacs: make service package configurable 2020-11-22 13:09:22 +01:00
Robert Helgesson 7b6ebf2785
Revert "sway: validate configuration at build time"
This reverts commit 99b75f99df. See

  https://github.com/nix-community/home-manager/issues/1613 and
  https://github.com/nix-community/home-manager/pull/1614

for associated discussions.
2020-11-17 18:45:23 +01:00
Nicolas Berbiche 6dc68b1d16
i3: validate configuration at build time
PR #1579
2020-11-16 23:51:59 +01:00
Nicolas Berbiche 99b75f99df
sway: validate configuration at build time
PR #1579
2020-11-16 23:51:34 +01:00
Nicolas Berbiche 964f698095
waybar: fix null modules-{left,center,right} error
- Change the `attrsOf unspecified` to `pkgs.formats.json`
- Add missing default modules
- Expand the `with lib` with every function used
- Add inline documentation about the generated warnings
2020-11-16 22:56:54 +01:00
Robert Helgesson 4f20ee61c2
sway: restore use of pkgs.sway
Using the final package in the `onChange` block broke some use cases.
This restores the old behavior and instead solves the test
dependencies in a different way.

Fixes #1611

This reverts commit 7c3c64208e.
2020-11-16 22:35:07 +01:00
Ashish SHUKLA 9e01441c5c
zsh: Add dirHashes option 2020-11-15 23:49:55 +01:00
Robert Helgesson 9fe15dc83b
tests: remove format meta test
This test requires copying the Home Manager checkout to the Nix store,
which seems to require too much memory for the CI jobs. Instead simply
run the format script directly.
2020-11-15 23:12:26 +01:00
Robert Helgesson b9b8a42fda
github-ci: use default max-jobs 2020-11-15 23:12:06 +01:00
Martin Toman b04aa56503
powerline-go: add zsh integration 2020-11-15 00:12:02 +01:00
Robert Helgesson cde1d33e61
sway: remove test dependency on xwayland 2020-11-14 23:49:34 +01:00
Robert Helgesson b3fdbfdf42
git: use gitMinimal in test 2020-11-14 23:18:07 +01:00
Robert Helgesson f3372bf982
kakoune: use a plugin with smaller closure size in test 2020-11-14 23:17:54 +01:00
malte-v 234de0270a
broot: improve configuration
The `invocation` is an optional attribute, so it doesn't make sense to
use it as the key in an attribute set. See

  https://dystroy.org/broot/documentation/configuration/#verb-definition-attributes

Actually, `invocation` should not be defined when one wants to rebind
a built-in verb to a different key.

Also added documentation for the `key` attribute.
2020-11-14 23:04:46 +01:00
Joe Hermaszewski 9c14bbe988
tmux: allow setting default-shell before new-session 2020-11-14 10:59:10 +01:00
Robert Helgesson 7c3c64208e
sway: use configured package in reload script
Fixes unnecessary download of the plain `sway` package.
2020-11-14 10:38:58 +01:00
Robert Helgesson b5e7817de2
zsh-prezto: remove package dependency in test 2020-11-14 10:37:35 +01:00
Robert Helgesson fe849640ad
ci: update github workflow actions 2020-11-14 10:15:12 +01:00
Robert Helgesson fd79015c0f
home-manager: pass -j to nix-build
Fixes #1596
2020-11-13 23:56:57 +01:00
Nicolas Berbiche 4cc1b77c3f
kakoune: fix tests
Following https://github.com/NixOS/nixpkgs/pull/91792
2020-11-05 21:00:22 -05:00
workflow 9e9d8ffc7c
i3status-rust: add module
This adds the i3status-rust[0] module, a replacement for i3status
written in pure Rust.

[0] https://github.com/greshake/i3status-rust
2020-11-05 23:59:47 +01:00
Robert Helgesson faca77d77d
docs: convert installation chapter to AsciiDoc 2020-11-05 22:52:20 +01:00
Robert Helgesson ef72617c4a
home-manager: add --version option 2020-11-03 23:12:24 +01:00
Robert Helgesson 249e31b656
docs: expand the issue template a bit 2020-11-03 22:46:13 +01:00
Robert Helgesson 0261950395
docs: update issue template 2020-11-03 20:29:25 +01:00
AstroSnail 1066e01707
mpv: use lib.generators to render config
There exist mpv configurations which cannot be expressed in
`programs.mpv.config` currently. For example, it is impossible to use
multiple 'profile' attributes. This commit changes the way config and
profiles are parsed, using `lib.generators.toKeyValue` and
`lib.generators.toINI`, to allow for these kinds of configurations
through the use of `listsAsDuplicateKeys`.
2020-11-03 00:28:24 +01:00
Nick Hu 61e63c10dc
parcellite: make package configurable 2020-11-03 00:12:04 +01:00
workflow 5125fc0a47
CI: update nix-install-action to v11
Release notes: https://github.com/cachix/install-nix-action/releases/tag/v11
2020-11-02 23:55:37 +01:00
Nikita Uvarov cabf9ddd98
caffeine: add service 2020-11-02 23:38:47 +01:00
Robert Helgesson 612afee126
docs: fix copy-paste mistake 2020-11-02 23:37:28 +01:00
Robert Helgesson 072a6ea333
docs: change stable from 20.03 to 20.09 2020-11-02 23:13:20 +01:00
Ivan Tham a98ec6ec15
readme: mention that Nix 2.4 is not supported
Improves experience before people manually find #1561.
2020-10-28 23:03:00 +01:00
arcnmx c8746fb588
mpd: systemd socket activation 2020-10-28 22:31:01 +01:00
arcnmx 99fbae0ec5
mpd: configurable executable package 2020-10-28 22:31:00 +01:00
Tad Fisher b5291e995f
emacs: avoid desktop file collision 2020-10-28 11:56:22 -07:00
Robert Helgesson 28eb093a1e
systemd: use listsAsDuplicateKeys
This causes list values to be emitted as a list of key-value pairs
instead of a single key-value pair where the value is space separated.

This is useful, e.g., for socket units that would like to specify more
than one `ListenStream=` address.
2020-10-25 22:55:06 +01:00
Niklas Hambüchen abaebf3b34
README: Remove dangling reference to IcedTea 2020-10-25 19:44:12 +01:00
arcnmx 9bf1f40af1
xdg: disambiguate home.file attribute names 2020-10-22 23:51:01 +02:00
Tobias Happ 22a3a5651d
gh: add module 2020-10-22 23:36:15 +02:00
Milan Pässler 308ee310de
gammastep: add module
Fixes #1396
2020-10-22 23:11:43 +02:00
Nicolas Berbiche 0778a80ee0
waybar: use Nixpkgs maintainers entry
I recently had my first package added to Nixpkgs and am now in the
official list of maintainers so this information is no longer required
here.
2020-10-22 22:57:58 +02:00
Robert Helgesson 10df7a7eee
Merge PR #1560 2020-10-22 22:52:06 +02:00
zimbatm 9cf5f764e1
tree-wide: update link to the doc 2020-10-22 22:41:56 +02:00
zimbatm 014d8deb60
tree-wide: update url to the repo 2020-10-22 22:41:56 +02:00