1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 17:59:39 +01:00
Commit graph

1657 commits

Author SHA1 Message Date
wikiker
e5ab18116c iamb: new module 2025-03-20 23:14:47 -05:00
Austin Horstman
2e9981ca0d lazydocker: null package support 2025-03-20 17:14:14 -05:00
Austin Horstman
65413f297f lazydocker: remove with lib 2025-03-20 17:14:14 -05:00
hauskens
46efc3b2e1 lazydocker: add module 2025-03-20 17:14:14 -05:00
Michael Cooper
20ec3c1049 mcfly: Fix swapped shell names 2025-03-20 23:11:49 +01:00
Michael Cooper
d725df5ad8
mcfly: fix mcfly-fzf in non-interactive shells (#6669)
mcfly-fzf's initialization steps don't properly check for interactive
shells. It does check, but only after checking if mcfly has been
initialized. Because mcfly does not initiate itself on non-interactive
shells, that causes mcfly-fzf to return an exit code, breaking
non-interactive shells.
2025-03-20 15:11:36 -05:00
Aguirre Matteo
c36cc49e55
onlyoffice: add module (#6667) 2025-03-20 11:34:43 -05:00
Karun Sandhu
8675edf7d3
fish: add command option for abbreviations (#6666)
The fish shell has added a flag to the abbr command which allows one to expand it only if it is typed after a real command e.g.:
git s -> git status
s -> s

Also see the last example here: https://fishshell.com/docs/current/cmds/abbr.html#examples
2025-03-19 22:43:42 -05:00
Austin Horstman
eb0f617aec tex-fmt: add null package support
Allows generating config without installing package.
2025-03-19 15:40:32 -05:00
William G Underwood
9556d3c2b4 tex-fmt: add module
tex-fmt is a LaTeX source code formatter written in Rust, and uses
a user configuration file in the .toml format.
2025-03-19 15:40:32 -05:00
Kira Bruneau
8b629b5424 firefox: migrate search config to v12 2025-03-19 15:16:09 -05:00
Kira Bruneau
b44d79a5b2 firefox: migrate search config to v11 2025-03-19 15:16:09 -05:00
Kira Bruneau
c1dc900a1a firefox: migrate search config to v7 2025-03-19 15:16:09 -05:00
Austin Horstman
e4a40b441e waylogout: add path support 2025-03-19 14:17:09 -05:00
Austin Horstman
16a2a802de waylogout: nullable package support 2025-03-19 14:17:09 -05:00
Austin Horstman
e0be70bcf9 waylogout: remove with lib 2025-03-19 14:17:09 -05:00
~noodlez1232
1e0c64b6a2 waylogout: added configuration module
90% of the code is copied over from swaylock so thanks to the creator of
that module!
2025-03-19 14:17:09 -05:00
Jess
eb5d59dac9 rclone: add module
Rclone is a command-line program to manage files on cloud storage, it
also featrues support for FUSE mounts.

"Users call rclone *"The Swiss army knife of cloud storage"* and
*"Technology indistinguishable from magic"*" - https://rclone.org/

This module manages the configuration of rclone remotes.
2025-03-19 13:49:44 -05:00
Kira Bruneau
9d554281e0
firefox: refactor bookmarks into a submodule & require force (#6402)
This splits the bookmarks submodule into a seperate file, to make it easier to maintain (like how the search module was previously split out in #5697).

This also refactors bookmarks to require a new force option, to be more explicit about overriding existing bookmarks.
2025-03-19 13:37:13 -05:00
Reputable2772
fb74bb76d9
vscode: fix creation of storage.json file (#6650)
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
2025-03-18 08:44:38 -05:00
Austin Horstman
c657142e24
thunderbird: add message filters option (#6652)
* thunderbird: add message filters option

Add option to declare account-specific message filters.

* tests/thunderbird: add second filter for sort

Make sure they are generated in correct order.

* thunderbird: use profilePath for messageFilters

In testing on darwin and NixOS, they use this path. 

---------

Co-authored-by: 347Online | Katie Janzen <katiejanzen@347online.me>
2025-03-17 16:14:41 -05:00
Qiming Chu
b870fb2d62
zsh: update zsh initContent example to use lib.literalExpression (#6637)
Update the `initContent` option example in `zsh.nix` to use
`lib.literalExpression` for correctly display in documentation.

Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-03-17 15:24:59 -05:00
Jennings Zhang
f55c5f6569 kubecolor: create oc alias conditionally 2025-03-17 14:53:32 -05:00
Jennings Zhang
f9f766c600 kubecolor: add oc alias 2025-03-17 14:53:32 -05:00
Jennings Zhang
e94ec0a6cd kubecolor: add enableZshIntegration option for completion 2025-03-17 14:53:32 -05:00
Austin Horstman
0e46e84279 zsh: cleanup empty / wrong generated lines
We currently just insert a ton of empty lines when not using certain
options. We also incorrectly generate some notes for options not being
used.
2025-03-13 14:34:14 -05:00
Austin Horstman
1b0efe3d33 zsh: move option variables closer to usage 2025-03-13 10:25:21 -05:00
Austin Horstman
ad487d3863 zsh: move config variables closer to usage 2025-03-13 10:25:21 -05:00
Austin Horstman
b5142d46a3 zsh: remove with lib 2025-03-13 10:25:21 -05:00
Austin Horstman
56374cc64d zoxide: remove with lib 2025-03-13 09:57:16 -05:00
Austin Horstman
d30c1d30bf zoxide: move to bottom of zsh content
Follow up to https://github.com/nix-community/home-manager/pull/6572,
possible to fix now with
https://github.com/nix-community/home-manager/pull/6479
2025-03-13 09:57:16 -05:00
Qiming Chu
7832b5aa95
zsh: refactor zsh configuration for better order control over .zshrc (#6479)
* zsh: add initContent option for custom .zshrc content insertion

- Users can add content anywhere by using `lib.mkOrder`, `lib.mkBefore`
and `lib.mkAfter` custom configurations.
- Add test cases to verify the insertion of content before and after
existing configurations in `.zshrc`.
consolidate zshrc content tests into a single priorities test
2025-03-13 14:37:11 +01:00
Gaétan Lepage
dd41a39055
swaylock: accept path type for settings values (#6607)
Allows setting images to file paths.
2025-03-12 08:19:52 -05:00
Raine Godmaire
7fd6dc2b94
granted: fix fish shell integration (#6602)
Without `$argv` the function will not pass any flags or arguments to the
`assume.fish` script.  These are necessary to use assume to access the
AWS console or use IAM role chaining.
2025-03-11 08:28:43 -05:00
Ilya Savitsky
744f749dd6
mods: add a mods module (#6339) 2025-03-09 23:05:08 -05:00
carschandler
f8bb0ba6de
zoxide: update mkOrder to place bash configuration at end of bashrc (#6572)
I updated my flake a few weeks back and `zoxide` has been giving me an error recently:

```
zoxide: detected a possible configuration issue.
Please ensure that zoxide is initialized right at the end of your shell configuration file (usually ~/.bashrc).

If the issue persists, consider filing an issue at:
https://github.com/ajeetdsouza/zoxide/issues

Disable this message by setting _ZO_DOCTOR=0.
```

To be fair, I haven't noticed any issues with `zoxide` apart from this error message.

The `zoxide` eval statement in my `.bashrc` is not "right at the end" of the file as mentioned in the message which isn't surprising given that it is given a `mkOrder 150`. In my own config, I increased this to `2000` (to ensure it comes after any `mkAfter`s which are `mkOrder 1500` to ensure it happens at the end of the script. After doing so, it appears at the end of my `bashrc` and I no longer get the error message.
2025-03-09 22:50:41 -05:00
Jono
597f9c2f06
thunderbird: set additional gmail server settings (#6579)
When email account is gmail in thunderbird, set additional server
settings.
As of March 2025, gmail only allows ssl/oauth0 authentication, so here I
set the authMethod accordingly.

Also setting 'is_gmail' to true in thunderbird settings such that labels
and trash work out of the box when the email account flavor is "gmail".
This brings in the gmail configs for how it handles folders, labels, and
archiving messages.
2025-03-09 18:38:46 -05:00
Austin Horstman
20a6b3631b
navi: handle xdg directory on darwin (#6589)
When xdg is enabled, use the xdg config home on darwin.
2025-03-08 12:56:34 -06:00
Mahmoud Ayman
b2314312f2
zsh: correct syntax option to syntax-highlighting (#5792)
The current syntax of highlighting style is outdated and not working as well. So this pr aims to update it so follow `zsh-syntax-highlight`` new syntax [example](e0165eaa73/highlighters/main/main-highlighter.zsh (L32)).
2025-03-08 19:37:10 +01:00
Austin Horstman
5ab4305f34 gh-dash: fix
Missing mkIf
2025-03-08 00:54:10 -06:00
Austin Horstman
d2c014e1c7
treewide: null package support (#6582)
Can generate the config without installing application through home-manager. Helpful when a package is broken (or not provided) on a specific platform through nixpkgs and needs to be installed through other means but you still can benefit from the declarative configuration.
2025-03-07 18:17:52 -06:00
Raine Godmaire
83f4629364
granted: support fish shell (#6549)
Due to fish being a non-POSIX shell, granted provides a separate wrapper
to be used by fish.
2025-03-07 13:29:16 -06:00
Andrew Marshall
04c915bcf1
firefox: Support paths for userChrome & userContent (#3856)
A path may be preferred for some uses, and allowing it avoids the user
needing to `builtins.readFile`, thus creating duplicates and making it
more difficult to determine the actual store path.
2025-03-07 12:11:10 +01:00
HyunggyuJang
def0dbbcea
vscode: Support Cursor AI (#6417)
Co-authored-by: Hyunggyu Jang <hyunggyu.jang@42dot.ai>
2025-03-05 12:39:42 +01:00
Karl H
b1b964ea93
mbsync: support maildir paths containing spaces
HM would previously create several folders instead of just one with the space escaped.
Fixes https://github.com/nix-community/home-manager/issues/6569
2025-03-04 23:51:00 +01:00
Vonfry
6f71acf71b
git: apply sendmailCmd instead of smtpServer (#6399)
In manpage of git-send-email --smtp-server,

    For backward compatibility, this option can also specify
    full pathname of a sendmail-like program instead; the program
    must support the -i option. This method does not support
    passing arguments or using plain command names. For those use
    cases, consider using --sendmail-cmd instead.
2025-03-04 22:46:31 +01:00
HPsaucii
70fbbf05a5
Firefox: Apply global extension force setting to declarative extensions (#6567)
Respect the parent force option for the extension settings storage.js
2025-03-03 20:44:45 -06:00
Alice Carroll
30da431093
librewolf: support darwin (#6561)
Remove linux platform assertion.
2025-03-01 08:55:01 -06:00
Zeremonienmeister Berber
4f05ef6a8a
firefox: fix wrong syntax grammar for search setting isAppProvided (#6556)
The or operator is left associative, and since there is another
argument after the first term, the interpreter tries to apply whatever
the or-expression evaluates to.  If the first operand is unset, it
evaluates to removeAttrs, and everything is fine, but if it is set to
a boolean (which is what it should be set to), then it tries to apply
a boolean to arguments, and we get a type error.  Bracketing
explicitly with parentheses fixes this.

It presumably went unnoticed because not many people have tried
setting the option
`programs.firefox.profiles.<profile>.search.engines.<engine>.isAppProvided`.
2025-03-01 08:47:21 -06:00
gmvar
343646e092
kitty: add action aliases config (#6538) 2025-02-27 12:12:56 -06:00