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

561 commits

Author SHA1 Message Date
Nara Díaz Viñolas
7edbaf84cd
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
2024-04-10 21:26:51 +02:00
Robert Helgesson
023f7ee22c
home-manager: add 24.05 as valid state version 2024-04-10 21:26:44 +02:00
Damien Cassou
7ea42f9c8e
signaturepdf: add service 2024-04-10 21:26:43 +02:00
Gaetan Lepage
d94b28d6ff
ruff: add module
ruff is Python linter and code formatter, written in Rust.
See <https://docs.astral.sh/ruff/>.
2024-04-10 21:26:42 +02:00
Thiago Kenji Okada
7368d81a71
qt: fix qt.platformTheme = "gtk3" 2024-04-10 21:26:41 +02:00
Thiago Kenji Okada
dde4185450
qt: fix basic usage when just qt.enable = true is set 2024-04-10 21:26:41 +02:00
Thiago Kenji Okada
96e4636bba
qt: support gtk3 platform theme
This theme is part of qtbase and requires no extra packages.

Co-authored-by: novenary <novenary@kwak.zip>
2024-04-10 21:26:41 +02:00
Thiago Kenji Okada
21e926695f
qt: allow usage without setting platformTheme 2024-04-10 21:26:40 +02:00
Thiago Kenji Okada
93883c4bd9
qt: use sessionVariablesExtra to export QT_PLUGIN_PATH/QML2_IMPORT_PATH 2024-04-10 21:26:40 +02:00
Thiago Kenji Okada
418475f3b9
qt: simplify style.name mappings 2024-04-10 21:26:40 +02:00
Thiago Kenji Okada
ad4a26ae2f
qt: add qgnomeplatform-qt6 when platformTheme is set to gnome 2024-04-10 21:26:40 +02:00
Thiago Kenji Okada
7b4077d7b7
qt: add support for platformTheme lxqt 2024-04-10 21:26:39 +02:00
Thiago Kenji Okada
ca434130c3
qt: add style mappings for Qt 6 2024-04-10 21:26:39 +02:00
Thiago Kenji Okada
e529050043
qt: workaround issue when i18n.inputMethod.enabled = 'fcitx5' 2024-04-10 21:26:39 +02:00
Thiago Kenji Okada
89acf6a4f9
qt: remove top-level with lib 2024-04-10 21:26:39 +02:00
Thiago Kenji Okada
2e44116afc
qt: export QT_PLUGIN_PATH/QML2_IMPORT_PATH
Those 2 variables are necessary to make e.g.: qt6ct work correctly.

See issue: https://github.com/NixOS/nixpkgs/issues/239909.
2024-04-10 21:26:39 +02:00
Thiago Kenji Okada
c7ac0e0d36
qt: remove remaining Qt 4 support
Qt 4 was removed from nixpkgs so it doesn't make sense to support it
anymore.
2024-04-10 21:26:38 +02:00
Nicola Squartini
1d3f439cd8
openstackclient: add module (#4530)
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2024-04-10 21:26:37 +02:00
Willi Carlsen
972916c973
granted: add module
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
2024-04-10 21:26:33 +02:00
Luna Simons
6da70f2252
cava: add module 2024-04-10 21:26:31 +02:00
Xavier Lambein
37b513dd7d
darkman: add module
Co-authored-by: Naïm Favier <n@monade.li>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2024-04-10 21:26:27 +02:00
ilaumjd
823f7a6439
thefuck: add module 2024-04-10 21:26:23 +02:00
ilaumjd
8a209007e2
zsh-abbr: add module 2024-04-10 21:26:23 +02:00
Olmo Kramer
9af726faca
khard: add module 2024-04-10 21:26:22 +02:00
Avimitin
00a599717b
wpaperd: add wpaperd configuration
Signed-off-by: Avimitin <dev@avimit.in>
2024-04-10 21:26:21 +02:00
Anthony Roussel
84ccadec72
awscli: add module 2024-04-10 21:26:21 +02:00
Federico Rampazzo
38e624fa55
qt: remove qtstyleplugin-kvantum-qt4
The package qtstyleplugin-kvantum-qt4 has been removed, because it
depended on qt4.
2024-04-10 21:26:20 +02:00
shimun
72202495ae
bacon: add module
Bacon is a background rust code checker. See
<https://dystroy.org/bacon/>.
2024-04-10 21:26:19 +02:00
Otavio Salvador
e69f3844a3
programs.rio: add module (#4118)
Adds a programs.rio module to control Rio installation and configuration, a gpu accelerated terminal

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2024-04-10 21:26:15 +02:00
Christina Sørensen
9632dbb67d
eza: add module
This copies the exa configuration for eza, the official fork of the
program.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-10 21:26:10 +02:00
Weathercold
26ddb8a893
carapace: add module 2024-04-10 21:26:10 +02:00
nicoo
9c390452ee
tmpfiles: use only xdg.configFile
This is a small refactor, and minimises the impact of home-manager#4398.
2024-04-10 21:26:09 +02:00
XYenon
90e62f96c7
programs.yazi: add module (#4373)
add module for yazi https://github.com/sxyazi/yazi a terminal rust file browser akin to ranger or joshuto
2023-08-27 20:47:47 +02:00
Anton Mosich
8eb8c212e5
qcal: add module 2023-08-22 18:09:05 +02:00
Kilian Mio
6a94c1a597
fix(qt): allow theming for apps started by systemd (#4349) 2023-08-17 10:27:17 +02:00
Donovan Glover
9db5b89f40
pqiv: add module 2023-08-16 17:44:54 +02:00
NotAShelf
b84767a145
xplr: add module 2023-08-15 20:26:58 +03:00
Christian Albrecht
7b8d43fbaf
modules: types.string throws error now (#4324)
Since the merge of https://github.com/NixOS/nixpkgs/pull/247848
2023-08-08 17:00:24 +02:00
Robert Helgesson
3db43afcb4
home-manager: rework news command
This new way of handling news should also work in Nix Flake setups.
2023-07-31 12:43:36 +02:00
Robert Helgesson
0306d5ed7e
git-sync: add news entry for darwin
PR #4259
2023-07-25 09:16:42 +02:00
Janik H
a30f5b5b35
gh-dash: add module 2023-07-24 12:38:44 +02:00
Mihai Fufezan
ee5673246d
hyprland: add module
Ported from

  https://github.com/hyprwm/Hyprland/blob/main/nix/hm-module.nix

which was adapted from the sway module.

Co-authored-by: Robert Helgesson <robert@rycee.net>
2023-07-21 00:14:22 +02:00
Emily
9f9e277b60 treewide: remove now-redundant lib.mdDoc calls
These (and the `*MD` functions apart from `literalMD`) are now no-ops
in nixpkgs and serve no purpose other than to add additional noise and
potentially mislead people into thinking unmarked DocBook documentation
will still be accepted.

Note that if backporting changes including documentation to 23.05,
the `mdDoc` calls will need to be re-added.

To reproduce this commit, run:

    $ NIX_PATH=nixpkgs=flake:nixpkgs/e7e69199f0372364a6106a1e735f68604f4c5a25 \
      nix shell nixpkgs#coreutils \
      -c find . -name '*.nix' \
      -exec nix run -- github:emilazy/nix-doc-munge/98dadf1f77351c2ba5dcb709a2a171d655f15099 \
      --strip {} +
    $ ./format
2023-07-17 18:49:09 +01:00
Emily
36a53d9f26 treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]. All
conversions were automatically checked to produce the same DocBook
result when converted back, modulo minor typographical/formatting
differences on the acceptable-to-desirable spectrum.

To reproduce this commit, run:

  $ NIX_PATH=nixpkgs=flake:nixpkgs/e7e69199f0372364a6106a1e735f68604f4c5a25 \
    nix shell nixpkgs#coreutils \
    -c find . -name '*.nix' \
    -exec nix run -- github:emilazy/nix-doc-munge/98dadf1f77351c2ba5dcb709a2a171d655f15099 \
    {} +
  $ ./format

[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge/tree/home-manager
2023-07-17 18:40:56 +01:00
Emily
c1d8d2a3d1 treewide: adjust some DocBook for conversion
The NixOS variant of Markdown doesn't make a distinction between
`<code>` and `<literal>` or `<quote>` and... quotes, and doesn't
support `<parameter>` or `<replaceable>`. These are infrequently used
(apart from `<code>`) and don't add much, so just convert them to
simpler forms to allow the options containing them to be converted
to Markdown automatically.

A few minor syntactic adjustments were also made to make
`nix-doc-munge`'s job easier.
2023-07-17 16:49:35 +01:00
Emily
21c700d14b treewide: convert options with lists to Markdown
`nix-doc-munge` can't handle these, which is understandable as I can
barely handle them either. There are a few infelicities here: the
current processor can't handle multiple terms to one description in
a description list so they get comma-separated in one case, and one
case that should ideally render as a `<figure>` with a `<figcaption>`
in HTML is reduced to a paragraph with some `<strong>` text. (Which, in
fairness, is how it rendered in practice with the DocBook anyway.) The
docs generator has since been updated to handle figures, but we can't
use it until moving off DocBook output.
2023-07-17 16:49:35 +01:00
Emily
9e4a73c25e treewide: convert custom enable docs to Markdown
`nix-doc-munge` can't tell what's going on with this pattern, so I
just handled them all manually.
2023-07-17 16:49:35 +01:00
Emily
3222c99a91 treewide: convert parameterized docs to Markdown
Parameterized documentation generators like this can't be converted
automatically.
2023-07-17 16:49:35 +01:00
Emily
3228f92b90 treewide: manually convert some docs to Markdown
These files all have options that trip up the `nix-doc-munge`
conversion tool for one reason or another (syntax that clashes with
Markdown, options that were already using Markdown syntax despite not
being marked that way, output that differs slightly after conversion,
syntax too elaborate to convert with some cheap regular expressions,
...). Translate them manually and do a little copyediting to options
in the vicinity while we're at it.
2023-07-17 16:49:35 +01:00
Emily
23ad3d2b53 version: add isReleaseBranch 2023-07-17 16:49:32 +01:00