kanske?
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
{pkgs, ...}: {
|
||||
services.greetd = {
|
||||
# greetd display manager
|
||||
services.greetd = let
|
||||
session = {
|
||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
||||
user = "cnst";
|
||||
};
|
||||
in {
|
||||
enable = true;
|
||||
settings = {
|
||||
# AUTOLOGIN
|
||||
# initial_session = {
|
||||
# command = "${pkgs.hyprland}/bin/Hyprland";
|
||||
# user = "cnst";
|
||||
# };
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session --asterisks";
|
||||
user = "greeter";
|
||||
};
|
||||
terminal.vt = 1;
|
||||
default_session = session;
|
||||
initial_session = session;
|
||||
};
|
||||
};
|
||||
|
||||
# unlock GPG keyring on login
|
||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [22];
|
||||
settings = {
|
||||
AllowUsers = ["toothpick" "cnst"];
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user