35 lines
744 B
Nix
35 lines
744 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
nomarchy-sddm-theme = pkgs.stdenv.mkDerivation {
|
|
pname = "nomarchy-sddm-theme";
|
|
version = "1.0";
|
|
src = ../../assets/sddm/nomarchy;
|
|
installPhase = ''
|
|
mkdir -p $out/share/sddm/themes/nomarchy
|
|
cp -r * $out/share/sddm/themes/nomarchy/
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
theme = "nomarchy";
|
|
};
|
|
|
|
services.displayManager.autoLogin = {
|
|
enable = lib.mkDefault true;
|
|
user = lib.mkDefault "nomarchy";
|
|
};
|
|
|
|
environment.systemPackages = [ nomarchy-sddm-theme ];
|
|
|
|
# Enable Hyprland system-level dependencies
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
};
|
|
programs.uwsm.enable = true;
|
|
}
|