Skip to content

Commit

Permalink
nixos/octoprint: format
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDaG committed Oct 8, 2024
1 parent e1301a4 commit ee6128f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions nixos/modules/services/misc/octoprint.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:

let

cfg = config.services.octoprint;
Expand Down Expand Up @@ -128,9 +134,7 @@ in
ExecStart = "${pluginsEnv}/bin/octoprint serve -b ${cfg.stateDir}";
User = cfg.user;
Group = cfg.group;
SupplementaryGroups = [
"dialout"
];
SupplementaryGroups = [ "dialout" ];
};
};

Expand Down

0 comments on commit ee6128f

Please sign in to comment.