1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-10 21:29:48 +01:00
Commit graph

3385 commits

Author SHA1 Message Date
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
V
e6a96733c5
treewide: stop run from discarding error messages
In most cases where this function is used, suppressing only the standard
output is more appropriate. Culling diagnostic output hides error
messages and makes debugging more difficult and confusing.

`$DRY_RUN_NULL`, which the `--silence` flag replaced, was used both for
suppressing standard output on its own, and for doing so along with
diagnostic output; however, when the `run` function was added this
distinction was lost, and both outputs would be discarded.

This reintroduces the needed functionality, and changes usages of
`--silence` to `--quiet` where previously only standard output was
suppressed, or where this should have probably been the case anyway.

Change-Id: Ifb1b52a1d1eea0117261c782d686ad7c71b43162
2024-04-10 21:27:37 +02:00
Filip Pobořil
507cd7a862
ranger: add module 2024-04-10 21:27:37 +02:00
Silmar
c18657cc4c
zk: add module 2024-04-10 21:27:36 +02:00
Robert Helgesson
a208d4e7a3
rio: fix docbookisms 2024-04-10 21:27:36 +02:00
David Sánchez
ccf631b9e2
rio: use XDG config for both linux and darwin
`rio` now uses the same config location for both Linux and macOS:

> MacOS and Linux configuration file path is `~/.config/rio/config.toml`.

Ref: https://raphamorim.io/rio/docs/configuration-file
2024-04-10 21:27:36 +02:00
Clément DOUIN
8d54a2788d
himalaya: adjust code for v1.0.0-beta.3 2024-04-10 21:27:36 +02:00
Roberto Abdelkader Martínez Pérez
a13f6dc6be
git-sync: allow passing extraPackages to service
Sometimes extra packages are needed to successfully update a
repository, for example, git-sync.
2024-04-10 21:27:36 +02:00
novenary
0c4a97f880
xdg-user-dirs: check for existing symlink
When a non-directory, such as a file or a dead symlink, already exists,
mkdir -p fails with "cannot create directory ‘...’: File exists".

This is a problem when, for example, a symlink points to a directory on
a filesystem that isn't mounted yet.
2024-04-10 21:27:35 +02:00
bri
942146ac90
zsh: improve shell{,Global}Aliases
This commit changes the way aliases are rendered, adding the "no more
flags" flag `--`, which means that, for example, the alias `"-" = "cd
-";` will work as expected. (I was getting a syntax error before this
change.)

Additionally, now the alias key is shell escaped, which may help some
edge cases. I'm honestly not sure if this part is necessary since I
assume an alias can't contain spaces anyway, but it definitely
shouldn't break anything.
2024-04-10 21:27:35 +02:00
Isaac Grannis
a2b56736d8
vdirsyncer: fix verify option type (#5096)
* vdirsyncer: change verify to type path

accounts.<calendar/contacts>.accounts.<name>.vdirsyncer.verify should not be a bool, it should be a path.

* vdirsyncer: Add example of verify use
2024-04-10 21:27:35 +02:00
musjj
98d1d23212
gallery-dl: add package option 2024-04-10 21:27:35 +02:00
Sebastian Sellmeier
f4e057dba5
i3/sway: remove sebtm maintainer 2024-04-10 21:27:34 +02:00
Robert Helgesson
e8d2f7f8e1
Translate using Weblate (German)
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Robert Helgesson <robert@rycee.net>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/de/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:34 +02:00
Languages add-on
f10107e927
Add translation using Weblate (Vietnamese)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2024-04-10 21:27:34 +02:00
Alexis Rossfelder
eef91cfe93
Translate using Weblate (French)
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Alexis Rossfelder <rossfelderalexis@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:34 +02:00
Nam Nguyen
5fce3f2763
Add translation using Weblate (Vietnamese)
Co-authored-by: Nam Nguyen <pnam2311@gmail.com>
2024-04-10 21:27:34 +02:00
immwind
8e5112be1a
Translate using Weblate (Chinese (Simplified))
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: immwind <i@immwind.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/zh_Hans/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:33 +02:00
Sera Karayan
bb268ad9e5
Translate using Weblate (German)
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: Sera Karayan <sera@icefish.dev>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/de/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:33 +02:00
FedFer98123
4044f2cfd5
Translate using Weblate (Italian)
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: FedFer98123 <fede.ferrari123@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/it/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:33 +02:00
7FM
05f0e9a0b5
programs.khal: Simplify calendar setup (#5073)
* programs.khal: fix build failure due to null value

* calendar: allow null value for primaryCollection

* calendar / programs.khal: set default values to avoid common errors
2024-04-10 21:27:33 +02:00
Robert Helgesson
9da77acf45
tests: include a service in integration tests 2024-04-10 21:27:32 +02:00
Robert Helgesson
c13e6dc518
pueue: always write configuration file
Pueue requires the configuration file to contain a `shared` entry. We
therefore unconditionally add it as `shared: {}`.

Fixes #4295
2024-04-10 21:27:32 +02:00
home-manager-bot
c2c830e86a
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5863c27340ba4de8f83e7e3c023b9599c3cb3c80' (2024-02-16)
  → 'github:NixOS/nixpkgs/b8697e57f10292a6165a20f03d2f42920dfaf973' (2024-03-03)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:27:32 +02:00
Joaquín Triñanes
abec9da80c
gpg-agent: Fix nushell integration 2024-04-10 21:27:32 +02:00
Robert Helgesson
299c891e49
ci: remove cachix action
All the extra binary cache lookups and uploads to Cachix make the
build quite a bit slower than necessary.
2024-04-10 21:27:32 +02:00
Robert Helgesson
943a9b3727
gpg: fix immutable keyfile test 2024-04-10 21:27:31 +02:00
Robert Helgesson
4342e07a09
bemenu: stub package in tests 2024-04-10 21:27:31 +02:00
Robert Helgesson
941726161c
fcitx5: fix reference to fcitx5-with-addons 2024-04-10 21:27:31 +02:00
dependabot[bot]
cf070d340b
ci: bump DeterminateSystems/update-flake-lock from 20 to 21
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 20 to 21.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v20...v21)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  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>
2024-04-10 21:27:31 +02:00
Felipe Silva
6c7547cbcb
khal: fix contact integration (#4836)
* khal: fix contact integration

- Add tests for contact+khal
- Make options `color`/`priority` available for contact accounts

* khal: add separate calendar for each contact collection

A contact account may have multiple VCARD collections, but Khal doesn't
search recursively. Collection folder names must be hardcoded, and each
has its own calendar.

- Add khal.collections option for contact accounts
- Default to previous setup for accounts with a single collection
- Add tests

* khal: specify how priority is defined by Khal

See https://khal.readthedocs.io/en/latest/configure.html
2024-04-10 21:27:30 +02:00
Robert Helgesson
0e561e8755
fcitx5: fix tests 2024-04-10 21:27:30 +02:00
Robert Helgesson
85f3c41ef2
tests: add mkStubPackage in Nixpkgs overlay 2024-04-10 21:27:30 +02:00
Weblate (bot)
2292b52203
Translate using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (36 of 36 strings)


Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt_BR/
Translation: Home Manager/Home Manager CLI

Co-authored-by: guto <joaoaugustolanjoni@gmail.com>
2024-04-10 21:27:30 +02:00
John Axel Eriksson
cb76bfe06c
river: fix systemd activation (#5055)
The `exec` command does not do any shell parsing and does not
understand the `&&` which is how the extraCommands are added after
dbus activation. There doesn't seem to be a reason for `exec` here
anyway so just remove it and allow shell parsing.
2024-04-10 21:27:30 +02:00
XYenon
28e90a978e
yazi: update shell integrations (#5048) 2024-04-10 21:27:29 +02:00
Christina E. Sørensen
380a878c27
xscreensaver: add package option
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-10 21:27:29 +02:00
Mihai Fufezan
6b87f2846d
hyprland: fix reloading
Fix hyprctl erroring out due to HIS.
2024-04-10 21:27:29 +02:00
Judson Lester
7f1470c203
lorri: systemd allow access to cache directories
Some nix builds require RW access to `.cache/nix` and `.cache/lorri`.
2024-04-10 21:27:29 +02:00
Joey Territo
9aea11023d
zsh: fix broken ZDOTDIR when path contains spaces 2024-04-10 21:27:28 +02:00
gallegonovato
c8e39cdb04
Translate using Weblate (Spanish)
Currently translated at 100.0% (36 of 36 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/es/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:28 +02:00
Gaetan Lepage
b59d9800c3
river: add module 2024-04-10 21:27:28 +02:00
James Conroy-Finn
6279ed6871
jujutsu: remove shell completion
Completion is installed by the jujutsu package itself, making this
additional setup redundant.

https://github.com/nix-community/home-manager/pull/5016#issuecomment-1947449541
https://github.com/nix-community/home-manager/pull/5037#pullrequestreview-1888843990
2024-04-10 21:27:28 +02:00
Nikita Pedorich
d4d413a2a8
tealdeer: module improvements
- Cache update on HM activation removed
- freeformType settings
- More tests added
- Platform-dependent tests
- Maintainer added
2024-04-10 21:27:27 +02:00
Albert Peschar
6ade7aed90
darwin: fonts: speed up font installation
* Skip font installation if the derivation hasn't changed.
* Use `rsync` instead of `install` to copy font files, to avoid useless
  copying of pre-existent identical files.
2024-04-10 21:27:27 +02:00