Files
sydnix/modules/nixos/dank-material-shell.nix
Madeleine Sydney Ślaga 87a8280e51
Some checks failed
build / build (push) Has been cancelled
refactor(niri,xwayland-satellite): split out xwayland-satellite
해결 #5
2026-03-31 14:42:59 -06:00

29 lines
741 B
Nix

{ config, lib, pkgs, ... }:
let cfg = config.sydnix.dank-material-shell;
in {
options.sydnix.dank-material-shell = {
enable = lib.mkEnableOption "Dank Material Shell";
};
config = lib.mkIf cfg.enable {
programs.dms-shell = {
enable = true;
enableDynamicTheming = false;
};
# Start after xwayland-satellite, if possible. So DMS can start
# with the DISPLAY env var set.
systemd.user.services.dms = {
wants = ["xwayland-satellite.service"];
after = ["xwayland-satellite.service"];
};
services.displayManager.dms-greeter = {
enable = true;
compositor.name = assert config.sydnix.niri.enable; "niri";
configHome = "/home/msyds"; # Really stupid.
};
};
}