1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
Commit graph

954 commits

Author SHA1 Message Date
Nicholas Ciechanowski
db9a98e178
pay-respects: add module
Add pay-respects module including shell integration support for bash,
zsh, fish and nushell.
2024-12-21 18:13:06 +01:00
David Chocholatý
99f54cdfef
yazi: fix example option for settings 2024-12-21 18:04:53 +01:00
DaRacci
66c5d8b628
zed-editor: fix always generating settings.json
Makes it so settings.json no longer gets made by ensuring it can be
empty as expected when there are no extensions or userSettings
defined.

PR #6201
2024-12-13 13:34:55 +01:00
Matthieu Coudron
3066cc58f5
kanshi: dont write config in absence of nix settings (#6198) 2024-12-12 23:48:46 +01:00
Matthieu Coudron
e526fd2b1a
gnome-shell: fix extensions' default (#6199)
Else I get a
===

       … while calling the 'throw' builtin
         at /nix/store/afpmddfrmx5df3h16bdh00yy8i7db8w4-source/pkgs/desktops/gnome/default.nix:96:28:
           95|   gnome-shell = throw "The ‘gnome.gnome-shell’ was moved to top-level. Please use ‘pkgs.gnome-shell’ directly."; # Added on 2024-08-28.
           96|   gnome-shell-extensions = throw "The ‘gnome.gnome-shell-extensions’ was moved to top-level. Please use ‘pkgs.gnome-shell-extensions’ directly."; # Added on 2024-08-11.
             |                            ^
           97|   gnome-software = throw "The ‘gnome.gnome-software’ was moved to top-level. Please use ‘pkgs.gnome-software’ directly."; # Added on 2024-08-11.

       error: The ‘gnome.gnome-shell-extensions’ was moved to top-level. Please use ‘pkgs.gnome-shell-extensions’ directly.
===

on rebuild
2024-12-12 21:58:33 +01:00
Matthieu Coudron
15151bb5e7
gpg: fix hash of test (#6200)
would fail on tests
2024-12-12 20:18:22 +01:00
Aidan Gauland
8772bae58c
nushell: allow installing plugins
When the version of Nushell or any Nushell plugin changes, the plugin
registry must be regenerated.
2024-12-10 23:21:17 +01:00
alois31
9ebaa80a22
thunderbird: set the correct SMTP server for aliases (#6177)
Previously, only the main identity of an account would get the proper SMTP
server assigned. Identities corresponding to aliases would not get an SMTP
server assigned at all, leading to a (Thunderbird-internal) fallback to the
SMTP server associated to the primary account. This is obviously wrong for
non-primary accounts having aliases associated to them. Fix it by specifying
the SMTP server explicitly for all identities.
2024-12-09 15:34:21 +01:00
Karl H
f63c15c137
isync/mbsync: update module for 1.5.0 changes (#5918)
* 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
2024-12-09 15:32:05 +01:00
Robert Helgesson
d00c6f6d0a
nix: simplify tests 2024-12-06 12:24:37 +01:00
Robert Helgesson
63eb786e04
xresources: simplify tests 2024-12-06 12:22:03 +01:00
Robert Helgesson
0b42cc1b1c
cmus: reduce test closure 2024-12-06 12:19:59 +01:00
Robert Helgesson
953521f759
fcitx5: fix package reference in test 2024-12-06 12:08:32 +01:00
Linus Heckemann
65912bc684
imapnotify: provide an option for setting PATH
Including some useful presetting for notmuch and mbsync.
2024-12-05 10:08:50 +01:00
eljamm
0daaded612
starship: replace eval with source for fish
Changed the initialization method from `eval` to `source` as per the
starship installation guide.

See: https://starship.rs/guide/#%F0%9F%9A%80-installation

This is in accordance with the Fish docs which recommends using `source`
if the command does not need access to stdin, which in this case is what
upstream has.

See: https://fishshell.com/docs/current/cmds/eval.html
2024-12-05 00:19:44 +01:00
eljamm
86ee1290d7
starship: add enableInteractive option for fish
Some fish plugins such as https://github.com/acomagu/fish-async-prompt
require that starship be initialized as non-interactive.

When the `programs.starship.enableInteractive` option is enabled,
starship is initialized at the end of the init script, outside the
interactive block.
2024-12-05 00:19:44 +01:00
Robert Helgesson
6c3a7a0b72
qt: reduce test closure 2024-12-04 10:24:09 +01:00
Bruno BELANYI
bf23fe4108
tmux: add 'focusEvents'
With `tmux-sensible` being disabled by default, add an easy toggle to
enable this functionality.

Disabled by default, as in upstream `tmux`.
2024-12-02 22:43:34 +01:00
Gaétan Lepage
873e39d5f4
podman-container: fix tests and failing podman 5.3.0 service
Co-authored-by: Dylan Wilson <dylan@bytepen.com>
2024-12-02 11:05:28 +01:00
Igor Rzegocki
8632735050
kubecolor: add module 2024-12-01 20:35:09 +01:00
Terje Larsen
e71e678d18
nix-your-shell: add module 2024-12-01 20:20:16 +01:00
Gaétan Lepage
7f78e2d1c6
yazi: update keymap config 2024-12-01 18:47:01 +01:00
Gen
f83dc9f25a
tmux: set sensibleOnTop = false as a default
Fixes #5952
2024-11-28 11:30:10 +01:00
Jordan Williams
a9953635d7
mopidy: restart service on config changes
Also extend basic configuration test a bit to verify the restart
trigger.
2024-11-24 22:04:15 +01:00
Tomodachi94
98bf8de65d
volnoti: use cfg.package instead of pkgs 2024-11-24 19:06:58 +01:00
Sebastián Zavala Villagómez
5e2f47c5a5
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.
2024-11-24 17:41:50 +01:00
Sebastián Zavala Villagómez
bd58a1132e
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.
2024-11-24 14:05:10 +01:00
Dawid Dziurla
92fef254a9
podman: install package and create config files
Co-authored-by: Dylan Wilson <dylan@bytepen.com>
2024-11-23 22:36:33 +01:00
klchen0112
ba9367b5a9
emacs: add darwin service 2024-11-23 19:15:47 +01:00
Robert Helgesson
a46e702093
espanso: fix test failure 2024-11-19 15:05:03 +01:00
Nikolaos Karaolidis
a42fa14b53
syncthing: expand declarative configuration
This expands the Syncthing configuration to allow declarative
settings. Code mostly pulled from the Nixpkgs module.

Changes compared to the NixOS module are:

Removed the following options:

- user, group, systemService: Unnecessary since Syncthing always runs
  as the user declaring the configuration.

- dataDir configDir, databaseDir: Pointed to ~/.local/state/syncthing,
  the default Syncthing directory.

- openDefaultPorts: We don't have access to the system firewall.

Furthermore, multiple changes to systemd services were made to
maintain consistency with other Home Manager modules, sandboxing
options might need to be reviewed further.

Fixes #4049
2024-11-18 23:27:58 +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
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
Nicholas Hassan
1743615b61
podman: add module
Adds a new Podman module for creating user containers and networks as
systemd services. These are installed to the user's
`$XDG_CONFIG/systemd/user` directory.
2024-11-01 20:45:06 +01:00
Tomo
05d9bee4a5
git-credential-oauth: fix use of mkIf and add tests
Closes #6005
2024-10-27 07:45:32 +01:00
William Phetsinorath
93435d27d2
direnv: add support for mise integration 2024-10-26 00:16:39 +02:00
Bruno BELANYI
6cc03e337a
nix-gc: add randomizedDelaySec option
There's no launchd equivalent to this option, so this is a no-op on
Darwin.
2024-10-25 15:53:42 +02:00
diniamo
c7cfdb3864
spotify-player: add support for actions
Actions were added in the v0.19.1 release.
2024-10-25 10:04:48 +02:00
Willi Carlsen
454e8d6b15
granted: use assume directly
The `.assume-wrapped` path is not available since the merge of

    https://github.com/NixOS/nixpkgs/pull/347816

Use assume directly instead.

PR #5994
2024-10-25 09:42:19 +02:00
Scharada
122f70545b
firefox: change container.json version to 5 2024-10-19 09:02:11 +02:00
Muhammad Talal Anwar
802b3cb2d4
espanso: use launcher command on Linux
The source uses `launcher` instead of `daemon`. Additionally we remove
`Type` and add `RestartSec` as defined in the source:

b421bcf73f/espanso/src/res/linux/systemd.service (L5-L7C1)
2024-10-19 09:01:11 +02:00
joygnu
09a0c0c029
cmus: add module
PR #5951
2024-10-18 16:03:33 +02:00
Austin Horstman
346973b338
tests/firefox: add shared path test
Used to make sure that profiles that share a common generated path still
build properly.
2024-10-18 08:31:24 -05:00
K900
cb93ab1c99
direnv: remove nushell hack 2024-10-18 15:26:47 +02:00
libewa
e78cbb2027
zed-editor: add module
Add a simple module for zed-editor, a simple editor written in Rust.
2024-10-17 16:15:20 +02:00
Robert Helgesson
9c1a1c7df4
activitywatch: reduce test closure
This also reduces test flakiness.
2024-10-17 15:30:02 +02:00
Joaquín Triñanes
628b15d275
nushell: allow arbitrary environment variables 2024-10-17 12:54:19 +02:00