set server module to be void.isServer instead and do logind

This commit is contained in:
Sakooooo 2024-12-30 19:12:22 +04:00
parent 4427afbce1
commit 5e7e8f1f37
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,6 +1,6 @@
{ config, lib, ... }: { config, lib, ... }:
with lib; with lib;
let cfg = config.modules.server; let cfg = config.void.server;
in { in {
imports = [ ]; imports = [ ];
@ -25,5 +25,9 @@ in {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPGAwG2Fqs3xNF/6/9GdznH/jUIqxW3aTYvmteuq9odZ sako@sakotop" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPGAwG2Fqs3xNF/6/9GdznH/jUIqxW3aTYvmteuq9odZ sako@sakotop"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjPSt4TykAJgafU9Trk7sr9wzXhBZxawDIZir0CPyDN sako@sakopc" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjPSt4TykAJgafU9Trk7sr9wzXhBZxawDIZir0CPyDN sako@sakopc"
]; ];
# anything can be a server, even a laptop
# any say against this is a lie and propaganda
services.logind.lidSwitch = "ignore";
}; };
} }