34 lines
542 B
Nix
34 lines
542 B
Nix
{
|
|
description = "sddm config";
|
|
|
|
inputs = {
|
|
|
|
theme.url = "./themes/tokyo-night";
|
|
|
|
};
|
|
|
|
outputs = { self, ... }@inputs: {
|
|
|
|
module = { config, lib, pkgs, ... }: {
|
|
|
|
imports = [];
|
|
|
|
qt.enable = true;
|
|
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
autoNumlock = true;
|
|
theme = "${inputs.theme.theme { inherit pkgs; }}";
|
|
enableHidpi = true;
|
|
extraPackages = with pkgs; [
|
|
libsForQt5.qtsvg
|
|
libsForQt5.qtquickcontrols2
|
|
libsForQt5.qtgraphicaleffects
|
|
];
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
}
|