Commit graph

709 commits

Author SHA1 Message Date
Marcial Gaißert 62eb7ebeba
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.
2019-01-11 10:26:12 +01:00
Wael M. Nasreddine c48fd9d842
autorandr: add support for xrandr transformation 2019-01-10 01:39:01 +01:00
Robert Helgesson e150dd4a66
texlive: always require at least one extra package
Fixes #526
2019-01-09 02:09:23 +01:00
Olli Helenius b3d73e0aff
gnome-terminal: enable VTE OSC7 support for bash and zsh 2019-01-08 23:14:55 +01:00
Olli Helenius 16946a6f00
Address review comments 2019-01-03 10:51:37 +01:00
Olli Helenius a4383075af
zsh: add default keymap configuration 2019-01-03 10:51:37 +01:00
Robert Helgesson 20a60be550
emacs: make finalPackage option more accessible
Instead of "internal" mark it as "invisible".
2019-01-03 02:15:17 +01:00
Mario Rodas 7afefcf75d
opam: add module 2018-12-28 13:33:13 +01:00
Robert Helgesson 40b3443c8f
dconf: add some information of use under NixOS 2018-12-24 18:36:55 +01:00
Robert Helgesson e3167068d9
Merge PR #436 2018-12-24 17:35:48 +01:00
Robert Helgesson cc964b4609
gtk: remove option gtk.gtk3.waylandSupport 2018-12-24 17:26:34 +01:00
Robert Helgesson 370a84192e
gtk: make gtk.gtk2 and gtk.gtk3 not submodules 2018-12-24 17:26:34 +01:00
Robert Helgesson 4104ff2b6a
gtk: use dconf module for settings 2018-12-24 17:26:34 +01:00
Robert Helgesson a0162dacf6
gnome-terminal: use dconf module for settings 2018-12-24 17:26:34 +01:00
Robert Helgesson b2cc186d22
dconf: add module
This module allows unified configuration of dconf settings.
2018-12-24 17:26:34 +01:00
Robert Helgesson 235a6617c4
readme: add notice that relog may be needed
Also add instructions for non-NixOS users to add the user channel
directory to `NIX_PATH`.
2018-12-23 10:55:30 +01:00
Robert Helgesson 218a8c4d90
modules: support conditional module inclusion
Also make use of this functionality for the `programs.chromium`
module.

See #501
2018-12-22 23:57:00 +01:00
Robert Helgesson e68d6e7924
emacs: add overrides option
This option enables overriding packages within the generated Emacs
package set.

Fixes #486
2018-12-17 23:01:43 +01:00
Olli Helenius dc72aa2305
jq: add module 2018-12-12 22:02:51 +01:00
Lorenzo 93b10bcf3c
readme: fix .gitconfig example
The example was referencing `~/.gitconfig`, which isn't being checked
anymore since 356c0bf751.
2018-12-12 00:17:09 +01:00
Lorenzo Manacorda 4971e3735e
readme: clarify bash/zsh compatibility
Makes it clearer that the compatibility mentioned only relates to the
manual loading approach.
2018-12-12 00:15:54 +01:00
Robert Helgesson 6d56abcec1
tests: add initial test framework 2018-12-11 00:57:58 +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
Robert Helgesson 6e67bb7ae6
doc: add installation instructions to manual
Also minor cleanups in README.
2018-12-06 00:57:49 +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 6ce3ce69b9
ssh: add addressFamily option 2018-12-05 00:24:34 +01:00
Robert Helgesson 6826521ec5
ssh: add certificateFile option 2018-12-05 00:19:40 +01:00
Robert Helgesson 5fe62660aa
ssh: realign options 2018-12-05 00:14:15 +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
Robert Helgesson ea9d44bede
rofi: switch from types.string to types.str 2018-12-04 23:43:12 +01:00
Robert Helgesson fd3692b36f
newsboat: switch from types.string to types.str 2018-12-04 23:42:30 +01:00
Robert Helgesson cd7b6fdbc1
autorandr: switch from types.string to types.str 2018-12-04 23:41:42 +01:00
zimbatm 571e17410a
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.
2018-12-04 23:17:19 +01:00
Robert Helgesson 797fbbf826
beets: add enable option 2018-12-04 23:03:23 +01:00
Robert Helgesson a37b5c9c61
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.
2018-12-04 00:59:52 +01:00
Wael M. Nasreddine 30f3baabaf
home-manager: import modules using relative path 2018-12-04 00:39:34 +01:00
Robert Helgesson ef29f321e0
readme: switch stable channel to 18.09 2018-12-03 01:06:12 +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
zimbatm 40b279e3a3
ssh: tweak default controlPath
Instead of using the hostname `%h`, which can be changed by the
~/.ssh/config file, use the commandline-given hostname `%n`.

This allows to alias a host with different hostnames, which then point
to different configurations. A common use-case for this is if you have
multiple accounts on github with each access to different private repos:

    Host github.com
      IdentitiesOnly yes
      User git
      IdentityFile ~/.ssh/id_rsa

    Host customer.github.com
      IdentitiesOnly yes
      User git
      IdentityFile ~/.ssh/customer
      HostName github.com

Without this change, if a connection was established with the first
github.com alias, then the user would try to pull a repo from the second
account, ssh would re-use the SSH connection which doesn't have access
to that repository.
2018-11-30 00:13:50 +01:00
Lee Henson 5d8b089188
neovim: support withNodeJs option 2018-11-29 00:54:27 +01:00
Wael M. Nasreddine 9686d93ff6
keybase: install the keybase package 2018-11-29 00:51:58 +01:00
zimbatm 67ebe16b40
termite: setup the shell hook
This fixes Ctrl+Shift+T not working.
2018-11-26 21:28:06 +01:00
hyperfekt 6ab6488e5a
vscode: add module 2018-11-26 00:01:01 +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
zimbatm 456e2d7ed5
ssh: add more options 2018-11-25 22:46:06 +01:00
Robert Helgesson fa3d1f98e0
astroid: require notmuch synchronize flags 2018-11-25 13:53:45 +01:00