Compare commits
No commits in common. "a9a3785e80437cedda701ec31695f63fbd640b78" and "3254dc04681834c90eb6f8fc9b2f8eb2f74d421b" have entirely different histories.
a9a3785e80
...
3254dc0468
@ -147,11 +147,6 @@
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/var/www" =
|
||||
{ device = "loutrepool/var/www";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[
|
||||
{
|
||||
|
@ -32,20 +32,6 @@ in
|
||||
processes = {};
|
||||
system = {};
|
||||
disk = {};
|
||||
cgroup = [
|
||||
{
|
||||
paths = [
|
||||
"/sys/fs/cgroup/memory/system.slice/*"
|
||||
];
|
||||
files = ["memory.*usage*" "memory.limit_in_bytes"];
|
||||
}
|
||||
{
|
||||
paths = [
|
||||
"/sys/fs/cgroup/cpu/system.slice/*"
|
||||
];
|
||||
files = ["cpuacct.usage" "cpu.cfs_period_us" "cpu.cfs_quota_us"];
|
||||
}
|
||||
];
|
||||
ipmi_sensor = { path = "${pkgs.ipmitool}/bin/ipmitool"; };
|
||||
smart = {
|
||||
path = "${pkgs.writeShellScriptBin "smartctl" "/run/wrappers/bin/sudo ${pkgs.smartmontools}/bin/smartctl $@"}/bin/smartctl";
|
||||
@ -69,7 +55,7 @@ in
|
||||
import json
|
||||
from subprocess import check_output
|
||||
|
||||
columns = ["NAME", "SIZE", "ALLOC", "FREE", "CKPOINT", "EXPANDSZ", "FRAG", "CAP", "DEDUP", "HEALTH", "ALTROOT"]
|
||||
columns = ["NAME", "SIZE", "ALLOC", "FREE", "EXPANDSZ", "FRAG", "CAP", "DEDUP", "HEALTH", "ALTROOT"]
|
||||
health = {'ONLINE':0, 'DEGRADED':11, 'OFFLINE':21, 'UNAVAIL':22, 'FAULTED':23, 'REMOVED':24}
|
||||
|
||||
stdout = check_output(["${pkgs.zfs}/bin/zpool", "list", "-Hp"],encoding='UTF-8').split('\n')
|
||||
|
@ -41,7 +41,6 @@ in
|
||||
"airsonic.${domaine}" = { ip = "127.0.0.1"; port = 4040; auth = false; };
|
||||
"${domaine}" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "wkd"; auth = false; };
|
||||
"musique-meyenheim.fr" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "musique-meyenheim.fr"; auth = false; };
|
||||
"minecraft.${domaine}" = { ip = "127.0.0.1"; port = nginxGetFirstLocalPort "minecraft-overviewer"; auth = false; };
|
||||
};
|
||||
};
|
||||
|
||||
@ -58,10 +57,6 @@ in
|
||||
listen = [ { addr = "127.0.0.1"; port = 52351; } ];
|
||||
locations = { "/" = { root = "/var/www/factorio"; }; };
|
||||
};
|
||||
"minecraft-overviewer" = {
|
||||
listen = [ { addr = "127.0.0.1"; port = 52354; } ];
|
||||
locations = { "/" = { root = "/var/www/minecraft-overviewer"; }; };
|
||||
};
|
||||
"wkd" = {
|
||||
listen = [ { addr = "127.0.0.1"; port = 52352; } ];
|
||||
locations = { "/.well-known/openpgpkey/" = {
|
||||
|
Loading…
Reference in New Issue
Block a user