Commit graph

718 commits

Author SHA1 Message Date
Robert Helgesson 57ede1369f
emacs: use lib.hm.types instead of explicit import 2020-01-26 11:26:33 +01:00
Robert Helgesson 95c8007b8f
xresources: improve properties option example
Fixes #1001
2020-01-21 22:27:57 +01:00
Ashish SHUKLA 805d82e1be
ssh: make certificateFile similar to identityFile
PR #998
2020-01-21 21:10:11 +01:00
Robert Helgesson 6e4b9af080
Switch to extended Nixpkg's lib
This change makes use of the `extend` function inside `lib` to inject
a new `hm` field containing the Home Manager library functions. This
simplifies use of the Home Manager library in the modules and reduces
the risk of accidental infinite recursion.

PR #994
2020-01-21 20:47:04 +01:00
0x6d6178 c8323a0bf1
xdg-user-dirs: fix typo in option name
Fixes #985
PR #987
2020-01-17 23:55:27 +01:00
Robert Helgesson 4b04050953
Merge PR #991 2020-01-16 00:29:57 +01:00
Robert Helgesson f65510b1d1
home-environment: make home.activation public
Also improve documentation and add an example.
2020-01-16 00:16:35 +01:00
Robert Helgesson 7f87329fca
home-environment: use DAG type in activation option 2020-01-16 00:16:35 +01:00
Robert Helgesson 6c127efb2d
lib: add type generators dagOf and listOrDagOf
Given an inner type, the former function generates a type that expect
DAG option values. The latter function is only present to temporarily
allow the `programs.ssh.matchBlocks` to keep accepting list values.
2020-01-16 00:16:09 +01:00
arcnmx b053dc8697
modules: use pkgs.path instead of <nixpkgs>
PR #992
2020-01-15 20:58:15 +01:00
Robert Helgesson ee01d24a45
notmuch: use writeShellScript 2020-01-13 21:45:20 +01:00
Robert Helgesson e9beef31eb
getmail: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:19 +01:00
Robert Helgesson cff9ee7cce
zsh: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:18 +01:00
Robert Helgesson 07dc3e5425
notmuch: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:17 +01:00
Robert Helgesson e857249d86
go: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:17 +01:00
Robert Helgesson 8ace1ab1b0
browserpass: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:16 +01:00
Robert Helgesson 00e26ceffe
chromium: use attribute set to define files
To avoid warning message concerning deprecation of the `loaOf` type.
2020-01-13 21:45:15 +01:00
Vojtěch Káně 4ad3fe78f9
go: adds an option extraGoPaths
PR #946
2020-01-13 21:44:13 +01:00
Robert Helgesson 297ed97166
mpv: allow string values in scripts list
Fixes #976
2020-01-11 17:44:04 +01:00
Ross A. Baker 0fce533e70
lorri: add gitMinimal to daemon path
Fixes https://github.com/target/lorri/issues/255 when the service is
installed through home-manager.

PR #975
2020-01-11 17:19:10 +01:00
Philipp Middendorf 3a3657b107
cbatticon: add module (#963) 2020-01-11 13:08:56 +01:00
Denys Pavlov d677556e62 spotifyd: update flags (#979)
Following nixos/nixpkgs@54433c4
2020-01-09 15:10:16 +01:00
Wael M. Nasreddine 1b7b1bc294
neovim: un-deprecate the configure option
The `programs.neovim.configure` option is consistent with NixOS's
`wrapNeovim` and offers features not supported by the `extraConfig`
and `plugins` option pair.

Closes #971
2020-01-06 07:02:37 -08:00
YVT e70912df26
lsd: add shell aliases for fish 2020-01-06 15:09:51 +09:00
jD91mZM2 ebf1df58da
gpg-agent: fix GnuPG by adding pinentry flavor option
See https://github.com/NixOS/nixpkgs/pull/71095.

Fixes #908
2020-01-01 13:26:21 +01:00
Michael Hoang df4db50632
i3: update default i3 key bindings
Update to match the default i3 key bindings

  https://github.com/i3/i3/blob/master/etc/config

PR #957
2019-12-31 11:19:20 +01:00
cmacrae f66cc1b851
firefox: add darwin support 2019-12-31 00:08:20 +01:00
jD91mZM2 a0ab0b16fe
keychain: add xsession integration 2019-12-28 17:29:57 +01:00
Julien Tanguy 5992c1b469 keychain: add fish shell integration
The shell command is added in the interactiveShellInit, as it is the
equivalent of initExtra in bash or zsh.
2019-12-27 10:58:03 +01:00
Robert Helgesson 8d14ffbe88
blueman-applet: minor cleanup of enable option
In particular use proper DocBook format in description.
2019-12-25 22:00:54 +01:00
Cabia Rangris a5d3d6f665
blueman: update advice for removing error message
The old method for hiding the error no longer works in NixOS 19.09,
and ends up breaking blueman-applet entirely. Enable the NixOS service
instead.

Pull request #950
2019-12-25 21:52:49 +01:00
Gregory Oakes a12a8f7977
random-background: add bgSupport documentation
On NixOS it is necessary to set `bgSupport = true` when creating a
Home Manager desktop manager session. Otherwise NixOS will add code
that sets the background, overriding the effort made by the
`random-background` module.

Fixes #955
Pull request #956
2019-12-25 21:44:23 +01:00
Bernardo Meurer 0f1c9f25cf beets: allow custom package (#952) 2019-12-18 01:25:52 +01:00
arcnmx 8abaa025ec systemd: fix degraded warning 2019-12-15 14:58:43 -08:00
Robert Helgesson 621c98f15a
mbsync: skip maildir creation if no account is defined
Fixes #937
2019-12-08 21:46:30 +01:00
David Wood 5c9ec0d8e9
starship: add package option 2019-12-08 21:24:04 +01:00
Robert Helgesson 284b8d94d4
readline: add variables option
Also add a basic test case.
2019-12-08 21:13:58 +01:00
Vojtěch Káně bb5dea02b9
readline: add module
Add basic readline configuration (~/.inputrc) management.
2019-12-08 20:49:00 +01:00
Konrad Borowski 711109d468
vscode: correct VSCodium extension directory path 2019-12-07 15:04:11 +01:00
Sebastian Ullrich 571989f564
xdg-mime: add module 2019-12-01 23:11:49 +01:00
Robin Stumm fdd65e5fad
parcellite: remove obsolete backward compatibility fixes
This also fixes that the `gtk.theme` option was not picked up due to
hardcoded XDG_DATA_DIRS.
2019-12-01 20:03:05 +01:00
pacien 94d183eaaa
unison: add module 2019-11-29 23:49:00 +01:00
pacien 9d09738e4d
password-store: add modules 2019-11-29 23:03:15 +01:00
worldofpeace ef11164c0c vscode: don't create an empty settings.json
If I enable this module without using the userSettings option it will
create an empty settings.json. We use mkIf to prevent this on the default
value.
2019-11-28 16:01:58 -05:00
leotaku 34dc4a5e03
mpdris2: improve service description
In particular, make sure the systemd service actually starts.
2019-11-27 22:46:02 +01:00
Philip Stears 0e9b7aab3c
files: additional support for symlinked /nix
In the case where `/nix` is a link, for example, on macOS Catalina,
`builtins.storeDir` returns `/nix`, not the canonical location.

This causes tests on existing files to result in Home Manager thinking
those files are outside of the store.

This change uses `readlink` on the store path so that the tests work
as intended.
2019-11-26 22:22:19 +01:00
Robert Helgesson 9781f3766d
systemd: perform reload even in degraded state
This fixes #355, fixes #798, and fixes #909.
2019-11-24 18:55:01 +01:00
Robert Helgesson 9e716025b6
lorri: restrict news entry to Linux 2019-11-24 18:53:44 +01:00
Kloenk eee6ae33e8
spotifyd: add module 2019-11-24 18:52:52 +01:00
Anton Plotnikov b1dd373f5a
files: update script to support linked Nix store 2019-11-22 20:16:42 +01:00