86 lines
3.4 KiB
Nix
86 lines
3.4 KiB
Nix
{ config, pkgs, ... }@all: with all; {
|
|
# services.greetd = {
|
|
# enable = true;
|
|
# settings = rec {
|
|
# hyprland = {
|
|
# command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland --remember-user-session --window-padding 5";
|
|
# user = hyper.user;
|
|
# };
|
|
# default_session = hyprland;
|
|
# vt = 2;
|
|
# };
|
|
# # useTextGreeter = true;
|
|
# };
|
|
services.displayManager.ly = {
|
|
# info and docs at https://codeberg.org/fairyglade/ly/src/branch/master/res/config.ini
|
|
enable = true;
|
|
package = pkgs.ly;
|
|
settings = with rice.color; let h = rice.lib.nohash; in {
|
|
allow_empty_password = false;
|
|
animation = "matrix";
|
|
animation_timeout_sec = 0; # forever
|
|
asterisk = "*";
|
|
auth_fails = 10;
|
|
# auto_login_session = "hyprland";
|
|
# auto_login_user = hyper.user;
|
|
battery_id = if hyper.isMobile then "BAT0" else null;
|
|
bg = "0x00${h background}";
|
|
bigclock_12hr = false;
|
|
bigclock = "en";
|
|
bigclock_seconds = false;
|
|
blank_box = true; # not transparent
|
|
border_fg = "0x00${h border}";
|
|
box_title = " Optimistic Nihilism ";
|
|
clear_password = true;
|
|
clock = "%c";
|
|
cmatrix_fg = "0x00${h accent.base}";
|
|
cmatrix_head_col = "0x01${h accent.bright}";
|
|
cmatrix_max_codepoint = "0x7B";
|
|
cmatrix_min_codepoint = "0x21";
|
|
colormix_col1 = "0x00${h accent.base}";
|
|
colormix_col2 = "0x00${h secondary.base}";
|
|
colormix_col3 = "0x20${h tertiary.base}";
|
|
default_input = "password";
|
|
# doom_bottom_color = 0x00FFFFFF;
|
|
# doom_fire_height = 6; # 1-9
|
|
# doom_fire_spread = 2; # 0-4
|
|
# doom_middle_color = 0x00C78F17;
|
|
# doom_top_color = 0x009F2707;
|
|
# dur_file_path = $CONFIG_DIRECTORY/ly/example.dur;
|
|
# dur_offset_alignment = center; # Available inputs: topleft, topcenter, topright, centerleft, center, centerright, bottomleft, bottomcenter, bottomright
|
|
# Dur offset x direction (value is added to the current position determined by alignment, negatives are supported)
|
|
# dur_x_offset = 0;
|
|
# dur_y_offset = 0; # Dur offset y direction (value is added to the current position determined by alignment, negatives are supported)
|
|
# edge_margin = 0; # Set margin to the edges of the DM (useful for curved monitors)
|
|
error_bg = "0x00${h negative.darker}";
|
|
error_fg = "0x01${h negative.base}";
|
|
fg = "0x00${h foreground}";
|
|
full_color = true;
|
|
# gameoflife_entropy_interval = 20; # None
|
|
# gameoflife_fg = "0x00${h accent.base}";
|
|
# gameoflife_frame_delay = 6;
|
|
# gameoflife_initial_density = 0.4;
|
|
# # hibernate_cmd = null;
|
|
# # hibernate_key = F4;
|
|
hide_borders = false; # Remove main box borders
|
|
hide_keyboard_locks = false; # Remove keyboard lock states from the top right corner
|
|
hide_key_hints = false; # Remove power management command hints
|
|
hide_version_string = true;
|
|
# initial_info_text = "Login to ${hyper.host}";
|
|
# input_len = 35;
|
|
lang = "de";
|
|
save = true; # Save the current desktop and login as defaults, and load them on startup
|
|
# numlock = false;
|
|
# text_in_center = true; # Center the session name.
|
|
# vi_default_mode = "normal";
|
|
# vi_mode = true;
|
|
# xinitrc = null;
|
|
# xsessions = null;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
cmatrix
|
|
];
|
|
}
|