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

4457 commits

Author SHA1 Message Date
Austin Horstman
66a6ec65f8
cliphist: use configured systemdTargets throughout service (#6751)
Was running into issues with it not starting properly. This fixed my
issue.
2025-04-03 17:03:55 -05:00
Austin Horstman
107352dde4 treewide: add missing package option
Provide more customization to the binary to be installed.
2025-04-02 21:49:14 -05:00
Austin Horstman
fcdd04e0f9 astroid: only generate poll.sh when script provided
Don't need to generate the file if the user hasn't configured script.
2025-04-02 21:49:14 -05:00
Austin Horstman
a99c12d23e antidote: null package support 2025-04-02 21:49:14 -05:00
Austin Horstman
0bbc3fc5c6 alacritty: null package support 2025-04-02 21:49:14 -05:00
Austin Horstman
b24689a173 treewide: use mkPackageOption
Standardized interface to provide a consistent treewide experience.
2025-04-02 21:49:14 -05:00
home-manager-bot
579a71b948
flake.lock: Update (#6746)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5e5402ecbcb27af32284d4a62553c019a3a49ea6?narHash=sha256-gWd4urRoLRe8GLVC/3rYRae1h%2BxfQzt09xOfb0PaHSk%3D' (2025-03-27)
  → 'github:NixOS/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434?narHash=sha256-F7n4%2BKOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE%3D' (2025-04-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-02 19:16:11 -05:00
Austin Horstman
49748c74cd tests/atuin: add nushell test 2025-04-02 10:26:07 -05:00
Austin Horstman
282739209a atuin: fix nushell config 2025-04-02 10:26:07 -05:00
Austin Horstman
53cacafd9b treewide: nushell build time configs suffixed
Add filetype suffix for LSP/tree-sitter support.
2025-04-02 10:26:07 -05:00
jaredmontoya
180fd43eea pay-respects: allow setting custom options 2025-04-02 09:28:45 -05:00
jaredmontoya
812a12d014 oh-my-posh: build-time nushell config generation 2025-04-02 09:28:45 -05:00
jaredmontoya
287cbbbf80 nix-your-shell: build-time nushell config generation 2025-04-02 09:28:45 -05:00
jaredmontoya
dde05a0b10 carapace: build-time nushell config generation 2025-04-02 09:28:45 -05:00
jaredmontoya
3722855a1c atuin: build-time nushell config generation 2025-04-02 09:28:45 -05:00
jaredmontoya
267f6ada1e zoxide: build-time nushell config generation 2025-04-02 09:28:45 -05:00
jaredmontoya
98d718b46d starship: build-time nushell config generation 2025-04-02 09:28:45 -05:00
krabodyan
81f38986a2
jq: add missing color option (#6734)
added "color for object keys" option
https://jqlang.org/manual/#colors
2025-04-02 09:26:34 -05:00
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