vno1-rp3b

This commit is contained in:
2023-08-15 07:09:11 +03:00
parent ac2cdc0696
commit 4354cde55e
4 changed files with 122 additions and 2 deletions

View File

@@ -131,7 +131,9 @@
programs = {
mtr.enable = true;
sysdig.enable = true;
sysdig.enable = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
neovim = {
enable = true;
defaultEditor = true;

View File

@@ -9,7 +9,10 @@
options.mj.base.unitstatus = with lib.types; {
enable = lib.mkEnableOption "alert by email on unit failure";
email = lib.mkOption {type = str;};
units = lib.mkOption {type = listOf str;};
units = lib.mkOption {
type = listOf str;
default = [];
};
};
config = lib.mkIf config.mj.base.unitstatus.enable {