43 lines
904 B
Nix
Executable File
43 lines
904 B
Nix
Executable File
{ pkgs, user, host, lib, ... }:
|
|
if (host != "NxACE") then
|
|
{
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = rec {
|
|
hyprland = {
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
|
|
user = user;
|
|
};
|
|
default_session = hyprland;
|
|
vt = 2;
|
|
};
|
|
};
|
|
}
|
|
else
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
sddm
|
|
# where-is-my-sddm-theme
|
|
];
|
|
services.xserver = {
|
|
displayManager = {
|
|
defaultSession = "hyprland";
|
|
sddm = {
|
|
enable = true;
|
|
# theme = "where_is_my_sddm_theme";
|
|
settings = {
|
|
theme = {
|
|
# background = /home/nx2/Pictures/
|
|
passwordFontSize = 12;
|
|
passwordInputCursorVisible = true;
|
|
};
|
|
};
|
|
};
|
|
autoLogin = lib.mkIf (host == "NxACE") {
|
|
enable = true;
|
|
user = "tv";
|
|
};
|
|
};
|
|
};
|
|
}
|