1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

nix: use by default quickshell from source (#939)

This commit is contained in:
Lucas
2025-12-07 23:11:22 -03:00
committed by GitHub
parent 54b253099d
commit f6a776a692
5 changed files with 43 additions and 13 deletions

View File

@@ -4,13 +4,13 @@
lib,
dmsPkgs,
...
}: let
} @ args: let
cfg = config.programs.dankMaterialShell;
jsonFormat = pkgs.formats.json {};
common = import ./common.nix {inherit config pkgs lib dmsPkgs;};
in {
imports = [
./options.nix
(import ./options.nix args)
(lib.mkRemovedOptionModule ["programs" "dankMaterialShell" "enableNightMode"] "Night mode is now always available.")
(lib.mkRenamedOptionModule ["programs" "dankMaterialShell" "enableSystemd"] ["programs" "dankMaterialShell" "systemd" "enable"])
];

View File

@@ -4,12 +4,12 @@
lib,
dmsPkgs,
...
}: let
} @ args: let
cfg = config.programs.dankMaterialShell;
common = import ./common.nix {inherit config pkgs lib dmsPkgs;};
in {
imports = [
./options.nix
(import ./options.nix args)
];
config = lib.mkIf cfg.enable

View File

@@ -1,6 +1,6 @@
{
pkgs,
lib,
dmsPkgs,
...
}: let
inherit (lib) types;
@@ -62,7 +62,9 @@ in {
description = "Add needed dependencies to have system sound support";
};
quickshell = {
package = lib.mkPackageOption pkgs "quickshell" {};
package = lib.mkPackageOption dmsPkgs "quickshell" {
extraDescription = "The quickshell package to use (defaults to be built from source, in the commit 26531f due to unreleased features used by DMS).";
};
};
};
}