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

825 commits

Author SHA1 Message Date
Robert Helgesson
5553c93889
neomutt: fix tests
Caused by an unfortunate interaction between #4597 and #4999.
2024-04-10 21:27:25 +02:00
Robert Helgesson
3e10606b30
mpv: create doc output in tests 2024-04-10 21:27:24 +02:00
Christian Dannie Storgaard
f66e0c311b
neomutt: Initial IMAP support (#4597)
neomutt: Updated options and added tests

neomutt: Added test for individual mailbox type

neomutt: Formatted code

neomutt: Enable ssl_force_tls based on IMAP instead of SMTP

neomutt: Applied suggestions from @chayleaf

neomutt: fix breaking tests
2024-04-10 21:27:24 +02:00
Rafael Carvalho
5ff30300d7
imapnotify: enable STARTTLS if enabled in email account config (#5013)
* imapnotify: enable STARTTLS if enabled in email account config

Since version 2.3.10 goimapnotify supports starttls. In version 2.3.11 a
typo in the settings was fixed, using tlsOptions.starttls to enable it.

This commit enables starttls in the goimapnotify config file if it is
enabled in the email account's imap settings.

* imapnotify: test generated config file

Compare the generated service config file with a manually verified
sample.
2024-04-10 21:27:23 +02:00
Emily
3d10daecd3
sway: fix workspace 10 missing from default config (#4636)
workspace 10 is part of upstream's default config, but was missing in home-manager.

The initial "sway: add module" PR (02d6040003) went through multiple iterations and had workspace 10 included for a brief moment.
Until the author removed it in a force-push commenting

> Have removed the last change which added bound ${modifer}+0 to workspace number 10 as this messed up workspace numbering in sway.

The reason might have been, that sway used to sort the workspaces in the order they appeared in the config.

Attribute sets in nix are sorted, but not "naturally sorted", meaning `bindsym Mod1+0 workspace number 10` comes before `bindsym Mod1+0 workspace number 1`.

It's unclear if that's what really happened. A workaround would have been to use `lib.lists.naturalSort` in `keybindingsStr`.

But I cannot reproduce this anymore in any way.
I assume this has been fixed many years ago by now.

upstream config: 020a572ed6/config.in (L113-L134)
2024-04-10 21:27:23 +02:00
Alexis (Poliorcetics) Bourget
331dc328b2
zellij: use full executable path 2024-04-10 21:27:23 +02:00
arjan-s
aff1ba7dd8
neomutt: fix crypt_use_gpgme in newer versions
Fixes config load error since newer versions of neomutt don't allow
`crypt_use_gpgme` to be loaded dynamically (from folder hooks)
2024-04-10 21:27:22 +02:00
Anton
875fa16fe2
swayosd: update executable 2024-04-10 21:27:22 +02:00
Clément DOUIN
546ace0756
himalaya: adjust module for v1.0.0-beta 2024-04-10 21:27:22 +02:00
shivaraj-bh
6843538e68
nix-gc: add service
The nix-gc service runs automatically at a specified frequency. It is
managed via launchd on macOS and systemd on Linux.
2024-04-10 21:27:21 +02:00
musjj
2752c42035
kitty: always export KITTY_SHELL_INTEGRATION
This ensures that `KITTY_SHELL_INTEGRATION` is manually set to the
user's `shellIntegration.mode`. This is necessary because sometimes
the variable is not set in subshells or splits.
`shellIntegration.mode` is also now ensured to always contain `no-rc`.
2024-04-10 21:27:21 +02:00
Robert Helgesson
495b3c915a
tests: reduce closure sizes 2024-04-10 21:27:19 +02:00
Sefa Eyeoglu
bbe8322566
wob: add module
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-10 21:27:18 +02:00
Ryan Horiguchi
06ca1c3c6a
firefox: add default containers 2024-04-10 21:27:16 +02:00
Robert Helgesson
a04f37fab0
treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL
As a replacement, this adds the `run` helper function.
2024-04-10 21:27:15 +02:00
Nikita Pedorich
78ece60890
tealdeer: add cache update activation script
Calls 'tldr --update' on home-manager switch
2024-04-10 21:27:15 +02:00
Anton Tetov
2306aabbe7
bemenu: allow floats in settings
For example, the CLI option --width-factor controls the width of the
launcher and is set to a value between 0-1.
2024-04-10 21:27:15 +02:00
Robert Helgesson
6d2e504d9a
k9s: fix unnecessary test dependency 2024-04-10 21:27:14 +02:00
Lucas Wagler
881a15fafa
k9s: v0.29/v0.30 compatibility
- Add `skins` option for definition of multiple skin files
- Change file extension to ".yaml"
- Deprecate `skin` option (points to `skins.skin`)
2024-04-10 21:27:14 +02:00
Nikita Pedorich
50507867fc
mise: fix test
assertPathExists -> assertFileExists
2024-04-10 21:27:14 +02:00
Nikita Pedorich
d17141524d
mise: add module
This adds the support for the mise program, the successor of rtx. This
commit therefore also removes the rtx module.
2024-04-10 21:27:13 +02:00
Samuele Facenda
65bebc010e
hyprland: change plugins settings generation
The previous syntax (`plugin:name { ...settings}`) is not working with
more than one plugin. There is no documentation for this, just the
source code [1].

With this update the plugins paths aren't generated together with the
full config (so the "plugin" field is not "important" anymore) and the
plugins settings are generated like the other fields.

[1] 4d403dac32/src/config/ConfigManager.cpp (L1574)
2024-04-10 21:27:13 +02:00
Samuele Facenda
3b678fe158
hyprland: do not override existing plugins settings in config
The plugin setting in the Hyprland config is used both for defining
plugin paths and configuring the plugins. This fix removes the
silent override of the plugins settings converting them to the
`plugin:<name> { ...settings }` syntax.
2024-04-10 21:27:13 +02:00
Robert Helgesson
8273de29d7
docs, tests: revert to fetchTarball for nmd and nmt
Turns out pulling nmt and nmd from Nixpkgs causes an IFD, even when
the packages are fixed-output derivations.

Thus, since Sourcehut is up and well, we can revert to simply fetching
nmd and nmt directly.

See discussion in <https://github.com/nix-community/home-manager/pull/4884>.
2024-04-10 21:27:13 +02:00
Jared Baur
626966eb51
sway: include cursor environment variables
DBus activated services such as mako use the XCURSOR_THEME and
XCURSOR_SIZE environment variables to decide how to show the cursor,
so without these, the cursor may not match the rest of the desktop
when hovering over (in this example) mako notification surfaces.
2024-04-10 21:27:12 +02:00
Damien Cassou
c08841a279
firefox: restore compatibility for extraPolicies
This commit makes it possible to specify Firefox' extraPolicies
through:

    programs.firefox.package = pkgs.firefox.override {
      extraPolicies = {... }
    }

This was possible in the past but was broken by:

  3feeb77155
  firefox: add support for specifying policies (#4626)
2024-04-10 21:27:11 +02:00
Robert Helgesson
f781ce7fb5
tests: use nmt from Nixpkgs 2024-04-10 21:27:10 +02:00
Robert Helgesson
286546ec2f
Remove some formatting exceptions
This formats a few more file using nixfmt.
2024-04-10 21:27:09 +02:00
Silvio Ankermann
5563347db6
thunderbird: configure signature if set (#4852)
The identity's signature  will be configured according to signature.text
and signature.showSignature. Signature commands are not supported by
Thunderbird.
2024-04-10 21:27:08 +02:00
Gabriel Fontes
725d09c0f0
xdg-portal: add new module 2024-04-10 21:27:07 +02:00
XYenon
21e8b7a7df
yazi: fix nushell integration 2024-04-10 21:27:07 +02:00
~noodlez1232
e8dfd7c0d0
i3blocks: added configuration module 2024-04-10 21:27:06 +02:00
Omer Naveed
ce3ec36b95
bemenu: add module 2024-04-10 21:27:05 +02:00
Robert Helgesson
a7c92eece7
oh-my-posh: fix test under Darwin 2024-04-10 21:27:04 +02:00
r-vdp
0402cca9d8
alacritty: make compatible with alacritty 0.13
The config file is in TOML from 0.13 onwards.
2024-04-10 21:27:04 +02:00
Fugi
c06612e8db
sftpman: add module 2024-04-10 21:27:04 +02:00
Tom Hall
ee5e56bd52
osmscout-server: add module
Osmscout-server includes a setting in its UI to create a systemd user
service and socket to run the server on demand. This does not function
correctly on NixOS, for two reasons:

1. It assumes that the binary path is stable (e.g.
   /usr/bin/osmscout-server), which is not the case on NixOS.

2. It auto-detects the unwrapped binary path, which doesn't work.

This module allows the user to access the same functionality on NixOS.
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
Callum Iddon
5101f01406
oh-my-posh: enable nushell integration 2024-04-10 21:27:02 +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
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
a05cca1dcc
direnv: Make lines shorter 2024-04-10 21:27:00 +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
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
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
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