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

3429 commits

Author SHA1 Message Date
Sandro
11f904ea29
gpg-agent: don't set a default for pinentry
NixOS stopped building gtk2 pinentry by default in
https://github.com/NixOS/nixpkgs/pull/270266 and there does not appear
to be a reasonable other default.
2024-04-10 21:27:03 +02:00
Harsh Shandilya
d5f201ca6c
gh: test for existence of hosts file
Having the module enabled but never using gh will result in the config file
existing but no hosts.yml. In that scenario we won't have anything to
migrate, so only test for hosts.yml.
2024-04-10 21:27:03 +02:00
Harsh Shandilya
6ea6f0fbbb
gh: include version in settings
Also add an activation script block for allowing gh version 2.40.0 and
later to perform account migration.
2024-04-10 21:27:03 +02:00
github-actions[bot]
3dfe0c7602
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
  → 'github:NixOS/nixpkgs/6df37dc6a77654682fe9f071c62b4242b5342e04' (2023-12-22)
2024-04-10 21:27:02 +02:00
Callum Iddon
5101f01406
oh-my-posh: enable nushell integration 2024-04-10 21:27:02 +02:00
Louis Thevenet
d7802f85c7
Translate using Weblate (French)
Currently translated at 100.0% (35 of 35 strings)

Co-authored-by: Louis Thevenet <louis.thevenet@proton.me>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fr/
Translation: Home Manager/Home Manager CLI
2024-04-10 21:27:02 +02:00
Michael Hoang
9013d09c2a
home-environment: fix incompatible profile error
This fixes the error:

    error: profile '/nix/var/nix/profiles/per-user/enzime/profile' is incompatible with 'nix-env'; please use 'nix profile' instead
2024-04-10 21:27:02 +02:00
TornaxO7
07a186f6b9
gpg-agent: add nushell integration 2024-04-10 21:27:02 +02:00
pacien
91b4c632e6
unison: better retry/restart reporting failures
The service was never marked with a failed state with the previous
approach, which could lead broken synchronisation pair states to go
undetected.

The module now uses a timer instead of unlimited restarts, which does
not have this issue.
2024-04-10 21:27:01 +02:00
sg-qwt
20552eb59b
firefox: update docs example for nativeMessagingHosts
closes https://github.com/nix-community/home-manager/issues/4630

old way of cfg.enableTridactylNative is deprecated upstream
2024-04-10 21:27:01 +02:00
lgehr
2e895634fd
aerc-accounts: support for maildirpp (#4653)
* aerc-accounts: support for maildirpp

aerc-accounts now is aware of the mbsync.subFolders setting

* aerc: Adds test for maildirpp format

---------

Co-authored-by: lgehr <lgehr@mailbox.org>
2024-04-10 21:27:01 +02:00
r-vdp
18ddbc7f58
nix-index: use interactive shell init for Fish 2024-04-10 21:27:01 +02:00
r-vdp
8b48ff169c
zoxide: use interactive shell init for Fish 2024-04-10 21:27:00 +02:00
Stel Abrego
fbba065912
fish: escape abbr expansions once again
Commit 8cedd6 `fish: support flexible abbreviations` removed shell
escaping for fish shell abbr values. This was a dangerous breaking
change offered little value and made writing abbr expansions more
difficult. This commit restores automatic shell escaping of fish abbr
values.
2024-04-10 21:27:00 +02:00
Joaquín Triñanes
7326ba7a92
direnv: Fix nushell integration ENV_CONVERSIONS 2024-04-10 21:27:00 +02:00
Joaquín Triñanes
a05cca1dcc
direnv: Make lines shorter 2024-04-10 21:27:00 +02:00
Joaquín Triñanes
998e70eb82
direnv: Use ${getExe pkg} instead of ${pkg}/bin/pkg 2024-04-10 21:26:59 +02:00
Joaquín Triñanes
63d6e2de24
direnv: Apply nushell env transformations
In nushell, the ENV_CONVERSIONS environment variable is used to
transform the defined variables from a string to a nushell value (PATH
to a list being one of the most common uses). This commit applies
user-defined conversions to direnv-loaded variables.

This fixes binary autocompletion not being triggered for newly added
paths and makes direnv work consistently with nushell
2024-04-10 21:26:59 +02:00
Tobias H. Petersen
c48e350d72
docs: fix broken home-manager options link 2024-04-10 21:26:59 +02:00
Robert Helgesson
8fbb6b56d2
gradle: temporarily comment out the maintainer entry
Turns out it was an undefined entry.
2024-04-10 21:26:59 +02:00
Robert Helgesson
32b112ac5d
thefuck: fix test case 2024-04-10 21:26:59 +02:00
Robert Helgesson
d07ec93a9d
sway: fix failing tests
Due to a recent change in Nixpkgs, the version field is required for
the sway package.
2024-04-10 21:26:58 +02:00
Benedikt Ritter
52cdf5acc5
gradle: add module
Introduces a new program called gradle for managing files stored in
the home directory by the [Gradle Build Tool](https://gradle.org).
Gradle uses the $HOME/.gradle folder for all it's configuration.

Features of the new program module are:

- Automatically setting programs.java.enable = true to make a Java
  installation available for running Gradle.
- Specifying an alternate Gradle home directory
- Setting of abitrary values for gradle.properties stored inside the
  Gradle home directory.
- Defining init scripts that will be linked into the init.d inside
  the Gradle home directory.

Co-authored-by: Olli Helenius <liff@iki.fi>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2024-04-10 21:26:58 +02:00
Pierce Bartine
a842f812ef
sapling: add module
Adds a program module for [Sapling](https://sapling-scm.com/).

Since Sapling itself is very similar in nature to Mercurial,
`modules/programs/mercurial.nix` was copied to make this module with
the ignore pieces removed (Sapling respects gitignore).
2024-04-10 21:26:58 +02:00
katelyn martin
e8ca9918a6
docs: fix typo in nix-flakes.md 2024-04-10 21:26:58 +02:00
Robert Helgesson
32bb7a2ace
home-manager: sort list packages output
Fixes #4788
2024-04-10 21:26:57 +02:00
Robert Helgesson
32a4186681
docs: set the manual version to "24.05 (unstable)" 2024-04-10 21:26:57 +02:00
Viktor Kronvall
b602c2fc2f
docs: fix broken link text 2024-04-10 21:26:57 +02:00
Viktor Kronvall
075ce54dd6
docs: fix link texts in release notes 2024-04-10 21:26:57 +02:00
e-nikolov
b8c7947a7a
home-manager: improve nix profile detection
If `nix.settings.use-xdg-base-directories` is true, the
`~/.nix-profile` directory may not exist, and `home.profileDirectory`
should be checked instead.

Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
2024-04-10 21:26:57 +02:00
ThinkChaos
b74e57ea03
gtk: fix GTK 4 theme being ignored
Haven't dug into any code, but my best guess is GTK 4 ignores it on
purpose since devs campaigned against theming: https://stopthemingmy.app

According to the following link, it's fine for users to do it as long
as they don't expect support from app devs. And the campaign was
against distributions applying custom themes by default.

  https://github.com/GradienceTeam/Gradience/tree/0.4.1#%EF%B8%8F-gradience-stopthemingmyapp-and-adwaita-developers
2024-04-10 21:26:56 +02:00
Viktor Kronvall
f1590a90ea
docs: add considerate as maintainer 2024-04-10 21:26:56 +02:00
Viktor Kronvall
1ce2f83059
docs: use .xhtml for appendices 2024-04-10 21:26:56 +02:00
Viktor Kronvall
59087dc8b6
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.
2024-04-10 21:26:56 +02:00
Pierre Baillet
e7ce15f75a
fish: Fix babelization of hm-session-vars
Wrap babelfish version of hm-session-vars.sh into a function to avoid a
syntax error due to the use of `return` in the script.
2024-04-10 21:26:55 +02:00
Ryan
beb1e57d60
yazi: pass additional args to ya alias
This allows commands like `ya /etc/nixos` and `ya --help` to be used.
2024-04-10 21:26:55 +02:00
Robin Gloster
5ce51947f5
hyprland: mark plugin setting as important
The plugins are often necessary for other configurations.
2024-04-10 21:26:55 +02:00
Robert Helgesson
d44e73cb27
flake: add packages for tests
With this it is possible to build a specific test by running

    $ nix build -L .#test-{test name}

For example

    $ nix build -L .#test-files-text
2024-04-10 21:26:55 +02:00
Ujp8LfXBJ6wCPR
14dd7d71fb
hyprland: improve config reload
When using the previous approach I've always gotten errors that I can't
reload config on the .lock file that exists in /tmp when you run a
standard configured hyprland.

This commit improves this by using hyprctl to find instances to reload
instead.

We can remove the HYPRLAND_INSTANCE_SIGNATURE bogus assignment once
https://github.com/hyprwm/Hyprland/issues/4088 is resolved.

Co-authored-by: Carl Hjerpe <git@hjerpe.xyz>
2024-04-10 21:26:55 +02:00
home-manager-bot
3d480fe009
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2c7f3c0fb7c08a0814627611d9d7d45ab6d75335' (2023-12-04)
  → 'github:NixOS/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:26:54 +02:00
Jan Schmitt
6a3e98c2f8
ssh: add addKeysToAgent option 2024-04-10 21:26:54 +02:00
Moritz Rumpf
2025495826
awscli: only write config files when not empty 2024-04-10 21:26:54 +02:00
Phil Simpson
e914868bde
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 = [
```
2024-04-10 21:26:54 +02:00
Brian Leung
8b3fb94f60
msmtp: add configurable package 2024-04-10 21:26:53 +02:00
Lucas Eduardo
472b4ef941
Translate using Weblate (Portuguese)
Currently translated at 100.0% (35 of 35 strings)

Translation: Home Manager/Home Manager CLI
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt/
2024-04-10 21:26:53 +02:00
Blezz Rot
cb1c15af33
Translate using Weblate (Russian)
Currently translated at 100.0% (18 of 18 strings)

Translation: Home Manager/Home Manager Modules
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ru/
2024-04-10 21:26:53 +02:00
Blezz Rot
10af4ff99f
Translate using Weblate (Russian)
Currently translated at 100.0% (18 of 18 strings)

Translation: Home Manager/Home Manager Modules
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ru/
2024-04-10 21:26:53 +02:00
teu5us
1f9844c605
Translate using Weblate (Russian)
Currently translated at 100.0% (18 of 18 strings)

Translation: Home Manager/Home Manager Modules
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ru/
2024-04-10 21:26:53 +02:00
Blezz Rot
596a7cb725
Translate using Weblate (Russian)
Currently translated at 100.0% (35 of 35 strings)

Translation: Home Manager/Home Manager CLI
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ru/
2024-04-10 21:26:52 +02:00
Nara Díaz Viñolas
96955d198e
Translate using Weblate (Catalan)
Currently translated at 100.0% (35 of 35 strings)

Translate using Weblate (Catalan)

Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: Nara Díaz Viñolas <rdvdev2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/ca/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/ca/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-04-10 21:26:52 +02:00