set server module to be void.isServer instead and do logind
This commit is contained in:
parent
4427afbce1
commit
5e7e8f1f37
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.modules.server;
|
||||
let cfg = config.void.server;
|
||||
in {
|
||||
imports = [ ];
|
||||
|
||||
|
@ -25,5 +25,9 @@ in {
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPGAwG2Fqs3xNF/6/9GdznH/jUIqxW3aTYvmteuq9odZ sako@sakotop"
|
||||
"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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue