Commit graph

565 commits

Author SHA1 Message Date
Robert Helgesson e9942375ce
tests: bump nmt to latest
(cherry picked from commit bb64012914)
2019-02-11 01:20:29 +01:00
Nadrieril e6bc17e7fb
i3: reallow using null to disable a keybinding
(cherry picked from commit d5cc53a4e1)
2019-02-11 01:20:29 +01:00
Robert Helgesson 9f013a8fb8
dunst: avoid error on missing dunst process
(cherry picked from commit 55100918cc)
2019-01-14 18:40:51 +01:00
Robert Helgesson 3c429c2462
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.

(cherry picked from commit faee571850)
2019-01-14 18:40:51 +01:00
hyperfekt f60f0c647f
fish: autogenerate completions from man pages
(cherry picked from commit 6f422785c3)
2019-01-14 18:40:51 +01:00
David Guibert 6d8a296625
msmtp: add extraConfig account option
This patch allow to define custom msmtp options per email account. For
example: to change the "auth" method from "on" to "login", add
`msmtp.extraConfig.auth="login"`.

(cherry picked from commit a7affc93ba)
2019-01-14 18:40:51 +01:00
Marcial Gaißert 2d77421d7c
programs.zsh: option localVariables
Add option "extraLocalVars" for additional local variable definitions
in .zshrc, at the top of the file.

Some zsh plugins/themes expect configuration in local variables before they
are loaded (example: https://github.com/bhilburn/powerlevel9k). Exporting
those clutters the environment and is unnecessary.

(cherry picked from commit 9052131aef)
2019-01-14 18:40:51 +01:00
Marcial Gaißert 257dcbcd8a
programs.zsh: generate export statements in zsh syntax
Use the new module lib.zsh to generate export statements in zsh syntax, using
zsh arrays for lists.

Being a zsh script, this seems more intuitive for .zshrc

(cherry picked from commit 6b5e0efd1e)
2019-01-14 18:40:50 +01:00
Marcial Gaißert f221e4935d
lib.zsh: add module
Added utilities to generate export statements and definitions for zsh scripts.

Currently, there is only lib.shell which generates export statements in bash
syntax. However, this does not allow to generate export statements for zsh
arrays (syntax: NAME=(elem1 elem2 ...) ), which would be the natural
representation of lists in the nix language.

(cherry picked from commit 62eb7ebeba)
2019-01-14 18:40:50 +01:00
Wael M. Nasreddine 29161b6e21
autorandr: add support for xrandr transformation
(cherry picked from commit c48fd9d842)
2019-01-14 18:40:50 +01:00
Robert Helgesson 9e913a9a30
texlive: always require at least one extra package
Fixes #526

(cherry picked from commit e150dd4a66)
2019-01-14 18:40:50 +01:00
Olli Helenius e57e34f799
gnome-terminal: enable VTE OSC7 support for bash and zsh
(cherry picked from commit b3d73e0aff)
2019-01-14 18:40:50 +01:00
Olli Helenius af94896ba1
Address review comments
(cherry picked from commit 16946a6f00)
2019-01-14 18:40:50 +01:00
Olli Helenius 8026e4ff6f
zsh: add default keymap configuration
(cherry picked from commit a4383075af)
2019-01-14 18:40:50 +01:00
Robert Helgesson ad0b33387d
emacs: make finalPackage option more accessible
Instead of "internal" mark it as "invisible".

(cherry picked from commit 20a60be550)
2019-01-14 18:40:49 +01:00
Mario Rodas c67d2a916f
opam: add module
(cherry picked from commit 7afefcf75d)
2019-01-14 18:40:49 +01:00
Robert Helgesson 82ed4dae2a
dconf: add some information of use under NixOS
(cherry picked from commit 40b3443c8f)
2019-01-14 18:37:51 +01:00
Robert Helgesson 7e65605d8f
gtk: remove option gtk.gtk3.waylandSupport
(cherry picked from commit cc964b4609)
2019-01-14 18:37:51 +01:00
Robert Helgesson be7017b9c8
gtk: make gtk.gtk2 and gtk.gtk3 not submodules
(cherry picked from commit 370a84192e)
2019-01-14 18:37:51 +01:00
Robert Helgesson 5b66b89d6e
gtk: use dconf module for settings
(cherry picked from commit 4104ff2b6a)
2019-01-14 18:37:50 +01:00
Robert Helgesson 1e7fbde1be
gnome-terminal: use dconf module for settings
(cherry picked from commit a0162dacf6)
2019-01-14 18:37:50 +01:00
Robert Helgesson 54fc5f778b
dconf: add module
This module allows unified configuration of dconf settings.

(cherry picked from commit b2cc186d22)
2019-01-14 18:37:46 +01:00
Robert Helgesson f60f9c4bb6
readme: add notice that relog may be needed
Also add instructions for non-NixOS users to add the user channel
directory to `NIX_PATH`.

(cherry picked from commit 235a6617c4)
2019-01-14 18:36:50 +01:00
Robert Helgesson 944c12dbbb
modules: support conditional module inclusion
Also make use of this functionality for the `programs.chromium`
module.

See #501

(cherry picked from commit 218a8c4d90)
2019-01-14 18:36:50 +01:00
hyperfekt 17fd9cbbd0
vscode: add module
(cherry picked from commit 6ab6488e5a)
2019-01-07 18:35:39 +01:00
Robert Helgesson dc9be1eee6
emacs: add overrides option
This option enables overriding packages within the generated Emacs
package set.

Fixes #486

(cherry picked from commit e68d6e7924)
2018-12-24 11:20:25 +01:00
Olli Helenius c2cff13f15
jq: add module
(cherry picked from commit dc72aa2305)
2018-12-24 11:20:08 +01:00
Lorenzo e267dfea2d
readme: fix .gitconfig example
The example was referencing `~/.gitconfig`, which isn't being checked
anymore since 356c0bf751.

(cherry picked from commit 93b10bcf3c)
2018-12-12 00:56:40 +01:00
Lorenzo Manacorda 461869b438
readme: clarify bash/zsh compatibility
Makes it clearer that the compatibility mentioned only relates to the
manual loading approach.

(cherry picked from commit 4971e3735e)
2018-12-12 00:56:40 +01:00
Robert Helgesson 1484b1d48b
tests: add initial test framework
(cherry picked from commit 6d56abcec1)
2018-12-12 00:56:40 +01:00
Nikita Uvarov d5e21feebb
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.

(cherry picked from commit 5d63abb473)
2018-12-12 00:56:40 +01:00
Robert Helgesson cb29a29055
doc: add installation instructions to manual
Also minor cleanups in README.

(cherry picked from commit 6e67bb7ae6)
2018-12-12 00:56:40 +01:00
Nikita Uvarov c2646f9f2b
polybar: switch from attrs to attrsOf
(cherry picked from commit d67835260d)
2018-12-06 00:32:53 +01:00
Nikita Uvarov 48ba1010ab
dunst: switch from attrs to attrsOf
(cherry picked from commit b085344b91)
2018-12-06 00:32:53 +01:00
Nikita Uvarov b837f8ae41
i3: switch from attrs to attrsOf
(cherry picked from commit c108eaba42)
2018-12-06 00:32:52 +01:00
dsx 0312cb611e
ssh: add addressFamily option
(cherry picked from commit 6ce3ce69b9)
2018-12-06 00:32:52 +01:00
Robert Helgesson 3b7f74ab87
ssh: add certificateFile option
(cherry picked from commit 6826521ec5)
2018-12-06 00:32:52 +01:00
Robert Helgesson c9945550de
ssh: realign options
(cherry picked from commit 5fe62660aa)
2018-12-06 00:32:52 +01:00
dsx a471c62bf2
dunst: use 'icon_path' instead of 'icon_folders'
The 'icon_folders' option is deprecated.

(cherry picked from commit 7a28f68ad0)
2018-12-06 00:32:52 +01:00
Robert Helgesson 1e2d80a583
rofi: switch from types.string to types.str
(cherry picked from commit ea9d44bede)
2018-12-06 00:32:52 +01:00
Robert Helgesson 159ee7a269
newsboat: switch from types.string to types.str
(cherry picked from commit fd3692b36f)
2018-12-06 00:32:52 +01:00
Robert Helgesson ab562d4c2a
autorandr: switch from types.string to types.str
(cherry picked from commit cd7b6fdbc1)
2018-12-06 00:32:52 +01:00
zimbatm 3646088248
home-manager: add edit command
With this change, running

    home-manager edit

opens `$HOME_MANAGER_CONFIG` in `$EDITOR`.

This is mainly for convenience. Users should not have to remember the
exact location of the Home Manager configuration.

(cherry picked from commit 571e17410a)
2018-12-06 00:32:51 +01:00
Robert Helgesson 371715a51c
beets: add enable option
(cherry picked from commit 797fbbf826)
2018-12-06 00:32:47 +01:00
Robert Helgesson c4a9546831
Change installation instructions to use nix-channel
This avoids the uncontrollable nature of fetching the tarball as part
of the evaluation. Instead the user can decide when to update and also
perform rollbacks, if necessary.

(cherry picked from commit a37b5c9c61)
2018-12-06 00:31:54 +01:00
Wael M. Nasreddine 88c681606b
home-manager: import modules using relative path
(cherry picked from commit 30f3baabaf)
2018-12-06 00:31:54 +01:00
Robert Helgesson 63668b2172
readme: switch stable channel to 18.09
(cherry picked from commit ef29f321e0)
2018-12-06 00:31:54 +01:00
dsx 0686063f62
i3: support for workspace_layout option
(cherry picked from commit 15bca92b2c)
2018-12-06 00:31:53 +01:00
dsx 4a574ca544
i3: support for bar tray_output option
(cherry picked from commit 71f6bc41eb)
2018-12-06 00:31:53 +01:00
Robert Helgesson f4af8151de
pasystray: add paprefs and pavucontrol
This enables the "volume control" and "control local sound server"
menu options.

Fixes #461

(cherry picked from commit 6d2f16a7ae)
2018-12-06 00:31:53 +01:00