1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02:00
Commit graph

3429 commits

Author SHA1 Message Date
Jalil David Salamé Messina
c32a44f19f
bacon: add package option
Allows overriding the package with a different version. Useful if you
need a different version and don't want (or can't) use an overlay.
2024-04-10 21:27:48 +02:00
Kareem-Medhat
906ba78d03
home-manager: fix missing string context
The `home-manager` package was being passed a `path` string pointing a
store path while the string didn't have context. As a result the
`home-manager` derivation was created without this path as an input
source allowing it to be garbage collected even though it it being
used by the `home-manager` script. This in turn caused certain
warnings and errors to occur.
2024-04-10 21:27:48 +02:00
Matthieu Coudron
f12985a3e8
programs.khal: ability to set RGB color (#5192)
The current module constrains to values in enum but khal supports RGB
colors as well
khal.readthedocs.io/en/latest/configure.html#the-calendars-section !
(be careful when setting an RGB value, it has to be quoted else it is ignored, got bitten by it with a manual config )

NB: It's also not possible to set addresses khal.readthedocs.io/en/latest/configure.html#the-calendars-section
2024-04-10 21:27:48 +02:00
home-manager-bot
ffecdac56a
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3' (2024-03-19)
  → 'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089' (2024-03-29)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:27:48 +02:00
Nguyen Khanh
a1d78ab6d6
Translate using Weblate (Vietnamese)
Currently translated at 5.5% (1 of 18 strings)

Translate using Weblate (Vietnamese)

Currently translated at 33.3% (12 of 36 strings)

Translate using Weblate (Vietnamese)

Currently translated at 11.1% (4 of 36 strings)

Co-authored-by: Nguyen Khanh <nguynkhan479@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/vi/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/vi/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-04-10 21:27:47 +02:00
Robert Helgesson
278eefab31
home-environment: fix formatting 2024-04-10 21:27:47 +02:00
Shaw Vrana
294f6c9257
readline: optionally place config file in XDG dir
Based on PR #4189
2024-04-10 21:27:47 +02:00
Graham Bennett
6f97ea6369
antidote: Use builtins.storeDir (#5182)
This allows the module to work for non-/nix stores.
2024-04-10 21:27:47 +02:00
Sumner Evans
28493860f1
darkman: allow no configuration
Closes #4779

Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-04-10 21:27:46 +02:00
Robert Helgesson
7f8ab774f2
home-manager: fix nix-build option -q
The `-q` option does not actually exist, nix-build expects `--quiet`.
2024-04-10 21:27:46 +02:00
Evgeny Kurnevsky
16a01943bb
vdirsyncer: add urlCommand and userNameCommand options 2024-04-10 21:27:46 +02:00
Gabriel Fontes
283e4fb844
xdg-portal: align with NixOS module
Nixpkgs has recently made a few major changes to its
xdg-desktop-portal package, which silently breaks our module here:

- The NIXOS_XDG_DESKTOP_PORTAL_CONFIG_DIR variable patch has been
  removed (in favor of putting portal configurations in /etc or
  XDG_CONFIG_HOME).

- A new variable, NIX_XDG_DESKTOP_PORTAL_DIR, was introduced in a
  patch to avoid setting XDG_DESKTOP_PORTAL_DIR (which also affected
  portal configuration reading, not only portal definitions)

I updated our module to match the changes, but this breakage also made
me revisit this module and look into some improvements.

Long story short, I think it's worth it to make it more similar to the
NixOS one, as it will make behavior more predictable and consistent.
The main change is relying on the upstream linked systemd
unit (instead of using systemd.user.services), and setting the
environment variables globally instead of scoping it to the unit, as
it's a very global thing anyway.
2024-04-10 21:27:46 +02:00
github-actions[bot]
76c3de715a
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9' (2024-03-14)
  → 'github:NixOS/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3' (2024-03-19)
2024-04-10 21:27:46 +02:00
honnip
59b556e2df
Translate using Weblate (Korean)
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: honnip <me@honnip.page>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ko/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:45 +02:00
home-manager-bot
4e624f654e
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09)
  → 'github:NixOS/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9' (2024-03-14)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:27:45 +02:00
Scott Edlund
df2c8d201d
nix.gc: let systemd use any time config 2024-04-10 21:27:45 +02:00
Robert Helgesson
b832069fe7
kime: remove documentation dependency on config 2024-04-10 21:27:45 +02:00
s.seidenath
d6c2888386
kime: fix configuration
Switches the kime configuration format to use unstructured text. This
is necessary since version 3 and upwards use YAML tags.
2024-04-10 21:27:44 +02:00
Robert Helgesson
e10bf22e7f
docs: minor fixes of guidelines 2024-04-10 21:27:44 +02:00
Michael Peyton Jones
11e7d8b365
prezto: be caseSensitive by default
See https://github.com/nix-community/home-manager/issues/2255.

This causes a really noticeable slowdown that is quite hard to track
down!
2024-04-10 21:27:44 +02:00
Icy-Thought
8b84e081ed
zsh: add patterns option to syntax-highlighting 2024-04-10 21:27:44 +02:00
Icy-Thought
9e32fcfd82
zsh: correct link for syntax-highlighting styles 2024-04-10 21:27:44 +02:00
Matthieu Coudron
134fe37f26
zsh: set autosuggestion color
Before, one could only toggle autosuggestion. This allows to set the
style as well.
2024-04-10 21:27:43 +02:00
Sofie
3d2206c3f7
nix-gc: add daily frequency option
The systemd.time documentation defines the shorthands `daily` and
`minutely` which are currently not included in the nix-gc module.

This commit adds the `daily` option, but omits `minutely` since it's not
a timescale that would make sense to run a gc for.

https://www.freedesktop.org/software/systemd/man/latest/systemd.time.html
2024-04-10 21:27:43 +02:00
Patrick Widmer
b316a65c99
senpai: switch to scfg format 2024-04-10 21:27:43 +02:00
Gabriel Arazas
211ebad3e7
activitywatch: add module 2024-04-10 21:27:43 +02:00
Kylie McClain
77db8b8f12
qutebrowser: actually implement unbinding
The documentation for the option says...

> If you want a default binding to be passed through to the website,
> bind it to null.

but if you actually try to set a key to `null`, it causes an error.

> A definition for option
> `programs.qutebrowser.keyBindings."<Ctrl+Shift+Tab>".normal' is not
> of type `strings concatenated with " ;; "'.

So this commit implements unbinding as it is documented.
2024-04-10 21:27:42 +02:00
nbelakovski
a4831c0193
docs: update beets and description of overriding packages
The beets package no longer has the "enableCheck" option so this was
confusing. Also the word override was used to mean two different
things so I modified the FAQ to use the word "change" and linked to
documentation regarding package overrides.
2024-04-10 21:27:42 +02:00
RepentantKnight121
79e91ba9b6
Translate using Weblate (Vietnamese)
Currently translated at 8.3% (3 of 36 strings)

Co-authored-by: RepentantKnight121 <repentantknight121@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/vi/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:42 +02:00
Sagi Sarussi
6a6d9a5121
eza: fix typo in docs
Changes "rograms.eza.enableAliases" to "programs.eza.enableAliases".
2024-04-10 21:27:42 +02:00
zorrobert
f283f269c1
fusuma: add missing dependencies 2024-04-10 21:27:41 +02:00
Phillip Cloud
c2e656da37
gpg-agent: fix broken variable reference 2024-04-10 21:27:41 +02:00
Bruno BELANYI
7b69acc515
rbw: simplify 'pinentry' type
Following some upstream changes [1], it's now possible to use a simplified
package type for the option.

[1]: https://github.com/NixOS/nixpkgs/pull/133542
2024-04-10 21:27:41 +02:00
Bruno BELANYI
68921b0e80
gpg-agent: migrate to 'pinentryPackage'
This follows upstream's module change [1], which allows setting any
package as a pinentry program.

[1]: https://github.com/NixOS/nixpkgs/pull/133542
2024-04-10 21:27:41 +02:00
Robert Helgesson
2ab545b8d8
joplin-desktop: fix maintainer field 2024-04-10 21:27:41 +02:00
zorrobert
3575316521
joplin-desktop: add module
PR #5020
2024-04-10 21:27:40 +02:00
Robert Helgesson
8b905e22fd
offlineimap: disable starttls if tls is disabled
Fixes #5097
2024-04-10 21:27:40 +02:00
Norbert Melzer
96822d9071
eza: use mkDefault for aliases
Using `mkDefault` for the individual aliases makes it easier to
override or replace individual entries by the user, without having to
use `mkForce` which is often confusing for new users.
2024-04-10 21:27:40 +02:00
ShalokShalom
a3a95b464b
docs: fix broken link 2024-04-10 21:27:40 +02:00
Pim Snel
08ec2b4b40
docs: update home-manager-option-search URL 2024-04-10 21:27:39 +02:00
github-actions[bot]
084f3378b7
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06)
  → 'github:NixOS/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09)
2024-04-10 21:27:39 +02:00
Mathis H
28d24615b3
hyprland: add option for per-input device configs 2024-04-10 21:27:39 +02:00
michaelBelsanti
0236cab5d2
eza: replace enableAliases with integration options 2024-04-10 21:27:39 +02:00
Philipp Kühn
3cfa41e342
neomutt: adding unmailboxes option
Adding unmailboxes option to neomutt, which adds the `unmailboxes`
option it to every account.email with neomutt enabled.

See https://www.mutt.org/doc/manual/#mailboxes for more.
2024-04-10 21:27:39 +02:00
Lin Xianyi
cf47426205
pqiv: add extraConfig option 2024-04-10 21:27:38 +02:00
Matt Wittmann
29a940d8c2
bat: handle existing cache in activation script
Run `bat cache --build` in an empty directory to work around failure
when ~/cache exists.
2024-04-10 21:27:38 +02:00
github-actions[bot]
0c88f782a1
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b8697e57f10292a6165a20f03d2f42920dfaf973' (2024-03-03)
  → 'github:NixOS/nixpkgs/9df3e30ce24fd28c7b3e2de0d986769db5d6225d' (2024-03-06)
2024-04-10 21:27:38 +02:00
Igor
8ea77d5efd
targets/generic-linux: use xdg path for defexpr
Fixes warnings about the non-existent `~/.nix-defexpr` folder when
using `use-xdg-base-directories = true`.

Example:

    warning: Nix search path entry '/home/user/.nix-defexpr/channels' does not exist, ignoring
    Starting Home Manager activation
    Activating checkFilesChanged
    Activating checkLinkTargets
    Activating writeBoundary
    Activating installPackages
    replacing old 'home-manager-path'
    installing 'home-manager-path'
    Activating dconfSettings
    Activating linkDesktopApplications
    Activating linkGeneration
    Cleaning up orphan links from /home/user
    No change so reusing latest profile generation 13
    Creating home file links in /home/user
    Activating onFilesChange
    Activating reloadSystemd
    warning: Nix search path entry '/home/user/.nix-defexpr/channels' does not exist, ignoring
2024-04-10 21:27:38 +02:00
Liassica
f16e7b5824
borgmatic: add option for pattern matching
Borgmatic has support for Borg's pattern matching. It is mutually
exclusive with the existing `sourceDirectories` option, so assertions
have been added to make sure that both are not set at the same
time (but also that at least one of them is). Additionally, tests have
been added to test the following configurations: `patterns` instead of
`sourceDirectories`, both at the same time, and neither.
2024-04-10 21:27:37 +02:00
V
2d44ac2a82
files: fix activation under Nix 2.3
In Nix 2.3, all GC roots must be stored under `/nix/var/nix/gcroots`,
unless `--indirect` is specified. In Nix 2.4 and above, this flag is
ignored, because all GC roots created by `--add-root` are indirect.

Change-Id: I3eb3d7bc774af2ff336a2cdf312d30a99cdcb928
2024-04-10 21:27:37 +02:00