1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 00:59:44 +01:00
Commit graph

3177 commits

Author SHA1 Message Date
XYenon
d384a0d524
yazi: update shell integrations and docs
(cherry picked from commit a462e7315d)
2024-04-06 08:46:22 +02:00
Ramses
f33900124c nix: fix generation of nix.conf for nix >= 2.20
(cherry picked from commit 880d9bc211)
2024-03-19 15:49:25 -07:00
Benedikt Ritter
652fda4ca6
helix: remove outdated comment
The change to languages.toml referred to by the comment was released
with helix 23.10 which is the version currently on nixpkgs 23.11. See

- https://helix-editor.com/news/release-23-10-highlights/#multiple-language-servers
- https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/applications/editors/helix/default.nix#L5
2024-02-03 18:30:11 +01:00
Robert Helgesson
10cd9c5311
docs, tests: revert to fetchTarball for nmd and nmt
Turns out pulling nmt and nmd from Nixpkgs causes an IFD, even when
the packages are fixed-output derivations.

Thus, since Sourcehut is up and well, we can revert to simply fetching
nmd and nmt directly.

See discussion in <https://github.com/nix-community/home-manager/pull/4884>.

(cherry picked from commit d6185e83d8)
2024-01-19 11:19:02 +01:00
Robert Helgesson
85c3b600f6
flake.lock: Update 2024-01-17 08:36:04 +01:00
Robert Helgesson
25f822abd3
flake.lock: Update 2024-01-17 08:30:43 +01:00
Robert Helgesson
924d91e1e4
docs: use nmd from Nixpkgs
(cherry picked from commit 846200eb57)
2024-01-15 00:02:37 +01:00
Robert Helgesson
2f9728fb7e
tests: use nmt from Nixpkgs
(cherry picked from commit 8ae3bfe2bf)
2024-01-15 00:02:32 +01:00
Robert Helgesson
5f0ab0eedc
docs: use alternative source of nmd
(cherry picked from commit 93e804e7f8)
2024-01-11 14:47:55 +01:00
Guillaume Girol
7e398b3d76
lorri: unbreak due to too tight sandboxing
lorri needs to be able to write to /run/user/uid for the socket, to its
own cache directory ~/.cache/lorri and to the directory for gc roots.

(cherry picked from commit f06edaf18b)
2024-01-01 10:00:19 +01:00
katelyn martin
d5824a76bc
docs: fix typo in nix-flakes.md
(cherry picked from commit ebeeef94ab)
2023-12-23 22:36:26 +01:00
Richard Davis
072662bd1b
caffeine: remove ProtectHome service option
This option causes caffeine to be unable to start via the systemd
service.

(cherry picked from commit 093777ee4a)
2023-12-23 22:35:55 +01:00
Tobias H. Petersen
0c2353d5d9
docs: fix broken home-manager options link
(cherry picked from commit 8f38f1a231)
2023-12-20 23:57:18 +01:00
Viktor Kronvall
1488651d02
docs: fix broken link text
(cherry picked from commit c22b41f006)
2023-12-17 13:04:38 +01:00
Viktor Kronvall
b408085bcb
docs: fix link texts in release notes
(cherry picked from commit 59c15ebe3d)
2023-12-17 13:04:27 +01:00
Viktor Kronvall
34ccacf798
docs: add considerate as maintainer
(cherry picked from commit 07754e935a)
2023-12-17 13:04:14 +01:00
Viktor Kronvall
478e1bd9bb
docs: use .xhtml for appendices
(cherry picked from commit 6c82b1c9ce)
2023-12-17 13:04:03 +01:00
Viktor Kronvall
052d8a681f
docs: add release-notes as appendix
The release notes used to be an appendix in the manual. After
converting to markdown that appendix got lost. This commit
reintroduces the release notes into the manual.

(cherry picked from commit 6fc71dc563)
2023-12-17 13:03:39 +01:00
Phil Simpson
241d2e6934
docs: fix nix-darwin module configuration example
The example is missing a `;` which causes this error when you attempt
a `darwin-rebuild switch`.

```
       error: syntax error, unexpected '=', expecting ';'

       at /Users/968713/.nixpkgs/darwin-configuration.nix:17:30:

           16|   }
           17|   home-manager.users.eve = { pkgs, ... }: {
             |                              ^
           18|     home.packages = [
```

(cherry picked from commit 0e7cd64674)
2023-12-17 13:00:56 +01:00
D3vil0p3r
8a2f655197
docs: fix broken links in README
(cherry picked from commit e6b7303bd1)
2023-12-17 13:00:40 +01:00
Robert Helgesson
aa99c2f4e9
docs: migrate documentation
This resolves the long-standing deprecation warning by migrating the
documentation to using the nixos-render-docs tool. As part of this,
the documentation markup language is migrated to Markdown.

See #4712 for more. Note, this is a backport of PR #4673.
2023-12-15 22:47:29 +01:00
dependabot[bot]
6761b8188b
ci: bump cachix/cachix-action from 12 to 13
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-10 09:08:29 +01:00
Robert Helgesson
71d9bd6724 docs: use relative paths to static resources
Fixes #4753
2023-12-09 22:23:51 +09:00
Robert Helgesson
890239846e docs: apply nixfmt 2023-12-09 22:23:46 +09:00
Viktor Kronvall
93e2536db2 docs: rename generated manual to index.xhtml
The `nixos-render-docs` tool outputs XHTML formatted content. In
order to convince browsers like `firefox` to treat the data as XHTML
the extension must be `.xhtml` and not `.html`.

Using the XHTML-formatted content as HTML is mainly an issue with
self-closing `<a />` tags.
2023-12-09 01:07:08 +09:00
Viktor Kronvall
0da5767319 docs: fix syntax highlighting
`document-highlighter` now outputs a `<code>` block inside the
pre-formatted `<pre>` tag. This changes the required CSS for
rendering code snippets. Moreover, this commit uses the highlightjs
as provided by the `document-highlighter` package instead of the
version packaged in `nmd`.
2023-12-09 01:07:08 +09:00
Viktor Kronvall
ecc724dac9 docs: render DESCRIPTION and OPTIONS headings 2023-12-09 01:07:08 +09:00
Viktor Kronvall
9ebc8a51ed docs: replace console language with shell 2023-12-09 01:07:08 +09:00
Viktor Kronvall
0a10eae61d docs: update nmd version
This update fixes the custom CSS to make the `$` character
non-selectable in highlighted code blocks.
2023-12-09 01:07:08 +09:00
Viktor Kronvall
a422807513 docs: extend home-configuration.nix header
The previous version had a longer header before the options,
including a DESCRIPTION section and an header for the OPTIONS.
2023-12-09 01:07:08 +09:00
Viktor Kronvall
7f725c12b1 docs: include 3rd-party part 2023-12-09 01:07:08 +09:00
Viktor Kronvall
5d63a01440 docs: this is the home-manager manual 2023-12-09 01:07:08 +09:00
Viktor Kronvall
b16e97f9b2 docs: fix note blocks 2023-12-09 01:07:08 +09:00
Viktor Kronvall
fc77ecf2ff docs: no justification in home-manager manpage
The `man home-configuration.nix` is configured to left
align the text similar to `man configuration.nix`. This
commit updates the `man home-manager` page to be consitent
with the two manpages mentioned above.
2023-12-09 01:07:08 +09:00
Viktor Kronvall
cc48491bfc docs: use nixos-render-docs
This commit removes the `home-manager-render-docs` package in favor
of upstream `nixos-render-docs` where the manpage generator has been
updated to take a `--header` and a `--footer` flag specifying static
content around the content derived from the options.json file.
2023-12-09 01:07:00 +09:00
Viktor Kronvall
31c0c87ebf docs: update manual to refer to 23.11 2023-12-09 01:06:44 +09:00
Viktor Kronvall
7bd59cb10c docs: update paths to make manual tests pass 2023-12-09 01:06:44 +09:00
Viktor Kronvall
25fd5eb4ba docs: add htmlOpenTool to manual
This commit extracts the htmlOpenTool from `nmd` into a module
in the home-manager docs directory. This is done to provide feature
parity with the documentation generated using the docbook .xml files.
2023-12-09 01:06:44 +09:00
Viktor Kronvall
14f29065e1 docs: add home-manager manpage 2023-12-09 01:06:44 +09:00
Viktor Kronvall
69a96783b1 docs: render without deprecated optionsDocBook
The `optionsDocBook` function is deprecated in nixpkgs since
nixos-23.11. This commit updates the manual and manpages to
use commonmark formatted documentation instead of the deprecated
docbook format.
2023-12-09 01:06:44 +09:00
Robert Helgesson
aeb2232d7a
home-manager: set stable release to 23.11 2023-11-24 09:23:25 +01:00
Leah Amelia Chen
134deb46ab
bat: support boolean flags in config
Previously, users cannot enable boolean flags like `--show-all` in bat's
config since all options were expected to be either a string, or a list
of strings. With this commit boolean flags are simply appended to the
end of the config if they are set to `true`, and discarded otherwise.

For example, the config

    {
      theme = "TwoDark";
      show-all = true;
      lessopen = false;
    }

would produce a config file that looks like

    --theme='TwoDark'
    --show-all

Fixes #4657
2023-11-23 00:16:58 +01:00
Gaetan Lepage
1bd1e86464
ruff: add module
ruff is Python linter and code formatter, written in Rust.
See <https://docs.astral.sh/ruff/>.
2023-11-22 23:51:52 +01:00
Philipp Mildenberger
1aabb0a31b
picom: use getExe instead of hardcoded binary 2023-11-21 08:55:46 +01:00
Robert Helgesson
9482610ac1
qt: fix issues introduced in previous merge 2023-11-21 08:38:09 +01:00
Thiago Kenji Okada
3de857fa7d qt: fix qt.platformTheme = "gtk3" 2023-11-20 20:33:29 +00:00
Gutyina Gergő
993fb02d20
zsh: allow enabling syntax highlighters (#4360) 2023-11-19 19:37:32 +01:00
Thiago Kenji Okada
fff5204e5d qt: fix basic usage when just qt.enable = true is set 2023-11-19 12:39:53 +00:00
Robert Helgesson
9a4725afa6
qt: multiple fixes
PR #4579
2023-11-19 10:40:09 +01:00
Shawn Morel
7af969886b
home-manager: improve comment in example configuration 2023-11-19 10:10:20 +01:00