Neovim added leap plugin

Rewritten and moved portable module
Updated background
Disabled garnix substitutor
Small changes to greetd
This commit is contained in:
Jurn Wubben 2025-06-23 20:10:15 +02:00
parent 488bd8911b
commit 664594c064
15 changed files with 131 additions and 31 deletions

View file

@ -3,7 +3,6 @@
./tailscale.nix
./avahi.nix
./kanata.nix
./power.nix
./ssh.nix
];
}

View file

@ -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;
};
}

View file

@ -1,7 +1,7 @@
{config, ...}: {
services.openssh = {
enable = true;
openFirewall = !config.niksos.portable;
openFirewall = !config.niksos.portable.enable;
settings.UseDns = true;
};
}