mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix(logistics): remove octoprint
This commit is contained in:
parent
6e4118dec5
commit
1bbe964f6a
8 changed files with 83 additions and 51 deletions
|
|
@ -12,13 +12,12 @@ in {
|
|||
in [
|
||||
nixos.sops
|
||||
nixos.base
|
||||
nixos.nginx
|
||||
nixos.barcodebuddy-scanner
|
||||
nixos.motion
|
||||
nixos.cameras.kitchen
|
||||
nixos.cameras.printer
|
||||
nixos.cameras.logistics-webcam
|
||||
nixos.octoprint
|
||||
nixos.nginx
|
||||
nixos.klipper
|
||||
nixos.moonraker
|
||||
nixos.fluidd
|
||||
|
|
@ -63,7 +62,7 @@ in {
|
|||
description = "Logistics";
|
||||
extraGroups = [
|
||||
"nixbuilder"
|
||||
(mkIf (!config.services.octoprint.enable) "dialout")
|
||||
(mkIf (!config.services.octoprint.enable && !!config.services.klipper.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