refactor(treewide)
This commit is contained in:
parent
25d48ac2ac
commit
c4fc882042
99 changed files with 634 additions and 477 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
host = config.ooknet.host;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (host.type != "phone") {
|
||||
|
||||
services.system76-scheduler = {
|
||||
enable = true;
|
||||
};
|
||||
# fix suspend issues
|
||||
powerManagement = {
|
||||
powerDownCommands = "systemctl stop system76-scheduler";
|
||||
resumeCommands = "systemctl start system76-scheduler";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue