Commit graph

3178 commits

Author SHA1 Message Date
Nara Díaz Viñolas defbb9c585
hyprland: add option sourceFirst
Add the option sourceFirst to the hyprland module. When this option is
enabled source entries will be put near the top of the file, so that
the variables declared in other files can be used by the other
configuration entries.

Add "source" to the list of important prefixes when the former option
is enabled.

Resolves #4729
2023-12-10 11:12:06 +01:00
dependabot[bot] 9a00befa13
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:54 +01:00
Richard Davis 093777ee4a
caffeine: remove ProtectHome service option
This option causes caffeine to be unable to start via the systemd
service.
2023-12-10 08:37:02 +01:00
D3vil0p3r e6b7303bd1
docs: fix broken links in README 2023-12-09 23:00:52 +01:00
Robert Helgesson fa91c109b0
docs: use relative paths to static resources
Fixes #4753
2023-12-09 13:20:54 +01:00
David Houdek efa36e8969
Translate using Weblate (Czech)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Czech)

Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: David Houdek <sarejnovec@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/cs/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/cs/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-12-09 09:35:48 +01:00
Robert Helgesson 7db6291d95
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 pull-request #4673 for more.
2023-12-09 09:34:29 +01:00
Robert Helgesson f10eb1b3ee
docs: apply nixfmt 2023-12-09 09:05:16 +01:00
Viktor Kronvall 613dbb35db 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-07 21:40:31 +09:00
Viktor Kronvall 0a71046493 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-07 21:31:50 +09:00
Viktor Kronvall b006bf1d74 docs: render DESCRIPTION and OPTIONS headings 2023-12-07 21:28:18 +09:00
Viktor Kronvall eff22a27e2 docs: replace console language with shell 2023-12-07 21:28:18 +09:00
Viktor Kronvall 67b797a377 docs: update nmd version
This update fixes the custom CSS to make the `$` character
non-selectable in highlighted code blocks.
2023-12-07 21:28:18 +09:00
Viktor Kronvall 5c2ef5243d 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-07 21:28:18 +09:00
Viktor Kronvall be80122731 docs: include 3rd-party part 2023-12-07 21:28:18 +09:00
Viktor Kronvall b5a47bd700 docs: this is the home-manager manual 2023-12-07 21:28:18 +09:00
Viktor Kronvall 32063973cc docs: fix note blocks 2023-12-07 21:28:18 +09:00
Viktor Kronvall 2098c6fe91 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-07 21:28:18 +09:00
Viktor Kronvall 8dae2041ef 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-07 21:28:16 +09:00
Viktor Kronvall e4d290396c docs: update manual to refer to 23.11 2023-12-07 21:27:38 +09:00
Viktor Kronvall f48a0062df docs: update paths to make manual tests pass 2023-12-07 21:27:38 +09:00
Viktor Kronvall 0dcb767676 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-07 21:27:38 +09:00
Viktor Kronvall 728423e6f4 docs: add home-manager manpage 2023-12-07 21:27:38 +09:00
Viktor Kronvall 80ac72bf03 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-07 21:27:38 +09:00
0x5a4 ac7216918c
firefox: fix folders not showing in toolbar
Fixes #4568
2023-12-04 23:14:01 +01:00
Tom Cammann 948703f3e7
broot: Add nushell integration (#4714)
Add additional config flag `enableNushellIntegration` in broot.nix to
setup broot/br for nushell.
2023-12-04 08:57:35 +01:00
Zurga e504e8d01f
Translate using Weblate (Dutch)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Dutch)

Currently translated at 91.4% (32 of 35 strings)

Co-authored-by: Zurga <jim.lemmers@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/nl/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/nl/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-12-03 14:17:59 +01:00
Lorenzo Brzek efe28e24f3
Translate using Weblate (Italian)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Italian)

Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Lorenzo Brzek <lorenzoservizi@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/it/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/it/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-12-03 14:17:59 +01:00
Blezz Rot ce67b37cab
Translate using Weblate (Russian)
Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ru/
Translation: Home Manager/Home Manager CLI
2023-12-03 14:17:59 +01:00
github-actions[bot] 0d40107119 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8' (2023-11-24)
  → 'github:NixOS/nixpkgs/e92039b55bcd58469325ded85d4f58dd5a4eaf58' (2023-11-29)
2023-12-03 03:59:43 +00:00
Yuchen Guo 4a8545f5e7
swayidle: add systemd suspend to example 2023-12-01 13:17:50 +01:00
Yuchen Guo 9e869829c2
swayidle: daemonize swaylock in example configuration 2023-12-01 13:17:43 +01:00
Nikolay Mokrinsky ef9088253c
Translate using Weblate (Russian)
Currently translated at 94.2% (33 of 35 strings)

Co-authored-by: Nikolay Mokrinsky <me@mokrinsky.ru>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ru/
Translation: Home Manager/Home Manager CLI
2023-11-30 19:45:06 +01:00
Blezz Rot 3d154dab14
Translate using Weblate (Russian)
Currently translated at 94.2% (33 of 35 strings)

Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ru/
Translation: Home Manager/Home Manager CLI
2023-11-30 19:45:06 +01:00
Gabriel Fontes 2a604e614f
Translate using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Gabriel Fontes <hi@m7.rs>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pt_BR/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2023-11-30 19:45:06 +01:00
Robert Helgesson db1878f013
home-manager: add 24.05 as valid state version 2023-11-27 08:46:43 +01:00
Damien Cassou 7c97c46dc4
signaturepdf: add service 2023-11-27 00:19:14 +01:00
home-manager-bot 8340c0b4d9
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad' (2023-11-17)
  → 'github:NixOS/nixpkgs/5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8' (2023-11-24)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 00:05:55 +01:00
XYenon a462e7315d yazi: update shell integrations and docs 2023-11-25 16:17:54 +08:00
OTABI Tomoya 8cedd63eed
fish: support flexible abbreviations
https://github.com/fish-shell/fish-shell/releases/tag/3.6.0
2023-11-24 18:44:25 +01:00
Robert Helgesson e1f3b36ab0
home-manager: set unstable release to 24.05 2023-11-24 09:25:42 +01: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