diff --git a/flake.nix b/flake.nix index da477f6..167d28b 100644 --- a/flake.nix +++ b/flake.nix @@ -93,7 +93,8 @@ rust-project TODO: write shell script for automatically updating `cargoHash` cfg = config.services.status_cloud; pkg = self.packages.${system}.status_cloud; in lib.mkIf cfg.enable { - description = pkg.meta.description; + #description = pkg.meta.description; + description = "Status Cloud"; serviceConfig = { Type = "oneshot"; ExecStart = '' diff --git a/status_cloud/src/main.rs b/status_cloud/src/main.rs index c050a2d..5cb5147 100644 --- a/status_cloud/src/main.rs +++ b/status_cloud/src/main.rs @@ -14,6 +14,7 @@ fn main() -> Result<(), Box> { let args = CliArgs::parse(); println!("Opening Config file: {}", args.config_file); + println!("File exists: {}", std::fs::metadata(args.config_file.clone()).is_ok()); let cfg: Config = confy::load_path(args.config_file)?; let mut body_content: String = format!("*Last Updated:* {} \n", chrono::Local::now().format("%D - %H:%M:%S"));