From eef4a79b043a082eb64ca4e296fbfc8fc18beee4 Mon Sep 17 00:00:00 2001 From: yomaq Date: Thu, 28 Mar 2024 02:01:07 -0500 Subject: [PATCH] clean glances module --- modules/hosts/glances/nixos.nix | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/modules/hosts/glances/nixos.nix b/modules/hosts/glances/nixos.nix index f1b3cf1..6875193 100644 --- a/modules/hosts/glances/nixos.nix +++ b/modules/hosts/glances/nixos.nix @@ -16,11 +16,6 @@ in yomaq.glances = { enable = lib.mkEnableOption (lib.mdDoc "Glances Server"); package = lib.mkPackageOptionMD pkgs "glances" { }; - # listenPort = lib.mkOption { - # type = lib.types.int; - # default = 8082; - # description = lib.mdDoc "Port for Homepage to bind to."; - # }; }; }; config = lib.mkIf cfg.enable { @@ -30,8 +25,6 @@ in wantedBy = [ "multi-user.target" ]; environment = { - # HOMEPAGE_CONFIG_DIR = "/var/lib/homepage-dashboard"; - # PORT = "${toString cfg.listenPort}"; }; serviceConfig = { Type = "simple"; @@ -53,18 +46,6 @@ in ''; }; - - ##### Trying to get docker reporting to work, not working yet - # environment.systemPackages = with pkgs; [(glances.overrideAttrs (oldAttrs: { - # buildInputs = oldAttrs.buildInputs ++ [ python311Packages.docker-py ]; - # propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [python311Packages.docker-py ]; - # }))]; - - # yomaq.glances.package = with pkgs; (glances.overrideAttrs (oldAttrs: { - # buildInputs = oldAttrs.buildInputs or [] ++ [ python311Packages.docker-py ]; - # propagatedBuildInputs = oldAttrs.propagatedBuildInputs or [] ++ [ python311Packages.docker-py]; - # })); - yomaq.homepage.services = (lib.optional (config.yomaq.homepage-dashboard.enable) {"Flake" = [ {"flake.lock last update"={