Commit Graph

4467 Commits

Author SHA1 Message Date
Austin Horstman
8c9b54504c swaync: use x-restart-triggers for reload (#6764)
Use x-restart-triggers to reload on file change, since users
with impermanence setups were running into issues with onChange and calling the `swaync-client` to handle the hot reload.
2025-04-06 20:36:01 -05:00
home-manager-bot
ef3b2a6b60 flake.lock: Update (#6762)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434?narHash=sha256-F7n4%2BKOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE%3D' (2025-04-02)
  → 'github:NixOS/nixpkgs/42a1c966be226125b48c384171c44c651c236c22?narHash=sha256-rpqepOZ8Eo1zg%2BKJeWoq1HAOgoMCDloqv5r2EAa9TSA%3D' (2025-04-05)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-06 09:01:27 -05:00
Thiago Kenji Okada
d094c6763c news: create an individual file for each news entry (#6747)
The current way to define a news entry in Home-Manager is error prone
(since you need to type the date manually) and also it is common cause
of conflicts after merges because all entries are defined in the same
file.

This commit fixes this: we can now create individual news entries for
each new entry. A script `create-news-entry.sh` also helps to create it
in the correct format (with the correct filenames and structure).
2025-04-05 11:13:59 -05:00
Evyatar Stalinsky
b5e2956513 redshift/gammastep: add tray tests 2025-04-05 06:36:25 -07:00
Evyatar Stalinsky
46f93825af redshift/gammastep: fix tray.target dependency
Fix a missing dependency for `tray.target` in `redshift/gammastep` module when the tray feature is enabled.

This caused a race condition that could result in the redshift/gammastep systemd user unit failing because the tray provider (e.g. waybar) isn't ready yet.
2025-04-05 06:36:25 -07:00
jaredmontoya
0f5908daf8 home-environment: enable home aliases for nushell (#6754) 2025-04-04 12:49:34 -05:00
Austin Horstman
07547d29e1 swaync: use lib.getExe (#6755) 2025-04-04 12:30:26 -05:00
LemmusLemmus
bb036cb353 swaync: Add onChange (#6233)
Call swanyc-client with the argument reload-css/reload-config when config/CSS is changed.
2025-04-04 11:11:48 -05:00
Silence Tai
a802defb16 playerctld: add to $PATH (#6753) 2025-04-04 10:41:39 -05:00
Pim Snel
f3ac07f2f7 smug: init module (#6696)
This adds smug, a session manager and task runner for tmux, as module.
2025-04-04 10:41:02 -05:00
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