Commit graph

7 commits

Author SHA1 Message Date
NAHO
5b9710eee9
treewide: remove optional builtins prefixes from prelude functions (#1915)
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd --type file --exec-batch sed --in-place --regexp-extended "
      s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
      ))\>/\1/g
    "

    nix fmt

This patch is heavily inspired by [1] ("treewide: remove optional
builtins prefixes from prelude functions").

[1]: https://github.com/NixOS/nixpkgs/pull/444432

Link: https://github.com/nix-community/stylix/pull/1915

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-09-28 11:09:21 +02:00
NAHO
3b6731f6f0
stylix/testbed/modules/common: globally enable Bash (#1803)
Globally enable Bash to ensure environment variables are set, avoiding
individual testbeds to consider environment variable implementation
details.

Link: https://github.com/nix-community/stylix/pull/1803

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-30 10:23:34 -07:00
awwpotato
2f1ae3b872
stylix/testbed: add sendNotifications option (#1770)
Link: https://github.com/nix-community/stylix/pull/1770

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-27 19:05:26 +02:00
NAHO
1adb93fcbc
flake: add Flake Parts tree into testbed environment
Add the Flake Parts tree into the testbed environment, enabling
realistic testing interactions.

Flake Parts is chosen over Stylix to reduce cache invalidations, and
over other flake inputs as the smallest tree.
2025-07-24 16:58:27 +02:00
Mateus Auler
8c854fe383
stylix: allow choosing testbed desktop (#1222)
Allow choosing the testbed desktop, ideally as a temporary solution
until migrating to the cage environment.

Link: https://github.com/nix-community/stylix/pull/1222

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-16 15:43:02 +02:00
repparw
48c4636856
gnome: fix xserver option renames (#1429) 2025-06-01 17:30:05 +01:00
Matt Sturgeon
7afee8f85b
stylix: move testbed modules to their own files
Introduce `user.toml` for storing shared user info.
2025-05-28 00:30:20 +01:00