feat(logistics): cura

This commit is contained in:
arcnmx 2024-07-12 13:45:21 -07:00
parent 5964338ab5
commit aeb63b345b
3 changed files with 21 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{
pkgs,
config,
meta,
lib,
@ -56,12 +57,15 @@ in {
};
};
environment.systemPackages = [ pkgs.cura-octoprint ];
users.users.logistics = {
uid = 1000;
isNormalUser = true;
description = "Logistics";
extraGroups = [
"nixbuilder"
(mkIf (!config.services.octoprint.enable) "dialout")
(mkIf config.networking.networkmanager.enable "networkmanager")
];
hashedPasswordFile = config.sops.secrets.logistics-user-password.path;