Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-29 22:26:37 +02:00
3 changed files with 42 additions and 23 deletions

View File

@@ -1,27 +1,6 @@
{ pkgs, user, ... }:
{ pkgs, user, host, lib, ... }:
if (host != "NxACE") then
{
# 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;
# };
# };
# };
# };
# };
services.greetd = {
enable = true;
settings = rec {
@@ -31,6 +10,33 @@
};
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";
};
};
};
}