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

2911 commits

Author SHA1 Message Date
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
Lukáš Kucharczyk
1cd17a2f76
mangohud: fix a non-working example
The example for settingsPerApplication is missing a semicolon.
2024-12-04 20:56:44 +01:00
Nova Leary
3a7fc9cd71
zsh: make autosuggest strategy accept more options
Now accepts an empty list, which turns off the code so the user can
manually set ZSH_AUTOSUGGEST_STRATEGY anywhere they want via any of the
`*Variables` module options.
2024-12-04 20:54:01 +01:00
LorenzBischof
ad48eb25cd
etesync-dav: update default server URL 2024-12-04 14:06:18 +01:00
Robert Helgesson
b1c19f1dcb
home-cursor: use profileExtra instead of initExtra
The initExtra code is executed after systemd graphical-session.target
starts, which means graphical applications started by
graphical-session.target cannot get these X settings.
2024-12-04 12:38:17 +01:00
Robert Helgesson
30f66eaa32
xresources: use profileExtra instead of initExtra
The initExtra code is executed after systemd graphical-session.target
starts, which means graphical applications started by
graphical-session.target cannot get these X settings.
2024-12-04 12:37:15 +01:00
Louis Opter
8f4f57f9a6
qt: update tooling for Plasma 6 2024-12-04 09:21:37 +01:00
Philip Wilk
5b5de4338f
kakoune: fix color scheme package XDG file 2024-12-04 08:59:32 +01:00
Varun Narravula
dfdf59b2d5
atuin: make daemon log level configurable 2024-12-03 00:11:05 +01:00
Varun Narravula
f8bc330a13
atuin: capitalize mentions of "atuin" 2024-12-03 00:09:57 +01:00
Varun Narravula
c56aa0f51d
atuin: assert version >= 18.2.0 when daemon is enabled 2024-12-03 00:09:57 +01:00
Varun Narravula
33c236f1d5
atuin: add water-sucks as maintainer 2024-12-03 00:09:57 +01:00
Varun Narravula
092b81b956
atuin: configure daemon using systemd and launchd
This configures the atuin daemon for Linux and Darwin systems using
systemd and launchd, respectively. For systemd, a socket is also
automatically configured to exist at atuin's default socket location.
2024-12-03 00:09:57 +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
Fea
d2e2bda6c0
nix-your-shell: fix creating required directory
This fixes https://github.com/nix-community/home-manager/issues/6161
2024-12-02 10:38:18 +01:00
paumr
c1fee8d4a6
alot: make package used by module configurable 2024-12-01 21:38:04 +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
Nova Leary
441fae847d
zsh-abbr: add package option 2024-12-01 18:23:18 +01:00
Robert Helgesson
4964f3c6fc
home-manager: prepare 24.11 release 2024-12-01 10:31:51 +01:00
Ken Micklas
819f682269
lorri: fix ReadWritePaths for new gcroots behavior 2024-11-29 13:43:55 +01:00
Philip Wilk
2f7739d010
kakoune: add colorSchemePackage option
This makes it easy to declaratively manage the color scheme for
kakoune via a nix package in your `~/.config/kak/colors` folder. The
color scheme can then be declaratively selected by name using the
existing Home Manager option `programs.kakoune.config.colorScheme`.
2024-11-28 12:24:55 +01:00
Jordan Williams
b721965238
mopidy: ignore collisions between extensions 2024-11-28 12:12:32 +01:00
Jordan Williams
de7d67b8ba
mopidy: make makeWrapper a native build input
This fixes the error message

    error: makeWrapper/makeShellWrapper must be in nativeBuildInputs
2024-11-28 12:11:18 +01:00
Etherbloom
21396857fd
kdeconnect: upgrade default version
Plasma6 has been out for a while now and the service still points to
the old, incompatible version.
2024-11-28 11:32:21 +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
Ingo Reitz
4d8d8c385e
zed-editor: add extraPackages option
Add extraPackages option to make for example language servers
available to Zed without having to add them to `home.packages` or
similar.
2024-11-24 21:15:57 +01:00
Jordan Williams
83002f1846
mopidy: restart the systemd service on failure 2024-11-24 19:26:14 +01:00
Tomodachi94
98bf8de65d
volnoti: use cfg.package instead of pkgs 2024-11-24 19:06:58 +01:00
Tomodachi94
f9fd45c512
volnoti: add self to maintainers 2024-11-24 17:54:00 +01:00
Christian Segundo
9ae941a4cf
abook: remove platform linux assertion
Abook is also available on other platforms, e.g., Darwin.
2024-11-24 17:45:26 +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
Nithin S Varrier
16fe78182e
conky: update systemd exec path to config package
Currently systemd ExecStart uses pkgs.conky as executable path, this
commit changes it to the package defined by services.conky.package.
2024-11-23 18:36:17 +01:00
arminius-smh
445d721ecf
home-cursor: add hyprcursor support
Add the option to enable hyprcursor support by setting the relevant
environment variables.
2024-11-23 18:27:16 +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
chayleaf
0bd5e9c76c
librewolf: hide bookmarks option 2024-11-18 22:14:54 +01:00
chayleaf
18462998b1
librewolf: use mkFirefoxModule 2024-11-18 22:14:54 +01:00
Ilham AM
f3a2ff6958
zsh-abbr: update source path (#6084) 2024-11-18 00:44:26 +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