mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
feat(logistics): cura
This commit is contained in:
parent
5964338ab5
commit
aeb63b345b
3 changed files with 21 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue