1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-17 05:35:06 +01:00
Commit graph

3881 commits

Author SHA1 Message Date
Emily
9d3d080aec
nixos/common: fix options reference (#6477)
This was resolving to `lib.options.nix.enable.visible or true`,
which is always `true`, and therefore using `nix.enable` where it
shouldn’t be used. Oops…

(cherry picked from commit 25870c6600)
2025-02-16 20:04:09 -06:00
Emily
254d47082e
nixos/common: forward nix.enable from the OS configuration (#6451)
This prevents problematic references to `nix.package` when Nix
management is disabled in the host OS.

(cherry picked from commit 9daae9a67a)
2025-02-14 16:09:59 -06:00
Sebastián Estrella
bd65bc3cde
ghostty: validate configuration on change
Runs `ghostty +validate-config` when the configuration file changes.

Co-authored-by: Heitor Augusto <IAm.HeitorALN@proton.me>
(cherry picked from commit 11ab08541e)
2025-01-08 22:58:59 +01:00
Heitor Augusto
d4b030780a
ghostty: fix configuration for bat syntax
(cherry picked from commit a6f37e5785)
2025-01-08 22:58:58 +01:00
Heitor Augusto
e759746be4
ghostty: add module
Refs: 5f6aa268e4
2025-01-08 22:58:58 +01:00
Matthieu Coudron
511143d3fa
gpg: fix hash of test (#6200)
would fail on tests

(cherry picked from commit 15151bb5e7)
2025-01-08 22:49:36 +01:00
Robert Helgesson
64e7de90ee
treewide: change pacien to euxane
To match a recent change in Nixpkgs.

(cherry picked from commit 35b98d20ca)
2025-01-08 21:02:54 +01:00
EmmChriss
613691f285
pqiv: fix condition for writing pqivrc file
Specifically, write the configuration if either settings or
extraConfig are set.

(cherry picked from commit b7a7cd5dd1)
2024-12-28 01:04:50 +01:00
Simone Ragusa
80b0fdf483
docs: fix typo in 24.11 release notes
(cherry picked from commit 83ecd50915)
2024-12-16 17:23:14 +01:00
Antoine Martin
1318c3f3b0
[24.11 backport] isync/mbsync: update module for 1.5.0 changes (#6194)
* mbsync: Add NEWS entry about isync 1.5.0 changes

* mbsync: Place config file in $XDG_CONFIG_HOME

mbsync 1.5.0 supports placing isync's configuration file in
$XDG_CONFIG_HOME/isyncrc [1].

[1] https://sourceforge.net/projects/isync/files/isync/1.5.0/

* mbsync: Replace SSLType with TLSType

mbsync 1.5.0 replaced the name of the configuration option [1].

Also update SSLVersions to TLSVersions for the same reason. Inform the
user if the option was renamed.

[1] https://sourceforge.net/projects/isync/files/isync/1.5.0/

* mbsync: Replace SSLVersions with TLSVerisons

* mbsync: Update extraConfig.account example with SSL->TLS changes

Co-authored-by: Karl H <34152449+KarlJoad@users.noreply.github.com>
2024-12-11 22:12:16 +01:00
Robert Helgesson
c7ffc9727d
nix: simplify tests
(cherry picked from commit d00c6f6d0a)
2024-12-07 12:59:49 +01:00
Robert Helgesson
9afd809a3c
xresources: simplify tests
(cherry picked from commit 63eb786e04)
2024-12-07 12:59:49 +01:00
Robert Helgesson
f79a81d300
cmus: reduce test closure
(cherry picked from commit 0b42cc1b1c)
2024-12-07 12:59:49 +01:00
Robert Helgesson
901bce8b37
fcitx5: fix package reference in test
(cherry picked from commit 953521f759)
2024-12-07 12:59:49 +01:00
Ken Micklas
176a1078a5
lorri: fix ReadWritePaths for new gcroots behavior
(cherry picked from commit 819f682269)
2024-12-07 12:23:47 +01:00
Igor Rzegocki
e38d3dd1d3
kubecolor: add module
(cherry picked from commit 8632735050)
2024-12-06 11:57:44 +01:00
Robert Helgesson
62d5362558
docs: set manual title 2024-12-01 11:49:21 +01:00
Robert Helgesson
f46891fc0a
home-manager: prepare 24.11 release
(cherry picked from commit 4964f3c6fc)
2024-12-01 11:45:40 +01:00
Sebastián Zavala Villagómez
f3111f62a2
hypridle: fix service when no config file
The systemd user service depends on

  config.xdg.configFile."hypr/hypridle.conf".source

for `X-Restart-Triggers`. When `cfg.settings` is the default `{}`,
this causes failure since

  config.xdg.configFile."hypr/hypridle.conf".source

will not exist.

Making the addition conditional on `cfg.settings` actually having
content, which would mean `xdg.configFile."hypr/hypridle.conf"` does
exist, avoids the error.

(cherry picked from commit 5e2f47c5a5)
2024-11-24 17:43:39 +01:00
Sebastián Zavala Villagómez
2777de38dd
hyprpaper: fix service when no config file
The systemd user service depends on

  config.xdg.configFile."hypr/hyprpaper.conf".source

for `X-Restart-Triggers`. When `cfg.settings` is the default `{}`,
this causes failure since

  config.xdg.configFile."hypr/hyprpaper.conf".source

will not exist.

Making the addition conditional on `cfg.settings` actually having
content, which would mean `xdg.configFile."hypr/hyprpaper.conf"` does
exist, avoids the error.

(cherry picked from commit bd58a1132e)
2024-11-24 14:06:48 +01:00
chayleaf
f8831cc700
librewolf: hide bookmarks option
(cherry picked from commit 0bd5e9c76c)
2024-11-23 00:45:36 +01:00
chayleaf
bef567c229
librewolf: use mkFirefoxModule
(cherry picked from commit 18462998b1)
2024-11-23 00:45:36 +01:00
Ilham AM
30a16c91a4
zsh-abbr: update source path (#6084)
(cherry picked from commit f3a2ff6958)
2024-11-23 00:45:36 +01:00
Robert Helgesson
7145facdc6
espanso: fix test failure
(cherry picked from commit a46e702093)
2024-11-22 23:38:29 +01:00
Robert Helgesson
2d63276f05
tests: fix integration test
(cherry picked from commit 8cf9cb2ee7)
2024-11-22 23:12:19 +01:00
wadsaek
d47cc14f28
Translate using Weblate (Ukrainian)
Currently translated at 100.0% (37 of 37 strings)

Co-authored-by: wadsaek <wadsaek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/uk/
Translation: Home Manager/Home Manager CLI
(cherry picked from commit 705cf3763a)
2024-11-22 23:12:05 +01:00
Lorenzo Bevilacqua
457715d0c0
Translate using Weblate (Italian)
Currently translated at 100.0% (37 of 37 strings)

Co-authored-by: Lorenzo Bevilacqua <lorenzobevilacqua02@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/it/
Translation: Home Manager/Home Manager CLI
(cherry picked from commit 094265fca0)
2024-11-22 23:12:05 +01:00
Robert Helgesson
c36861027d
ci: make dependabot consider release-24.11
(cherry picked from commit 0918bb0238)
2024-11-22 23:11:45 +01:00
Robert Helgesson
c9b8488c92
home-manager: switch upstream references to 24.11 2024-11-22 23:09:22 +01:00
Robert Helgesson
3a1bd31376
home-manager: mark as release branch 2024-11-22 22:43:49 +01:00
Kacper Koniuszy
aecd341dfe
firefox: improve search engine disclaimer generation
Using a fixed application name in the salt for the search engine name
hash can break with minor branding changes. For example, LibreWolf 127
used the application name "LibreWolf", but in version 128 it is
"Firefox".

The proper name can be found in about:support -> Application Basics.

Because it doesn't have to be related to the product name visible in
most of the browser (for example in the window title and help menus),
we shouldn't rely on cfg.name for that.

The application name can be read from lib/*/application.ini and we can
use that if the browser was installed via Home Manager. If not, we can
fall back to cfg.name.
2024-11-17 22:58:01 +01:00
Juanjo Presa
5056a1cf0c
version: allow 25.05 as state version
Nixpkgs updated upstream:
90fcf3aa7e
2024-11-17 09:34:39 +01:00
Andrew Marshall
1bd5616e33
lib/file-type: Make force option visible (#6003)
This is something that is useful, we should not hide it from the docs.
2024-11-16 20:54:20 +01:00
Nanotwerp
c7c2517612
{gtk, dunst}: replace pkgs.gnome.adwaita-icon-theme with pkgs.adwaita-icon-theme in the examples (#5712)
`adwaita-icon-theme` has been moved out of the `gnome` scope and into the top level with https://github.com/NixOS/nixpkgs/pull/319659
2024-11-16 19:36:13 +01:00
Jany
d154a557da
aerc: add support of account gpg config (#5298) 2024-11-16 18:38:16 +01:00
Michael Hoang
192f123e4b
nixos: add key to shared module to allow disabling it (#6017)
By adding `key`, this allows users to disable this shared module or they can choose to not disable this shared module (by filtering by key before disabling)

This means users can disable all shared modules if all modules are paths or attrsets with a key:

`configuration.nix`:

```nix
{ config, ... }:

{
  home-manager.users.enzime = { ... }: {
    disabledModules = config.home-manager.sharedModules;
  };
}
```

Or disabling just this module specifically:

```nix
{ ... }:

{
  home-manager.users.enzime = { ... }: {
    disabledModules = [ { key = "home-manager#nixos-shared-module"; } ];
  };
}
```

Or disabling all modules when you have modules you can't disable (like lambdas):

```nix
{ ... }:

{
  home-manager.users.enzime = { ... }: {
    disabledModules = lib.filter (v: lib.isString v || lib.isPath v || (lib.isAttrs v && v ? key)) config.home-manager.sharedModules;
  };
}
```


https://nixos.org/manual/nixos/unstable/#sec-replace-modules
2024-11-16 18:31:16 +01:00
Michael Hoang
400e3c0152
nixos: always run home-manager on NixOS activation (#5780)
Currently, the home-manager systemd service will only get restarted when
the home-manager configuration changes. This can lead to issues in
users' home directories not getting corrected for a while.

    $ rm ~/.zshrc
    $ sudo nixos-rebuild switch
    $ ls ~/.zshrc
    ls: cannot access '/home/enzime/.zshrc': No such file or directory
2024-11-16 18:25:31 +01:00
gmvar
1d0862ee2d
feh: add themes option (#6074)
- added themes option
- added themes test
- updated broken man page links
2024-11-14 18:16:21 +01:00
Gaétan Lepage
35b055009a
kanshi: add package to home.packages 2024-11-13 23:07:20 +01:00
RedEtherbloom
3c044aefe6
git-sync: add example to repository option 2024-11-13 23:03:24 +01:00
RedEtherbloom
cd21d2e61b
git-sync: fix crash when whitespace in path
systemd rejects the service unit due to whitespace in the environment
variable assignment, pointing to the repo path, being invalid for
systemd's unit format.

See https://github.com/nix-community/home-manager/issues/6023 for
details.

The git-sync variable should also be escaped due to similar issues
with e.g. local git urls.
2024-11-13 23:03:19 +01:00
RedEtherbloom
ee8ff6d53f
espanso: fix test for nixpkgs update
Recent nixpkgs update made a small change how YAML is generated,
causing the test YAML to be out of date.

The replacement match is also an exact example from the espanso wiki
https://espanso.org/docs/matches/basics/#multi-line-expansions.
2024-11-13 22:51:34 +01:00
RedEtherbloom
7e42a37bf7
spotify-player: fix test for nixpkgs update
Recent nixpkgs update made a small change to how TOML is generated,
causing the test toml to be out of date.
2024-11-13 22:51:33 +01:00
RedEtherbloom
40746b5c77
alacritty: fix test for nixpkgs update
Recent nixpkgs update made a small change to how TOML is generated,
causing the test toml to be out of date.
2024-11-13 22:51:33 +01:00
home-manager-bot
149a48da31
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/807e9154dcb16384b1b765ebe9cd2bba2ac287fd?narHash=sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU%3D' (2024-10-29)
  → 'github:NixOS/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2?narHash=sha256-IigrKK3vYRpUu%2BHEjPL/phrfh7Ox881er1UEsZvw9Q4%3D' (2024-11-09)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-13 22:50:06 +01:00
Milo Moisson
60bb110917
helix: fix wrapping of extraPackages
This makes extraPackages the default, but they do not shadow the env
so you can still have packages (e.g. LSPs) with a different version
than the global one in you local env like nix's shells.
2024-11-10 11:42:08 +01:00
Gaétan Lepage
7309007271
news: fix typo 2024-11-10 11:38:24 +01:00
rodrigovillarbello
2f607e07f3
docs: home.sessionVariable clarification
Closes: https://github.com/nix-community/home-manager/issues/6027
2024-11-05 21:18:50 +01:00
home-manager-bot
8f6ca7855d
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/18536bf04cd71abd345f9579158841376fdd0c5a?narHash=sha256-RP%2BOQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM%3D' (2024-10-25)
  → 'github:NixOS/nixpkgs/807e9154dcb16384b1b765ebe9cd2bba2ac287fd?narHash=sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU%3D' (2024-10-29)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-03 12:34:30 +01:00
sinavir
2c6a9b3ccf
git: fix maintenance service
Call to git-maintenance in the systemd user service was using a
erroneous value for exec-path flag. Removing the flag is fine.
2024-11-03 12:29:02 +01:00