Commit graph

1903 commits

Author SHA1 Message Date
Fernando Rodrigues b6c615196e
nixos/kde-pim: include kcontacts for merkuro's widgets
When using Merkuro in Plasma 6, the 'Contacts' widget will automatically
be added to the default panel. Unfortunately, it does not work unless
`kdePackages.kcontacts` is also present in the environment. This adds
the dependency if Plasma 6 is also enabled alongside Merkuro.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-05-11 16:53:44 +00:00
r-vdp 57d91c535b
nixos/ssh: add the systemd-ssh-proxy include directive to the Host * block
Otherwise, then any Host or Match block in the extraConfig will absorb the include
2025-05-10 21:10:48 +02:00
isabel d0d992d748
nixos/regreet: use proper user in tmpfiles (#284722) 2025-05-08 20:31:42 +01:00
Stel Clementine 62958875f6 Revert "nixos/k3b: remove module as obsolete"
This reverts commit 8a34d575f6.

PR #351093 removed the `programs.k3b` module due to some confusion about
its relevance. In order to write CDs, the security wrappers that allow
running cdrao and cdrecord with elevated privileges are in fact
necessary.
2025-05-04 20:46:53 -07:00
wxt edf8809793
nixos/clash-verge: readd tunMode
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2025-05-04 21:47:30 +08:00
Sizhe Zhao 8f91507efb
nixos/clash-verge: harden systemd service 2025-05-04 21:47:23 +08:00
Gerg-L 487d1383c8
nixos/direnv: fix silent option... again 2025-05-03 18:15:07 -04:00
Lukas Wurzinger 4d4f431ff7
nixos/nh: allow flake uris 2025-04-28 18:38:31 +02:00
cswimr bb4ba2ab1c
starship: add xonsh shell configuration 2025-04-28 01:51:37 -05:00
Wolfgang Walther 85b066ea53
waybar: make the systemd target that pulls in waybar configurable (#399673) 2025-04-27 08:45:49 +00:00
Arne Keller c632b25205
nixos/flashprog: Enable depending NixOS modules (#389346) 2025-04-26 23:10:07 +02:00
Pol Dellaiera 740d16c45a
nixos/starship: add transientPrompt option set for starship on fish shells (#400431) 2025-04-26 06:50:41 +00:00
NotAShelf a4df39f2b2
nixos/nh: change FLAKE variable to NH_FLAKE; improve option documentation 2025-04-24 01:33:48 +03:00
Jörg Thalheim 7169b5d65c
nix-ld: 2.0.3 -> 2.0.4 (#399334) 2025-04-22 10:18:52 +02:00
Fernando Rodrigues d19a913454
nixos/starship: add transientPrompt option set for starship on fish shells
On `fish`, Starship supports transient prompts with no external dependencies.

This commit adds three options that allows users to edit the function bodies of
`starship_transient_prompt_func` and `starship_transient_rprompt_func` and call
`enable_transience` after the Starship initialisation code is sourced into the
shell.

This avoids the need for downstream NixOS configurations to use the
`programs.fish.promptInit` option with the `lib.mkAfter` function to correctly
enable transience.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-20 22:19:18 -03:00
Wolfgang Walther 7f76f39830
nixos/rush: init module (#398463) 2025-04-19 18:25:49 +00:00
João Nogueira 24ad63ef2a
nixos/rush: init module 2025-04-19 19:45:05 +02:00
Thiago Kenji Okada 1decace5e9
nixos/television: init module (#397872) 2025-04-19 13:11:59 +01:00
MidAutumnMoon de2f890b89
nixos/direnv: fix option accessed but not defined
Update nixos/modules/programs/direnv.nix

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2025-04-19 13:55:42 +08:00
Felix Singer 350127c4e7 nixos/flashprog: Enable libjaylink and libftdi modules
flashprog uses the libraries libjaylink and libftdi. So in order for
flashprog to work properly for non-privileged users, enable their
related NixOS modules which enable several udev rules for devices used
by flashprog.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-04-19 00:13:02 +02:00
Austin Horstman 70f338c662
nixos/direnv: fix silent option (#398717) 2025-04-18 11:39:37 -07:00
Gerg-L 482863a71a
nixos/direnv: fix silent option 2025-04-18 12:06:03 -04:00
r-vdp 5737bd989d
waybar: make the systemd target that pulls in waybar configurable
This is useful for instance when you only want one WM to pull in waybar,
and not all of them.
2025-04-18 10:38:53 +02:00
João Nogueira bf35e5f293
nixos/nix-ld: update source repository
This project was transferred from @Mic92 to @nix-community.
2025-04-17 00:46:00 +02:00
7c6f434c 142d79bae8
nixos/iotop: make package overridable (#397921) 2025-04-15 13:01:16 +00:00
Patrizio Bekerle 4d3929d0b1
nixos/television: init module
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2025-04-11 15:07:03 +02:00
Martin Joerg b35b54bf07 nixos/iotop: make package overridable 2025-04-11 12:21:35 +00:00
K900 b3146d4446 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 21:21:10 +03:00
K900 a79bd4968a
amnezia-vpn: fix openvpn; refactor install and fixup (#394130) 2025-04-07 18:46:32 +03:00
nixpkgs-ci[bot] 4c9d1fab5f
Merge master into staging-next 2025-04-06 18:04:14 +00:00
Gabriella Gonzalez 1a01e367f6 nixos/bash: Reset title bar when logging out of remote NixOS system
This fixes an issue where the title bar is permanently clobbered when
you SSH into a remote NixOS system and then log out.  The solution is
to reset the title bar upon logout.
2025-04-06 09:57:48 -07:00
Gabriella Gonzalez b1bcd7acba nixos/bash: Add support for /etc/bash_logout
This adds a new `programs.bash.logout` option which configures the Bash
logout script.

Carefully note that the stock Bash does not support a global logout
script and only supports user-local logout scripts in `~/.bash_logout`.
However, Nixpkgs patches Bash to support a global `/etc/bash_logout`
script here:

ee0fecd318/pkgs/shells/bash/5.nix (L48)

… and the `programs.bash.logout` option configures that logout script.
2025-04-06 09:57:48 -07:00
sund3RRR b4fc0f82bc amnezia-vpn: fix openvpn; refactor install and fixup 2025-04-02 23:22:46 +03:00
Silvan Mosberger e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
K900 30edc74585 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 21:12:38 +03:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Franz Pletz 82f0c74912
nixos/zoxide: init module (#393493) 2025-04-01 18:01:32 +02:00
K900 a6d5666400 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 08:39:50 +03:00
André Silva 09879a452b
nixos/hyprland: fix call to wayland-session.nix 2025-03-31 11:15:31 +01:00
nixpkgs-ci[bot] 34600d0052
Merge staging-next into staging 2025-03-31 00:17:08 +00:00
Seth Flynn 53b589567a
nixos/wayland-session: fix conflicts between users (#390168) 2025-03-30 16:09:54 -04:00
Seth Flynn 4df2726a5c
nixos/wayland-session: fix conflicts between users 2025-03-30 15:37:15 -04:00
nixpkgs-ci[bot] 02e075f1a7
Merge staging-next into staging 2025-03-29 12:06:10 +00:00
K900 4b2bc4c4d7
nixos/k3b: remove, refer users to k3b 24.08 (Qt 6) (#351093) 2025-03-29 14:12:02 +03:00
Mihai Fufezan bc77f0e719
nixos/regreet: use proper user in tmpfiles 2025-03-28 19:58:52 +02:00
nyukuru 2c7a56cee9 nixos/foot: fix zshrc
Fixes error 'command not found: add-zsh-hook'
2025-03-28 00:56:55 -04:00
heisfer 825381d5ed nixos/zoxide: init module 2025-03-26 22:08:23 +02:00
nixpkgs-ci[bot] f079e356d1
Merge staging-next into staging 2025-03-25 00:16:28 +00:00
Tanya 5c72fd6842 nixos/bat: fix settings type handling 2025-03-25 01:21:00 +05:30
K900 f470616a7a
nixos/steam: allow overriding args passed to Steam in session (#382376) 2025-03-24 21:44:21 +03:00
nixpkgs-ci[bot] ce179bc524
Merge staging-next into staging 2025-03-23 12:06:09 +00:00
06kellyjac 130ed284d7 nixos/firefox: detail the format of preferences 2025-03-23 12:44:16 +01:00
nixpkgs-ci[bot] c060400edc
Merge staging-next into staging 2025-03-22 00:15:18 +00:00
Sandro eb21063c25
streamcontroller: 1.5.0-beta.7 -> 1.5.0-beta.8 (#389259) 2025-03-21 21:23:58 +01:00
Ulrik Strid eea56c4c08 streamcontroller module: Add kdotools when using plasma
Update nixos/modules/programs/streamcontroller.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2025-03-21 15:32:45 +01:00
nixpkgs-ci[bot] a99aed50a5
Merge staging-next into staging 2025-03-20 12:10:38 +00:00
n d6b565f277
nixos/yabar: update package option description 2025-03-20 14:39:01 +05:30
Philip Taron f4dd3ba6e0
systemd: make systemd-ssh-generator work (#372979) 2025-03-15 21:59:59 -07:00
Ryan Hendrickson 0bb33117b2
nixos/pay-respects: fix "(eval):1: parse error near `alias'" (#385287) 2025-03-15 03:24:38 -04:00
Marie Ramlow 5e43294735 nixos/ssh: include systemd-ssh-proxy config 2025-03-14 18:26:43 +01:00
misilelab cbd562ee42 bash: allow setting lsColorsFile to null
Signed-off-by: misilelab <misileminecord@gmail.com>
2025-03-13 22:41:44 +05:30
polyfloyd 682a80bf1f bash: Make it possible to set alternative LS_COLORS 2025-03-13 20:56:41 +05:30
h7x4 ce52fcd4eb
nixos/direnv: add xonsh integration (#383435) 2025-03-12 18:53:07 +01:00
Pol Dellaiera 75cd88fa9b
nixos/light: add minBrightness option (#386182) 2025-03-12 06:33:29 +01:00
rnhmjoj 967a4ba52b nixos/xss-lock: remove startx warning
This warning is based on a misconception: xss-lock, as most user
services, just require access to the shell environment variables,
which for `startx` have to be imported manually.
2025-03-11 11:05:24 +01:00
Sandro bb3577f6b3
nixos/xonsh: add bash completions support (#386311) 2025-03-09 16:02:49 +01:00
Aleksana b930f88a3a
regreet: set right data dir (NixOS#377585) (#383764) 2025-03-09 17:42:44 +08:00
Donovan Glover 9ac142b30c
feedbackd: 0.4.1 -> 0.7.0 (#385050) 2025-03-08 10:57:13 +00:00
jan 5deeee393a nixos/wireshark: usbmon permissions
Add an usbmon.enable option (default false) for setting permissions for
capturing USB traffic.
Add a dumpcap.enable option (default true) for setting permissions for
capturing network traffic.
fixes #375657
2025-03-07 19:34:27 +01:00
Luflosi d3d77fbad0
feedbackd: 0.4.1 -> 0.7.0
https://source.puri.sm/Librem5/feedbackd/-/releases/v0.5.0
https://source.puri.sm/Librem5/feedbackd/-/releases/v0.6.0
https://source.puri.sm/Librem5/feedbackd/-/releases/v0.7.0

Release v0.5.0 mentions a new systemd unit "fbd-alert-slider" but I did not attempt to make it work as I don't have such a device.
2025-03-05 14:49:09 +01:00
SamLukeYes 04a0fa83b6
nixos/xonsh: add bash completions support 2025-03-02 12:31:56 +08:00
Hugo Cartigny (BlueskyFR) f7548cccda nixos/light: add minBrightness option
Make the minimum brightness level configurable instead of using an arbitrary value of 0.1.
2025-03-01 20:33:31 +01:00
OPNA2608 03b0b73fbd miriway: 24.11.1 -> 25.02 2025-02-26 22:24:17 +01:00
Luflosi 732a1dca73
nixos/pay-respects: fix "(eval):1: parse error near `alias'"
The README of pay-respects recommends the following for Bash and Zsh:
```sh
eval "$(pay-respects bash --alias)"
eval "$(pay-respects zsh --alias)"
```
The code in the NixOS module is missing the quotes.
This causes "(eval):1: parse error near `alias'" for me (using Zsh) and the alias `f` does not work.
2025-02-26 17:16:31 +01:00
Lin Jian 48966eb4c6
nixos/xonsh: update descriptions and examples (#383702) 2025-02-24 22:14:43 +08:00
SamLukeYes 5e8d9d3131
nixos/xonsh: update descriptions and examples 2025-02-24 22:04:21 +08:00
Weijia Wang 747f842fb1
mdevctl: fix script dir location (#383111) 2025-02-24 10:39:33 +01:00
Martin Weinelt 6f7bcb6e43
maintainers: drop nrdxp
Banned from the community on 2024-11-06.
2025-02-23 01:42:45 +01:00
Felix Singer 77d0b214fd nixos/flashprog: Add Felix Singer as maintainer
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-21 18:43:10 +01:00
Felix Singer 6cc40f8771 nixos/flashprog: Use mkEnableOption instead of mkOption
Remove some overhead by using mkEnableOption.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-21 18:43:10 +01:00
Ben Mayer b3fed22ea8
regreet: set right data dir (NixOS#377585) 2025-02-20 22:39:41 +01:00
SamLukeYes 9c22fc4730
nixos/direnv: add xonsh integration 2025-02-20 22:19:01 +08:00
Henri Menke 8ed94b5b43
nixos/mosh: make package overridable (#383643) 2025-02-20 18:49:45 +05:30
Felix Singer 43fccee556 nixos/flashprog: Introduce flashprog module
Introduce the flashprog module. By enabling, its udev rules are applied
in addition to installing the package.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-19 20:40:46 +01:00
Weijia Wang a3fff1098b mdevctl: fix script dir location 2025-02-18 15:02:34 +01:00
GovanifY 6a3f025e54
nixos/ghidra: init 2025-02-18 09:53:01 +01:00
Patrick Steinhardt 4ded262fbc nixos/steam: allow overriding args passed to Steam in session
The Gamescope session executes Steam with a fixed set of arguments,
enabling its tenfoot interface. In some cases though one may want to
override these arguments, e.g. by using big picture more instead or
enabling SteamOS integration.

Introduce a new option that allows to override these arguments.
2025-02-15 18:56:48 +01:00
kirillrdy ace6a3fdc2
xonsh.xontribs.xontrib-*: init at various (#354733) 2025-02-14 07:18:35 +11:00
teutat3s 40e7344388 nixos/sway: restore list type of xdg.portal.config.sway.default
This fixes a regression introduced in #348792, where the option type was
changed from list to string. This commit reverts the type back to list.

Fixes #352188
Closes #352193
2025-02-10 17:15:56 +05:30
Christian Kögler 3a9daffa68
nixos/nix-required-mounts: Fix outdated option hardware.opengl (#372861) 2025-02-09 11:39:22 +01:00
Infinidoge f05513f3af
nixos/xonsh: support extra packages 2025-02-06 11:03:45 -05:00
Sandro 05aa2b1aac
nixos/chromium: mention other chromium based browsers that work with this
Closes #378590
2025-02-03 16:49:13 +01:00
John Titor ad9367061b treewide: adopt hypr ecosytem by Hyprland team
Preserved maintainer entries that are not in Hyprland teams.

Removed @wozeparrot as per https://github.com/NixOS/nixpkgs/issues/377569#issuecomment-2619445027

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-01-28 23:03:51 +05:30
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Austin Horstman 41f6c05504
nixos/pay-respects: fix environment config
Unable to build flake since this was introduced, seems it clobbers other
configuration attributes.
2025-01-24 19:25:05 -06:00
Arne Keller baa3537982
opengamepadui: init at 0.35.7 (#368017) 2025-01-23 09:49:15 +01:00
Anderson Torres bc80114502 various: remove AndersonTorres from modules maintainership 2025-01-22 21:47:09 -03:00
William Edwards 931f637cfa nixos/opengamepadui: init 2025-01-22 09:07:25 -08:00
nixpkgs-ci[bot] 0cae90809c
Merge master into staging-next 2025-01-18 18:04:10 +00:00
Arne Keller b0a6b4fe4a
nixos/pay-respects: add runtimeRules and aiIntegration options (#357425) 2025-01-18 16:15:34 +01:00