1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-26 01:51:37 +00:00
Commit graph

1638 commits

Author SHA1 Message Date
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
Emanuel
11e6d20803
ghostty: fix typo (#6541) 2025-02-27 11:32:19 -05:00
Thomas Zeger
53c587d263
tmux: fix shell example (#5361) 2025-02-26 08:21:11 -06:00
Kilian Mio
87743e9383
firefox: deprecate vendorPath (#6519)
This is a reaction to PR #6460
2025-02-26 08:20:52 -06:00
eulalia
18e74c2e02
aerc-accounts: improve logic for parsing XOAUTH2 URL params (#6530)
This commit fixes an issue in aerc-accounts that prevents oauth2
accounts from being generated from given parameters. It also allows
users to add XOAUTH2 credentials without having to add all four of
client_id, client_secret, token_endpoint, and scope. It further adds
tests for the XOAUTH2 config generation.
2025-02-26 07:59:40 -06:00
Silence Tai
b5ab2c7fda
waybar: support enable inspect from service (#5922) 2025-02-23 07:45:42 -06:00
Austin Horstman
ed030a7879
chromium: optional nativeMessagingHosts (#6515)
Should only be generating when provided
2025-02-22 21:58:48 -06:00
Seth Flynn
3b6550f710
git: add option to use riff as diff tool (#5748)
https://github.com/walles/riff
2025-02-22 19:43:56 -06:00
novenary
cb3f6e9b59 htop: write-protect entire configuration directory
Fixes #4947
2025-02-22 11:55:15 -08:00
novenary
61d8f8366f htop: export defaultFields into lib 2025-02-22 11:55:15 -08:00
Austin Horstman
c327afbfd8 dircolors: refactor preferXdgDirectories
Store the paths in variables to deduplicate.
2025-02-22 11:50:20 -08:00
Shaw Vrana
413e9b35f1 dircolors: respect preferXdgDirectories if set 2025-02-22 11:50:20 -08:00
Brieuc Dubois
61d8fc9af0
firefox: Allow to add PKCS11 modules (#5608) 2025-02-22 12:51:06 -06:00
Artem Starikov
90504b9a89
thunderbird: allow managing feed accounts (#5613) 2025-02-22 12:33:41 -06:00
eulalia
7ceacd98a9
wpaperd: add systemd service; move to services/ from programs/ (#6302)
This commit adds a systemd service to run it, and accordingly moves it to services.wpaperd.

In addition, the existing tests have been migrated to services, and an entry in the newslist has been created alerting users to this change.
2025-02-22 11:32:15 -06:00
Reputable2772
e860bd49ea
vscode: add profiles support (#5640)
Adds support for VSCode Profiles configuration. Allowing you to define custom extensions and settings per profile.
2025-02-22 10:58:27 -06:00
Feliche-Demian Netliukh
4949081d1e
jqp: add module (#5716) 2025-02-22 10:23:01 -06:00
Heitor Augusto
f4a07823a2
chromium: add nativeMessagingHosts option (#6019) 2025-02-22 01:10:22 -06:00
Hoang Nguyen
2b382e499a
earthly: init module (#6265)
Earthly is a build configuration framework utilizing buildkit and
Dockerfile-like syntax for simplicity and fast builds.
2025-02-22 01:04:35 -06:00
eum3l
c31b4e330e
accounts/email: provide realName option for alias (#6106) 2025-02-22 01:03:07 -06:00