Commit graph

29 commits

Author SHA1 Message Date
rwxae
dd14de4432
noctalia-shell: init (#2077)
Some checks failed
Check / aarch64-darwin (push) Has been cancelled
Check / aarch64-linux (push) Has been cancelled
Check / x86_64-darwin (push) Has been cancelled
Check / x86_64-linux (push) Has been cancelled
Label Merge Conflicts / conflicts (push) Has been cancelled
Documentation / docs (push) Has been cancelled
Link: https://github.com/nix-community/stylix/pull/2077

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-11 18:34:04 +01:00
0xda157
3a332459f4
treewide: use strict mode for nixfmt (#2041)
Link: https://github.com/nix-community/stylix/pull/2041
Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-05 16:05:09 -08:00
NAHO
71054adbc3
stylix/testbed/modules/application: add notification progress bar (#2021)
Some checks failed
Check / aarch64-darwin (push) Has been cancelled
Check / aarch64-linux (push) Has been cancelled
Check / x86_64-darwin (push) Has been cancelled
Check / x86_64-linux (push) Has been cancelled
Label Merge Conflicts / conflicts (push) Has been cancelled
Documentation / docs (push) Has been cancelled
Link: https://github.com/nix-community/stylix/pull/2021

Reviewed-by: 0xda157 <da157@voidq.com>
2025-12-01 20:14:00 -08:00
0xda157
89f99bfeb8
vicinae: init (#1994)
Link: https://github.com/nix-community/stylix/pull/1994

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-21 22:34:06 +01:00
NAHO
dcf49c0c55
stylix/testbed/default: deprecate pkgs.system
Deprecate pkgs.system with pkgs.stdenv.hostPlatform.system, following
upstream commit [1] ("aliases: add warnings to deprecated system
definitions").

[1]: 90cb787644

Fixes: efd80454b4 ("flake: update nixpkgs input")
2025-11-17 16:08:02 +01:00
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
484819a16f
stylix/testbed/default: simplify attribute set declaration (#1906)
Link: https://github.com/nix-community/stylix/pull/1906
Fixes: c32c82e460 ("zen-browser: init (#1694)")

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-09-24 16:52:49 -07:00
Flameopathic
526c882800
nixvim: add standalone testbed (#1902)
Link: https://github.com/nix-community/stylix/pull/1902

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-09-24 14:17:30 +02:00
awwpotato
0e7b897c73
flake: update all inputs (#1881)
Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:

    biome check --unsafe --write
    pre-commit run --all-files

Rename the KDE platform, following local commit f47c0edcf7 ("treewide:
remove Plasma 5 support dropped upstream (#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").

[1]: 31d5c4e753
[2]: 1e759786e5

Closes: https://github.com/nix-community/stylix/issues/1865
Link: https://github.com/nix-community/stylix/pull/1866
Link: https://github.com/nix-community/stylix/pull/1881

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-09-05 22:22:06 +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
NAHO
9d539db980
treewide: properly quote stylix.image when used as a shell argument (#1805)
Link: https://github.com/nix-community/stylix/pull/1743
Link: https://github.com/nix-community/stylix/pull/1805

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-30 15:09:48 +02:00
Daniel Thwaites
8017dec82d
stylix/testbed: make path escaping test actually contain a space
Previously the space was sanitized away by `fetchurl` because it was
part of the derivation name. Also, the path with a space was not used
in the `schemeless` theme, which is where the bug happened.
2025-07-30 15:08:03 +02:00
Daniel Thwaites
3499e3ec70
treewide: properly quote stylix.image when used as a shell argument
Closes: https://github.com/nix-community/stylix/issues/1720
Fixes: 218d4424b0 ("treewide: remove redundant stylix.image Nix store copies (#1659)")
2025-07-30 15:02:19 +02: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
Karun Sandhu
c32c82e460
zen-browser: init (#1694)
Link: https://github.com/nix-community/stylix/pull/1694
Closes: https://github.com/nix-community/stylix/issues/1685

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: awwpotato <awwpotato@voidq.com>
2025-07-20 16:47:35 -07:00
NAHO
24499b0049
stylix: conditionally load external modules in testbeds (#1698)
Conditionally load external modules in testbeds to preserve testbed
integrity by preventing unrelated code from running and potentially
invalidating its meaning.

Any performance benefit is merely a side effect of this more targeted
module loading.

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-07-19 10:55:09 -07:00
NAHO
2e2e96f6b0
treewide: remove blank lines around 'let', 'in', and function arguments (#1700)
Link: https://github.com/nix-community/stylix/pull/1700

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-19 10:41:36 -07:00
awwpotato
03699ed214
stylix/testbed: respect xserver rename for gnome (#1714)
Fixes: 8c854fe383 ("stylix: allow choosing testbed desktop (#1222)")
Link: https://github.com/nix-community/stylix/pull/1714

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-17 13:01:22 +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
Flameopathic
7f7472cc90
spicetify: add testbed (#1625)
Link: https://github.com/nix-community/stylix/pull/1625

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-14 22:41:24 +02:00
Flameopathic
84e7ea0aa4
{nixvim,nvf}: add testbeds (#1579)
Link: https://github.com/nix-community/stylix/pull/1579

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-07-10 11:02:34 -07:00
Matt Sturgeon
1fc2289454
stylix: extract testbed modules to autoload.nix (#1520)
Evaluated the set of testbed modules in a separate file from where we
create the testbed NixOS systems.

The first file (autoload.nix) has no dependency on any of Stylix's flake
inputs. The second file (default.nix) takes the matrix as a parameter,
then imports each module into a NixOS system, and wrapper script.

This will enable a partitioned flake to evaluate the set of testbeds
without needing to fully convert them into NixOS systems with
dependencies on dev-inputs.

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

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-06-25 02:13:25 +02:00
repparw
48c4636856
gnome: fix xserver option renames (#1429) 2025-06-01 17:30:05 +01:00
Matt Sturgeon
91755e0f1c
stylix: drop unnecessary use of self in testbed 2025-05-28 19:20:54 +01:00
Matt Sturgeon
f996bf8870
stylix: move testbed isEnabled to its own file 2025-05-28 00:30:20 +01:00
Matt Sturgeon
aaa0517d20
stylix: move testbed themes to their own files
- Converted stylix config into full modules that define `stylix`.
- Introduce `images.nix` for defining common images.
- Renamed `testcase` → `themeName` and `stylix` → `themeModule`.

Co-authored-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-28 00:30:20 +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
Matt Sturgeon
c765b15fc3
stylix: move testbed to a dedicated directory 2025-05-28 00:30:20 +01:00