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

4989 commits

Author SHA1 Message Date
Thiago Kenji Okada
5ee44bc7c2 news: add services.home-manager.autoExpire entry 2025-04-01 20:14:26 -05:00
Thiago Kenji Okada
28242a60d3 home-manager-auto-expire: init
This commit introduces a new service that expires old Home-Manager
generations.
2025-04-01 20:14:26 -05:00
nicoo
938e802b70
alacritty: add theme option (#5238)
Co-authored-by: r-vdp <ramses@well-founded.dev>
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2025-04-01 18:18:23 -06:00
Rafael Ledo
e355ae93a3
docs: add docs for mkOutOfStoreSymlink (#6660) 2025-04-02 02:06:02 +02:00
Yiheng He
89279a66f4
fcitx5: set SDL_IM_MODULE (#6742)
Sets SDL_IM_MODULE to fcitxto make fcitx5 work with sdl2 programs.
See fcitx-im.org/wiki/Setup_Fcitx_5#SDL_IM_MODULE and wiki.archlinux.org/title/Fcitx5#IM_modules
2025-04-02 02:05:28 +02:00
Robin Stumm
f4d9d1e2ad
broot: get rid of IFDs (#6723) 2025-04-01 12:07:51 -05:00
Austin Horstman
0afad8f080
Revert "nixos-module: Fix potential recursion between users.users and home-ma…" (#6745)
This reverts commit 216690777e.

Reverts #6622

Seems to be causing issues for other users, though. Will revert and we can try again with some tests in place.
2025-04-01 09:52:10 -05:00
Austin Horstman
55cf1f1632
firefox: fix missing lib (#6744) 2025-04-01 08:25:30 -05:00
Hoang Nguyen
c21383b556
streamlink: init module (#6031)
Streamlink is a CLI utility which pipes video streams from various
services into a video player.
2025-03-31 23:42:59 -05:00
Austin Horstman
5e193cdcab
msmtp: fix missing inherits (#6741) 2025-03-31 23:28:55 -05:00
Austin Horstman
0b491b460f
treewide: remove with lib (#6735)
Continuation of `with lib;` cleanup.
2025-03-31 22:32:16 -05:00
wyyllou
ccd7df836e
mcfly: Fix fzf overriding mcfly's Ctrl+R bind on fish(#6736)
This commit moves both mcfly and mcfly-fzf into the main is-interactive block for fish, which is technically unneccesary as the checks are done internally (but mcfly-fzf is broken in this regard bnprks/mcfly-fzf#10)
2025-03-31 11:23:33 -05:00
Proesmans Bert
216690777e
nixos-module: Fix potential recursion between users.users and home-manager.users (#6622)
Pushing users.users.<name>.packages from matching home-manager users leads to a circular dependency when
one attribute set is calculated from the other.
A configuration pull approach replaces the previous one to break up the circular dependency. This new approach
allows more flexibility in configuring both option sets, including calculating from each other.

EXAMPLE;

```nix
{lib, /* custom arg */ flake, config, ...}: {
    home-manager.useUserPackages = true;
    home-manager.users = builtins.intersectAttrs (lib.filterAttrs (_: v: v.isNormalUser) config.users.users) (flake.outputs.homeModules.users);
}
```

EXAMPLE;
```nix
{lib, /* custom arg */ flake, config, ...}: {
    home-manager.useUserPackages = true;
    home-manager.users = { inherit (flake.outputs.homeModules.users) demo-user; };
    users.users = lib.mapAttrs (_: _: { isNormalUser = true; }) (lib.filterAttrs (_: v: v.programs.git.enable) config.home-manager.users);
}
```

fixes #594

* options-manual: Remove `users` option set from documentation

The option declaration `users.users` is owned by the upstream
nixos modules and should not be documented by home-manager.

Home-manager declares an incomplete/partial option definition for
`users.users` that cannot be documented without the full definition from
the nixos modules. This partial definition is removed from the options
set while generating documentation for the home-manager nixos module.
2025-03-31 09:19:52 -05:00
Ilya Savitsky
b6fd653ef8
newsboat: add a package option to the module (#6717) 2025-03-30 13:40:01 -05:00
Olmo Kramer
09280e17bb
xdg-autostart: Add readOnly option (#6629)
When `readOnly` is set to `true` the autostart entries are linked from
a readonly directory in the nix store and `XDG_CONFIG_HOME/autostart` is
a link to that directory, so that programs cannot install arbitrary
autostart services.
2025-03-30 11:22:16 -05:00
home-manager-bot
1d2ed9c503
flake.lock: Update (#6730)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1e5b653dff12029333a6546c11e108ede13052eb?narHash=sha256-G5n%2BFOXLXcRx%2B3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w%3D' (2025-03-22)
  → 'github:NixOS/nixpkgs/5e5402ecbcb27af32284d4a62553c019a3a49ea6?narHash=sha256-gWd4urRoLRe8GLVC/3rYRae1h%2BxfQzt09xOfb0PaHSk%3D' (2025-03-27)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-30 09:56:56 -05:00
Léo Gaspard
802653e5d1
auto-upgrade: unbreak on unattended, loginctl enable-linger systems (#6719)
Fixes https://github.com/nix-community/home-manager/issues/3127
2025-03-30 09:56:27 -05:00
Farid Zakaria
8ce8433743
granted: Add override for package (#6722)
I would like to use the unstable version in my home-manager so let's make it possible to override.
2025-03-30 09:55:24 -05:00
Tobor
2760046f34
docs: correct improper import of home.nix (#6732)
This change improves the module system's error messages.
2025-03-30 09:39:15 -05:00
Tarow
7170300119
podman: fix service name in generated manifest (#6710) 2025-03-29 19:50:46 -05:00
Austin Horstman
b431496538 launchd: refactor setupLaunchAgents 2025-03-29 11:51:08 -05:00
Austin Horstman
86d2e3b005 launchd: remove checkLaunchAgents
We don't care about conflicts, they are launch agents and need to
represent the latest changes. This check had more negatives than
benefits.
2025-03-29 11:51:08 -05:00
Austin Horstman
ef8f898727 launchd: add khaneliman maintainer 2025-03-29 11:51:08 -05:00
Austin Horstman
a710f337d6 launchd: remove with lib 2025-03-29 11:51:08 -05:00
Austin Horstman
f1d4acaa10
treewide: use mkPackageOption (#6727) 2025-03-29 11:48:55 -05:00
カワリミ人形
1f679ed2a2
zsh-abbr: Add global abbreviations (#6720)
zsh-abbr has a global abbreviations feature. The global abbreviations expand anywhere on the line and are defined by using the -g option.

https://zsh-abbr.olets.dev/types.html#global
2025-03-29 09:42:13 -05:00
Michael
3527c8c778
sesh: add module (#5789)
Sesh is a CLI that helps you create and manage tmux sessions quickly and easily
using zoxide. See https://github.com/joshmedeski/sesh for more.
2025-03-29 09:32:11 -05:00
home-manager-bot
1efd250317
flake.lock: Update (#6708)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a84ebe20c6bc2ecbcfb000a50776219f48d134cc?narHash=sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ%3D' (2025-03-19)
  → 'github:NixOS/nixpkgs/1e5b653dff12029333a6546c11e108ede13052eb?narHash=sha256-G5n%2BFOXLXcRx%2B3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w%3D' (2025-03-22)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-27 23:36:12 -05:00
Dominic Meyer
26ccff08df
thunderbird: set additional gmail smtpserver settings (#6713)
To resolve issues when using gmail with thunderbird, added default smtpserver authMethod of oauth
2025-03-27 23:32:30 -05:00
Shogo Takata
13d68e9ac0
helix: avoid IFD (#6714)
Avoids IFD in the helix module which was introduced in #6575.
The helix module fails to build when --no-allow-import-from-derivation is enabled.
2025-03-27 23:31:30 -05:00
Clément B
b14a70c40f
fzf: update zsh integration to be after plugins (#6716) 2025-03-27 12:49:40 -05:00
Clément B
171915bfce
fzf: fix zsh integration (keybinds rewritten by omz) (#6712)
fzf history keybind (^R) was being rewritten by omz.
This PR moves the initialization of the fzf zsh integration just after omz integration (but sill before other history managers, eg: atuin)
2025-03-27 08:40:07 -05:00
Tim Steinbach
693840c01b
vscode: Fix version checks when using Cursor (#6680)
The version check for VSCode fails when using Cursor.
Cursor has its own versioning and is currently at
0.45.14 (based on VSCode version 1.96.2).
The version checks for generating the `extensions.json` in the
module look at the package version,
which causes them not to be generated for Cursor.
2025-03-26 08:44:18 -05:00
Madeleine Sydney Ślaga
ce287a5cd3
mpdscribble: add module (#6259) 2025-03-25 21:44:04 -05:00
Aneesh Bhave
0ff53f6d33
helix: add extraConfig option (#6575)
The extraConfig option can be used to append
ordered lines to helix configuration. Helix
depends on order for rendering minor mode menus.
2025-03-25 18:55:51 -05:00
Joseph LaFreniere
2321c6889b
ripgrep-all: Add module (#5459) 2025-03-25 18:48:21 -05:00
Alex Epelde
338b2eabdf
waybar: integrate with tray.target (#6675)
Inspired by [#3432][0], but with a smaller footprint.

This change makes it so that services with `Requires=tray.target`
and `After=tray.target`, such as [`blueman-applet`][1] or
[`network-manager-applet`][2] get started *after* waybar is ready.

[0]: https://github.com/nix-community/home-manager/pull/3432
[1]: 6c2b79403e/modules/services/blueman-applet.nix
[2]: 6c2b79403e/modules/services/network-manager-applet.nix
2025-03-25 18:48:07 -05:00
Fea
b9da58d505
carapace: conditionally disable unnecessary fish completion workaround on fish 4.0 (#6694)
The disabled workaround stopped being necessary with fish 4.0,
as noted in https://carapace-sh.github.io/carapace-bin/setup.html#fish
2025-03-25 18:06:44 -05:00
Austin Horstman
f565da89e7
davmail: add package option (#6705) 2025-03-25 16:25:32 -05:00
Bob van der Linden
d8b4ba070f
mergiraf: init module (#6633)
This adds git integration for mergiraf. It sets up git to use mergiraf
to automatically resolve merge conflicts.
2025-03-25 21:37:24 +01:00
royce-c
8bef8b7a0a direnv: fix typo 2025-03-25 13:15:08 -05:00
royce-c
529906d6a2 podman: fix typo 2025-03-25 13:15:08 -05:00
royce-c
5abb21dc10 distrobox: fix typo 2025-03-25 13:15:08 -05:00
Zhaofeng Li
e3dded7a85
fish: Fix manpage completion generation with paths containing spaces (#6703)
Manual pages with spaces in their paths can lead to argument injection.
2025-03-25 13:13:52 -05:00
royce-c
2980606556
distrobox: replace hardcoded path with config package's path (#6701) 2025-03-25 13:13:37 -05:00
Austin Horstman
869f2ec2ad
zsh: fix concatenation of aliases and global aliases (#6698)
Accidentally bump the lines against each other. Adding a newline to move
global aliases to another line when you have both.
2025-03-24 21:56:51 -05:00
Matthieu Coudron
c4d5d72805
neomutt: remove empty lines (#6523)
* neomutt: remove empty lines

prettier + more readable
made some tests easier to update by printing full path
2025-03-24 22:18:52 +01:00
Austin Horstman
2d057cd9d4 zellij: use mkPackageOption 2025-03-24 13:48:39 -05:00
Austin Horstman
a9042b53c2 zellij: default integration disabled again
Surprises most users and various issues requesting default change.
2025-03-24 13:48:39 -05:00
Austin Horstman
82a3211477 zellij: add khaneliman maintainer 2025-03-24 13:48:39 -05:00