This commit is contained in:
Ingolf Wagner 2019-12-24 12:50:10 +13:00
parent ac196a752c
commit a8c7fc1718
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 25 additions and 31 deletions

View file

@ -28,12 +28,9 @@
# automount
# ---------
(let
mediaUUID = "3d106f56-89e5-400d-9d6b-1dd957919548";
in
{
(let mediaUUID = "3d106f56-89e5-400d-9d6b-1dd957919548";
in {
fileSystems."/media" = {
#device = "/dev/disk/by-uuid/162c2f9e-8baa-4433-99fd-bb7e7b69472f";
device = "/dev/disk/by-uuid/${mediaUUID}";
fsType = "ext4";
options = [
@ -47,14 +44,12 @@
options = "nofail,noauto";
type = "ext4";
wantedBy = [ "multi-user.target" ];
#what = "/dev/disk/by-uuid/162c2f9e-8baa-4433-99fd-bb7e7b69472f";
what = "/dev/disk/by-uuid/${mediaUUID}";
where = "/media";
}];
})
];
# NTFS support
# ------------
environment.systemPackages = [ pkgs.ntfs3g ];

View file

@ -227,7 +227,6 @@ in {
"ssh://gogs@git.ingolf-wagner.de:443/palo/LineagoOS-build.git"
"git@github.com:mrVanDalo/LineagoOS-build.git")
];
};
};

View file

@ -13,7 +13,7 @@
services.prometheus = {
enable = true;
# keep data for 30 days
extraFlags = "--storage.tsdb.retention.time=30d"
extraFlags = "--storage.tsdb.retention.time=30d";
scrapeConfigs = [
{
job_name = "nginx";