Skip to content
Snippets Groups Projects
Commit 3fa555b4 authored by Samuel Laurén's avatar Samuel Laurén
Browse files

Fix glances

parent 5925d70e
No related branches found
No related tags found
No related merge requests found
...@@ -14,9 +14,11 @@ in { ...@@ -14,9 +14,11 @@ in {
type = types.str; type = types.str;
}; };
}; };
};
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.python36Packages.glances ]; environment.systemPackages = [ pkgs.python36Packages.glances ];
systemd.services.glances = { systemd.services.glances = {
description = "Glances server"; description = "Glances server";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
...@@ -29,5 +31,4 @@ in { ...@@ -29,5 +31,4 @@ in {
}; };
}; };
}; };
};
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment