sddm, with silentsddm

This commit is contained in:
Julia Lange 2026-02-10 23:35:37 -08:00
parent d02533517f
commit 085e8e45ac
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
4 changed files with 55 additions and 0 deletions

21
flake.lock generated
View file

@ -149,9 +149,30 @@
"home-manager": "home-manager",
"niri": "niri",
"nixpkgs": "nixpkgs",
"silentSDDM": "silentSDDM",
"sops-nix": "sops-nix"
}
},
"silentSDDM": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1769900466,
"narHash": "sha256-WeoJBj/PhqFCCJEIycTipqPbKm5BpQT2uzFTYcYZ30I=",
"owner": "uiriansan",
"repo": "SilentSDDM",
"rev": "a44caf771b4cb72f5c2514f7d488455b0fa860d2",
"type": "github"
},
"original": {
"owner": "uiriansan",
"repo": "SilentSDDM",
"type": "github"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": [

View file

@ -85,5 +85,12 @@
repo = "sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
silentSDDM = {
type = "github";
owner = "uiriansan";
repo = "SilentSDDM";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}

View file

@ -0,0 +1,27 @@
{ config, pkgs, lib, inputs', ... }:
{
options.sddm = {
enable = lib.mkEnableOption "enables sddm";
};
config = lib.mkIf config.sddm.enable (let
sddm-theme = inputs'.silentSDDM.packages.default.override {
theme = "catppuccin-macchiato";
};
in {
qt.enable = true;
environment.systemPackages = [ sddm-theme sddm-theme.test ];
services.displayManager.sddm = {
wayland.enable = true;
package = pkgs.kdePackages.sddm;
enable = true;
theme = sddm-theme.pname;
extraPackages = sddm-theme.propagatedBuildInputs;
settings.General = {
GreeterEnvironment = "QML2_IMPORT_PATH=${sddm-theme}/share/sddm/themes/${sddm-theme.pname}/components/,QT_IM_MODULE=qtvirtualkeyboard";
InputMethod = "qtvirtualkeyboard";
};
};
});
}