Commit graph

481 commits

Author SHA1 Message Date
Wolfgang Walther 5cbdb94f3a
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.

(cherry picked from commit 91a8fee3aa)
2025-10-05 12:59:25 +02:00
Wolfgang Walther 1c6af9ba0a
treewide: remove unused with
Auto-fixed by nixf-diagnose.

(cherry picked from commit c283f32d29)
2025-10-05 12:38:28 +02:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Wolfgang Walther a46262ae77
treewide: run treefmt with mdcr/nixfmt 2025-07-24 14:58:15 +02:00
Martin Weinelt c840946142
nixos/geoclue2: set default location service to beaconDB (#391845) 2025-04-30 22:15:11 +02:00
Jan Tojnar da86276039
Merge dleyna: 0.7.0 -> 0.8.3 (#400157) 2025-04-23 14:53:01 +02:00
Grimmauld e3aa1e0017
nixos/dleyna-*: unify 2025-04-21 17:57:43 +02:00
Grimmauld 372786f832
nixos/telepathy: drop removed logger package 2025-04-20 14:51:18 +02:00
Grimmauld 4ecb83edb0
nixos/gsignond: remove 2025-04-17 10:58:21 +02: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
Ryan Hendrickson 4c2f564ef0 nixos/geoclue2: add options for static source 2025-03-24 19:15:47 -04:00
Joel Koen e51ab12e17
nixos/geoclue2: set default location service to beaconDB 2025-03-21 22:43:25 +10:00
FliegendeWurst 0867bf32d0 nixos/wlock: init 2025-03-16 10:52:21 +01:00
misuzu 05b496433a nixos/pipewire: support system wide pipewire-pulse service 2025-03-13 19:37:45 +02:00
K900 c63e1d1daf nixos/pipewire: remove client-rt.conf support 2025-03-06 16:56:39 +03:00
Seth Flynn 04cb1b1654
nixos/flatpak: format with nixfmt 2025-02-02 15:41:19 -05:00
seth ae96b31920
flatpak: 1.14.10 -> 1.16.0
Diff: https://github.com/flatpak/flatpak/compare/1.14.10...1.16.0

Changelog: https://github.com/flatpak/flatpak/releases/tag/1.16.0
2025-02-02 15:41:17 -05:00
Bobby Rong 3cdbf0a9ec
Pantheon 8 (#312449) 2025-01-12 18:12:34 +08:00
Bobby Rong b1ebe0ae82
nixos/pantheon: Get rid of bamf
This is not needed with the latest gala and dock.
2025-01-11 23:09:11 +08:00
piegames dd7d5339f7 treewide: Fix incorrect string indentations 2025-01-07 19:49:28 +01:00
nicoo 238b407862
nixos: hardware.pulseaudio → services.pulseaudio (#369391) 2024-12-30 13:46:50 +00:00
Colin 26553428ce nixos/bonsaid: init
Co-authored-by: misuzu <neironyan@gmail.com>
2024-12-20 10:07:31 +00:00
Bobby Rong ec21cacf9b
nixos/pantheon: Get rid of gsignond
This is not needed with switchboard-plug-onlineaccount 6.0.0.
2024-12-13 23:31:49 +08:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Felix Buehler 19fb7137b0 nixos/services.zeitgeist: remove with lib; 2024-12-08 13:21:52 +01:00
Felix Buehler e323870fc8 nixos/services.malcontent: remove with lib; 2024-12-08 13:21:52 +01:00
Felix Buehler e693f4b953 nixos/services.geoclue2: remove with lib; 2024-12-08 13:21:52 +01:00
Felix Buehler eeda338311 nixos/services.espanso: remove with lib; 2024-12-08 13:21:52 +01:00
Felix Buehler 793ecf7877 nixos/services.deepin.dde-daemon: remove with lib; 2024-12-08 13:21:51 +01:00
Aleksana 98b5591e5c
nixos/rygel: add package option (#355987) 2024-12-08 18:22:43 +08:00
Jordan Williams 0ba194b1a4
nixos/rygel: add package option 2024-12-07 07:16:28 -06:00
Wolfgang Walther dcf8bcf0b5
nixos/espanso: remove unused wayland option (#339541) 2024-12-04 22:07:06 +01:00
Wolfgang Walther e1e2193dff
nixos/pipewire: remove version reference from warning message
This is also true in 24.11 and up, so no need to state the version
number explicitly.
2024-11-22 18:30:15 +01:00
Colin 67fe3c2326
nixos/geoclue2: add package option (#326882) 2024-11-18 22:40:37 +00:00
Doron Behar 2415e26111 nixos/pipewire: mention possible integration with pulseaudio
The previous assert message was inaccurate, as it didn't reflect the
assertion condition, misleading users into thinking that either
pulseaudio or pipewire should be used as a sound server.
2024-11-05 18:02:03 +02:00
github-actions[bot] 7c78a608b4
Merge master into staging-next 2024-10-17 18:04:30 +00:00
scrufulufugus 969102bd11 system76-scheduler: migrate to pkgs/by-name format 2024-10-17 18:22:34 +02:00
scrufulufugus 1d4df7adcc system76-scheduler: Move out of kernel category
system76-scheduler: add alias at old location
2024-10-17 18:22:34 +02:00
Bobby Rong a506339b29
nixos/localsearch, nixos/tinysparql: Remove some empty lines
As requested by Sandro.
2024-10-14 20:54:19 +08:00
Bobby Rong 8a8d0974b8
nixos/localsearch: Format with nixfmt
As requested by CI.
2024-10-14 20:54:11 +08:00
Bobby Rong c0a9799ad1
tinysparql: Renamed from tracker
The project renamed in 3.8.

This commit is done by hand.
2024-10-14 20:54:11 +08:00
Bobby Rong bd9782dc89
localsearch: Renamed from tracker-miners
The project renamed in 3.8.

This commit is done by hand.
2024-10-14 20:54:11 +08:00
Bobby Rong f65d304316
nixos/tinysparql: Format with nixfmt
As requested by CI.
2024-10-14 20:54:09 +08:00
Bobby Rong 6bfd9413a7
nixos/localsearch: Renamed from tracker-miners module
The project was renamed.
2024-10-14 20:54:09 +08:00
Bobby Rong faf647b799
nixos/tinysparql: Renamed from tracker module
The project was renamed.
2024-10-14 20:54:09 +08:00
Bobby Rong f65fd4b0dd
nixos/tracker: Remove subcommandPackages option
The TRACKER_CLI_SUBCOMMANDS_DIR env is superseded by TRACKER_CLI_DIR env in
d14c3bb0af

The TRACKER_CLI_DIR env is then removed in
3a86e86c9d
with the commit message "we do no longer expect this CLI to be extended by external
projects".

Also tracker-miners (localsearch) now provides its own cli tool:
a8989f4378
2024-10-14 20:54:09 +08:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Felix Buehler 9faf712298 nixos/services.bamf: remove with lib; 2024-09-15 10:43:48 +02:00
Felix Buehler 13c9b59247 nixos/services.accounts-daemon: remove with lib; 2024-09-15 10:43:48 +02:00
Martin Weinelt 458c073712
neard: 0.18 -> 0.19-unstable-2024-07-02 (#337524) 2024-09-07 18:00:14 +02:00