Commit graph

1034 commits

Author SHA1 Message Date
Damien Cassou 1710db409d
firefox: show how to get pre-packaged add-ons
PR #1296

(cherry picked from commit ca6fcc92a1)
2020-06-16 23:48:25 +02:00
Robert Helgesson ab911f44e6
xdg-mime: fix issue on WSL1
This change stops update-mime-database from running unless the
`share/mime/packages` directory is writable. For some reason it
appears to be read-only on WSL1.

Fixes #1192

(cherry picked from commit 8e8210b441)
2020-06-16 23:47:56 +02:00
Finn Behrens 3797004203
nixos: add mount check for home directory
PR #1271

(cherry picked from commit 5ba71ef91f)
2020-06-16 23:47:01 +02:00
Robert Helgesson 96fcf3b017
sway: fix config.keybindings example
(cherry picked from commit f90b86b577)
2020-05-24 13:05:32 +02:00
Robert Helgesson db21f23943
i3: fix config.keybindings example
(cherry picked from commit 1c71bd1242)
2020-05-24 13:05:31 +02:00
Robert Helgesson b49ababba0
lorri: make system environment attribute a list
It should be a list to allow inclusions of additional variables.

(cherry picked from commit a0d9a58616)
2020-05-24 13:05:30 +02:00
Matthew Bauer 7c0774ba0e
readme: remove firefox "enableIcedTea" option
This option was actually removed in commit
3461ceebc0.

(cherry picked from commit d99f54b51b)
2020-05-24 13:05:29 +02:00
Andrew McDermott cc69c3115f
gnome-terminal: allow for 'system' theme variant
PR #1228

(cherry picked from commit 40b1c5c448)
2020-05-20 23:45:52 +02:00
Robert Helgesson 9fea5ac54f
xdg.mimeApps: use xdg.dataFile instead of home.file
The former honors the data home path set by the user.

(cherry picked from commit b886cbea0b)
2020-05-20 23:44:55 +02:00
Robert Helgesson 22d03f20fb
git: escape string values in configuration
This should handle the special characters that typically occur.

Fixes #1206

(cherry picked from commit 642d9ffe24)
2020-05-20 23:44:29 +02:00
Robert Helgesson c91b2f4556
home-manager: add activation sanity check of Nix
This adds an empty `nix-build` command to verify that the user is
having a good Nix install. It also, as a side effect, will create the
necessary per-user `profiles` and `gcroots` directories.

Fixes #1246

(cherry picked from commit dcbe0f2a31)
2020-05-20 23:43:33 +02:00
Robert Helgesson 25ddbf4824
home-manager: use nix-env to list generations
Using the `nix-env` command is far more robust. It also has the
benefit that if the per-user `profiles` and `gcroots` directories do
not exist then they will be created with the correct permissions.

Because of the second point this commit also removes the `mkdir` step
of the installation instructions.

PR #1239
Closes #474, #948, #1091

(cherry picked from commit 9ec9f004e1)
2020-05-20 23:43:24 +02:00
Robert Helgesson a378bccd60
Revert "vscode: fix extension path symlink error"
This reverts commit fe145b12cd.

Turns out the change does not apply to Nixpkgs 20.03 [1].

[1] https://github.com/rycee/home-manager/pull/1100#issuecomment-621506706
2020-04-30 09:44:00 +02:00
Bruno Bigras 98fa8f63b8
spotifyd: user -> username
PR #1168

(cherry picked from commit 2d88cbe496)
2020-04-23 23:54:18 +02:00
Cole Helbling 9b5133529e
systemd: don't page failed user units
Otherwise, the pager (typically `less`) pauses execution of
`home-manager switch` until the pager is dismissed, if the content is
larger than would fit on the screen.

PR #1175

(cherry picked from commit 8369624512)
2020-04-23 23:43:00 +02:00
Paul 2dd4c20f49
keynav: use correct ExecStart command
When the change requested in

  https://github.com/rycee/home-manager/pull/1082#discussion_r392715440

was applied, the service `ExecStart` attribute was not updated to use
`pkgs.keynav`.

Fixes #1177
PR #1184

(cherry picked from commit ee1c40e5c5)
2020-04-23 23:42:59 +02:00
Robert Helgesson 42e4eef749
Update documentation for release 20.03 2020-04-23 00:29:11 +02:00
Robert Helgesson 7613fd12ec
doc: document dagOf and gvariant types 2020-04-22 23:59:10 +02:00
Robert Helgesson f735fac91b
doc: bump nmd revision
Also convert `release-notes.xml` to AsciiDoc.
2020-04-22 23:59:09 +02:00
Robin Stumm f0710115c5
kakoune: add missing hook name
PR #1185
2020-04-22 23:18:23 +02:00
nurelin 8c920682e6
sway: remove restart command from sway configuration (#1155)
The restart command does not exists in sway, only reload.
See https://github.com/swaywm/sway/blob/1.4/sway/sway.5.scd
2020-04-22 02:31:07 +02:00
Terje Larsen 9905ab5087
fish: fix fish plugins complete path update
PR #1178
2020-04-22 01:02:10 +02:00
dawidsowa b3bbc8b769
xdg-user-dirs: add user-dirs.conf
PR #1143
2020-04-22 00:52:39 +02:00
Lisa Ugray 3a5cd90631 bat: add custom themes
Add the ability to add custom theme files to bat.

Co-Authored-By: Robert Helgesson <robert@rycee.net>
2020-04-21 18:26:13 -04:00
Bruno Bigras 3e3de8cee2
i3/sway: fix typo in fonts option (#1152) 2020-04-21 08:18:38 +02:00
Robert Helgesson 687395ebda
home-manager: remove unsupported -2 option
This option used to make the `home-manager` command use the `nix` tool
from Nix 2. Unfortunately the `nix` tool is a bit experimental and it
is best to await its stabilization before supporting it in Home
Manager.
2020-04-18 11:37:06 +02:00
Robert Helgesson e5325c2274
home-manager: fix shellcheck warning 2020-04-18 11:37:05 +02:00
Robert Helgesson 3461ceebc0
firefox: remove options removed upstream
Fixes #1166
2020-04-18 11:24:11 +02:00
Robert Helgesson 133badb297
ssh: deprecate the list form of match block
Configurations depending on specific block order should use the DAG
functions instead of lists.
2020-04-16 23:27:40 +02:00
Robin Stumm 86ccd8fecb
kakoune: implement whitespace highlighter config
The options under `programs.kakoune.config.showWhitespace` existed
but were not implemented.

PR #1162
2020-04-16 22:34:31 +02:00
Robert Helgesson f6afd95ef8
tmux: fix broken test case 2020-04-15 23:25:16 +02:00
Robert Helgesson 022228e0aa
ssh: switch type of matchBlocks to listOrDagOf
This switches the type of `matchBlocks` from `loaOf` to `listOrDagOf`.
The former has been deprecated in Nixpkgs. The latter allows
dependencies between entries to be expressed using the DAG functions.
2020-04-13 23:24:40 +02:00
Robert Helgesson 8ad4bd6c1b
types: improve dagOf and listOrDagOf
In particular, improve the behavior of these types if the element type
is a submodule.
2020-04-13 22:01:20 +02:00
Piotr Bogdan 9f223e98b7
gnome-terminal: add cursorBlinkMode option 2020-04-10 17:10:26 +02:00
Robert Helgesson 2102b4e7b3
home-environment: minor fix of DocBook code 2020-04-10 16:16:46 +02:00
Robert Helgesson ebdfa06685
tests: update nmt 2020-04-10 01:01:20 +02:00
Robert Helgesson 41094aa3c7
neovim: fix docbook syntax in option descriptions 2020-04-09 19:27:57 +02:00
Jonathan Ringer 09abc29b73
neovim: add vimdiffAlias 2020-04-09 19:20:19 +02:00
Terje Larsen 5b7b9821e0
qutebrowser: add support for list values in settings 2020-04-09 19:13:07 +02:00
Robert Helgesson ee18288eeb
codeowners: add entry for mako 2020-04-09 11:28:22 +02:00
Jonas Heinrich f856da6690
mako: add module
PR #1113
2020-04-09 11:21:22 +02:00
Robert Helgesson 5cdbfc9064
Add code owners and pull request template 2020-04-08 19:29:57 +02:00
Robert Helgesson 068ff76a10
gitlab-ci: improve NUR update trigger
Specifically, trigger NUR updates for all release branches by default.

Also updates the GitLab CI definition to use the new `rules` attribute
rather than the deprecated `only` attribute.
2020-04-08 16:13:01 +02:00
Justin Lovinger b7737f1732
qutebrowser: add module
PR #1132
2020-04-08 14:50:59 +02:00
Tobias Happ d06bcf4c97
targets.genericLinux: add module
PR #797
2020-04-08 13:36:25 +02:00
Robert Helgesson dd538c2969
home-environment: add option sessionVariablesExtra
This is an internal option for adding additional code to
`hm-session-vars.sh`.
2020-04-08 13:23:02 +02:00
Robert Helgesson f56c4187a4
screen-locker: add option enableDetectSleep
Fixes #1125
2020-04-06 19:41:13 +02:00
Diep Pham 1fd874b7ea
go: add goPrivate option
This option configures the `GOPRIVATE` variable. See

   https://golang.org/cmd/go/#hdr-Module_configuration_for_non_public_modules

for more information.

PR #1126
2020-04-06 19:28:31 +02:00
Griffin Smith 5ff245790d
gtk: add bookmarks option
Add a new 'bookmarks' option, for managing `~/.config/gtk3/bookmarks`,
a list of URIs to display as bookmarks in the sidebar of GTK file
browsers.

PR #1129
2020-04-06 15:52:46 +02:00
Robert Helgesson 1cfc0a3203
sxhkd: add dummy package in tests 2020-04-06 12:55:58 +02:00