Neovim added leap plugin
Rewritten and moved portable module Updated background Disabled garnix substitutor Small changes to greetd
This commit is contained in:
parent
488bd8911b
commit
664594c064
15 changed files with 131 additions and 31 deletions
|
|
@ -3,7 +3,6 @@
|
|||
./tailscale.nix
|
||||
./avahi.nix
|
||||
./kanata.nix
|
||||
./power.nix
|
||||
./ssh.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.niksos.portable = lib.mkEnableOption "battery optimisers";
|
||||
config.services = lib.mkIf config.niksos.portable {
|
||||
logind = {
|
||||
powerKey = "suspend-then-hibernate";
|
||||
powerKeyLongPress = "poweroff";
|
||||
};
|
||||
upower.enable = true;
|
||||
power-profiles-daemon.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{config, ...}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = !config.niksos.portable;
|
||||
openFirewall = !config.niksos.portable.enable;
|
||||
settings.UseDns = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue