Commit graph

468 commits

Author SHA1 Message Date
Robert Helgesson f34e5f1c6c
lib: copy module from NixOS
Importing the module directly from NixOS causes the documentation to
break, in particular the "Declared by" section.

Fixes #405

(cherry picked from commit 9b3122e92c)
2018-10-05 17:39:10 +02:00
Mario Rodas d268605244
bash: fix bashrcExtra interactive shell test
To determine if bash is running interactively test whether "$-"
contains "i".

See: https://www.gnu.org/software/bash/manual/html_node/Is-this-Shell-Interactive_003f.html
(cherry picked from commit a1a7e7cd24)
2018-10-05 17:39:10 +02:00
Robert Helgesson 091f52197d
xresources: remove unnecessary parentheses
(cherry picked from commit 6957911657)
2018-09-24 23:54:48 +02:00
Robert Helgesson 68228fce93
xresources: run xrdb -merge on change
Fixes #400

(cherry picked from commit 7cc36b7703)
2018-09-24 23:54:48 +02:00
Matthieu Coudron 26b16162b7
accounts.emails: adding gpg/signature modules
(cherry picked from commit 9407b42f97)
2018-09-24 23:54:48 +02:00
Matthieu Coudron b17b760755
mbsync: add options extraConfig.{channel|local|remote}
To allow supporting more advanced configurations. The local refers to
the "maildir store" configuration, remote to the "IMAP store", and
"channel" to the channel.

(cherry picked from commit 151f29a17a)
2018-09-24 23:54:48 +02:00
Roman Volosatovs 9d7f7fe3a8
go: Fix package example
(cherry picked from commit f7dc354f42)
2018-09-24 23:54:48 +02:00
Robert Helgesson b19478d820
taffybar: fix indentation
(cherry picked from commit 4d870f665b)
2018-09-24 23:54:47 +02:00
Roman Volosatovs e11f110b4b
go: add module
(cherry picked from commit 0635423e73)
2018-09-24 23:54:44 +02:00
Robert Helgesson 451f376231
xsession: add option xsession.scriptPath
This option allows overriding the default script path `~/.xsession`.
On NixOS, this is needed to allow multiple possible graphical login
sessions.

Fixes #391.

(cherry picked from commit 9f0fdc68a9)
2018-09-24 23:53:55 +02:00
Robert Helgesson f3c02513a9
Remove unnecessary dag variables
Also remove a few trailing whitespaces.

(cherry picked from commit 701b4130bd)
2018-09-24 23:53:55 +02:00
Adam Washington 85cd97e616
zathura: add module
Add the zathura document viewer as a program option with support for
managing the zathurarc configuration file.

(cherry picked from commit d27bccdff1)
2018-09-24 23:53:55 +02:00
Minijackson b641138602
taskwarrior: add module
(cherry picked from commit 5ff03ce5ac)
2018-09-24 23:53:55 +02:00
Nikita Uvarov 310b604f92
vim: improve instructions for listing available plugins
(cherry picked from commit 6eea2a409e)
2018-09-24 23:53:54 +02:00
Robert Helgesson 94fad32e41
emacs: add internal finalPackage option
(cherry picked from commit 50de1a6885)
2018-09-14 22:24:02 +02:00
gnidorah 163588b61b
i3 module: add missing pieces to default config
(cherry picked from commit 055d100548)
2018-09-11 19:45:58 +02:00
Robert Helgesson 8d2cb0ef9b
fish: minor formatting fixes 2018-09-09 21:18:39 +02:00
gnidorah 2bff6e5188
fish module: envoke hm-session-vars.sh 2018-09-09 21:17:13 +02:00
Matthieu Coudron 453d0494fb
notmuch: synchronize_flag should be "true"
...and not "True"

According to doc https://notmuchmail.org/manpages/notmuch-config-1/

It also causes a crash in astroid :
https://github.com/astroidmail/astroid/issues/546
2018-09-07 19:38:39 +02:00
gnidorah 97c6073d39
i3 module: fonts option for bar section 2018-09-06 17:09:47 +02:00
Roman Volosatovs 9fe6fa7f44
neovim: add vi{,m}Alias options 2018-09-04 07:32:01 +02:00
Mario Rodas 7699ed3fc8
email: fix port setting for flavor gmail.com
See https://support.google.com/mail/answer/7126229.
2018-09-02 12:07:30 +02:00
Matthieu Coudron 5eca556fe7
offlineimap: add module
OfflineIMAP is a Mail Retrieval Agent (MRA) like mbsync but written in
Python.
2018-08-30 18:57:35 +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
Robert Helgesson 859c132ee2
home-manager: enable build output during switch
Fixes #352
2018-08-28 00:17:57 +02:00
adisbladis 99a0e2469b
direnv: add fish support 2018-08-27 22:52:53 +02:00
Mogria 2548c43175
fzf: add options for setting commands for all keys
This allows you to specify your own custom commands
to be run when calling fzf. You might use tools like
fd to search faster and take `.gitignore` files into
consideration.
2018-08-23 23:22:53 +02:00
Anton Plotnikov 90bcaaf582
pasystray: add module 2018-08-22 23:17:47 +02:00
Tad Fisher da8307cd26
chromium: parseDrvName quick fix 2018-08-22 23:13:54 +02:00
Matthieu Coudron cfa06c3f38
msmtp: add module
msmtp is a simple mail transfer agent (MTA).
2018-08-21 00:22:51 +02:00
Robert Helgesson 906965b48b
Revert "email: note that passwordCommand should output '\n'"
This reverts commit d5bbbbd41d.

This was premature, the example will not emit a terminal newline and
it is not clear whether it is a good idea to force this limitation.
2018-08-21 00:19:33 +02:00
Robert Helgesson d5bbbbd41d
email: note that passwordCommand should output '\n'
This is because some programs, for example msmtp, expect the output to
end with a newline character.
2018-08-20 22:47:49 +02:00
Robert Helgesson 8e05229e62
Add initial GitLab CI configuration
This will automatically build and publish the Home Manager manual on
GitLab Pages.
2018-08-20 22:03:26 +02:00
Matthieu Coudron 7a8d50a803
xdg: create $XDG_CACHE_HOME
Some programs fail silently (bash with HISTFILE for instance) when the
folder doesn't exist.
2018-08-20 20:37:26 +02:00
Robert Helgesson 6630cfbe16
chromium: only enable for the linux platform 2018-08-20 07:11:00 +02:00
Tad Fisher dd25fbcb4b
chromium: add module 2018-08-19 22:46:30 +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
Vincent Demeester 29191eb2c7
fish: add module
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-08-17 22:32:08 +02:00
Matthieu Coudron 168d546304
accounts.mail: add "gmail.com" as a flavor
To help with some autoconfiguration.
2018-08-16 23:46:27 +02:00
Robert Helgesson 34133ca7f3
accounts.email: add global certificatesFile option
This defaults to `/etc/ssl/certs/ca-certificates.crt` and will be
picked up as default by the account specific option.
2018-08-16 23:29:10 +02:00
Robert Helgesson 4b32f16747
Use submodules for program email accounts
This reworks the way program specific email account options are
specified. In particular, we no longer use the deprecated `options`
field of `mkOption`. Instead submodules are used.
2018-08-16 21:37:42 +02:00
Robert Helgesson 99c900946d
Avoid substitution for some derivations
In particular, don't bother attempting to do substitution of the home
files and home generation derivations since these rarely, if ever,
could be substituted.

Fixes #330
2018-07-31 21:16:36 +02:00
Robert Helgesson 39213a1847
home-manager: fix work directory when building generation 2018-07-31 21:05:05 +02:00
Malte Brandy c18b1328a5
Parametrize path to profile directory 2018-07-31 16:04:19 +02:00
Robert Helgesson 93ef6aefce
direnv: add module 2018-07-31 15:48:08 +02:00
Anton Plotnikov 2e9e1909da
status-notifier-watcher: add service 2018-07-31 15:33:57 +02:00
Robert Helgesson 4f67e8d0c3
home-manager: fix GC issue
It was previously possible to create the news information and lose it
in a Nix GC before being able to view it. This also causes a switch to
error out. This change makes the news information a root in the
garbage collector.

Note, this change also removes the need for `nix eval` so the
`doBuildAttr` function is simplified accordingly.

Fixes #327
2018-07-31 13:42:56 +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