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

nix: refactor module structure and flake output (#1014)

- The program module is now called dank-material-shell
- The homeModules structure is flattened
This commit is contained in:
musjj
2025-12-17 18:12:30 +07:00
committed by GitHub
parent b7911475b6
commit d082d41ab9
10 changed files with 54 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
...
}@args:
let
cfg = config.programs.dankMaterialShell;
cfg = config.programs.dank-material-shell;
jsonFormat = pkgs.formats.json { };
common = import ./common.nix {
inherit
@@ -22,16 +22,16 @@ in
(import ./options.nix args)
(lib.mkRemovedOptionModule [
"programs"
"dankMaterialShell"
"dank-material-shell"
"enableNightMode"
] "Night mode is now always available.")
(lib.mkRenamedOptionModule
[ "programs" "dankMaterialShell" "enableSystemd" ]
[ "programs" "dankMaterialShell" "systemd" "enable" ]
[ "programs" "dank-material-shell" "enableSystemd" ]
[ "programs" "dank-material-shell" "systemd" "enable" ]
)
];
options.programs.dankMaterialShell = with lib.types; {
options.programs.dank-material-shell = with lib.types; {
default = {
settings = lib.mkOption {
type = jsonFormat.type;