DankMaterialShell: init target
#1924
- [x] I certify that I have the right to submit this contribution under the MIT license
- [x] Commit messages adhere to Stylix commit conventions
- [x] Theming changes adhere to the Stylix style guide
- [x] Changes have been tested locally
- [x] Changes have been tested in testbeds
- [x] Each commit in this PR is suitable for backport to the current stable branch
I don't understand why the checks are failing.
I don't understand why the checks are failing.
The locally working evaluations are failing in CI for some reason:
2025-11-04T14:39:20.6152550Z building '/nix/store/r3va1pk1gc1wnmn4ajr8f3vbqicxyx8r-dgop-0.1.7.drv'... 2025-11-04T14:39:20.8373284Z error: Nix daemon disconnected unexpectedly (maybe it crashed?) 2025-11-04T14:39:20.8490390Z WARNING:nix_fast_build:build testbed:dankMaterialShell:light exited with 1 [...] 2025-11-04T14:39:46.9992225Z error: Nix daemon disconnected unexpectedly (maybe it crashed?) 2025-11-04T14:39:47.0068660Z WARNING:nix_fast_build:build testbed:dankMaterialShell:dark exited with 1-- https://github.com/nix-community/stylix/actions/runs/18920823815/job/54477479189?pr=1932
Maybe rebasing this PR on top of https://github.com/nix-community/stylix/pull/1961 once its CI passes, also resolves this CI failure.
pulling from master again should fix the ci
dankmaterialshell has been upstreamed to nixpkgs now, so the flake input is probably no longer necessary, no?
dankmaterialshell has been upstreamed to nixpkgs now, so the flake input is probably no longer necessary, no?
I suppose you are referring to upstream commit https://github.com/NixOS/nixpkgs/commit/b744e5ab0bb291629c75f7aa0d75cf65499137ef ("nixos/dms-greeter: add module"). However, testing the Home Manager module with the upstream flake probably means that we still need it:
diff --git a/modules/dankMaterialShell/testbeds/dankMaterialShell.nix b/modules/dankMaterialShell/testbeds/dankMaterialShell.nix new file mode 100644 index 000000000..235dff4cb --- /dev/null +++ b/modules/dankMaterialShell/testbeds/dankMaterialShell.nix @@ -0,0 +1,11 @@ +{ lib, ... }: +{ + stylix.testbed.ui = { + graphicalEnvironment = "hyprland"; + command.text = "dms run"; + }; + + home-manager.sharedModules = lib.singleton { + programs.dankMaterialShell.enable = true; + }; +} diff --git a/stylix/testbed/default.nix b/stylix/testbed/default.nix index cd43da058..c002f6aeb 100644 --- a/stylix/testbed/default.nix +++ b/stylix/testbed/default.nix @@ -33,6 +33,10 @@ let ) ) { + dankMaterialShell.home-manager.sharedModules = [ + inputs.dankMaterialShell.homeModules.dankMaterialShell.default + ]; + inherit (inputs.spicetify-nix.nixosModules) spicetify; nixvim-integrated = inputs.nixvim.nixosModules.nixvim;