mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(sakuya): klipper and motion
This commit is contained in:
parent
7e7d6b01f7
commit
a02778b413
10 changed files with 214 additions and 127 deletions
|
|
@ -12,7 +12,6 @@ _: {
|
|||
enable = true;
|
||||
ports.stream.port = 41081;
|
||||
};
|
||||
moonraker.enable = true;
|
||||
};
|
||||
};
|
||||
network.networks = {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,7 @@ in {
|
|||
nixos.barcodebuddy-scanner
|
||||
nixos.motion
|
||||
nixos.cameras.kitchen
|
||||
nixos.cameras.printer
|
||||
nixos.cameras.logistics-webcam
|
||||
nixos.klipper
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
|
@ -63,7 +61,7 @@ in {
|
|||
description = "Logistics";
|
||||
extraGroups = [
|
||||
"nixbuilder"
|
||||
(mkIf (!config.services.octoprint.enable && !!config.services.klipper.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;
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@ _: {
|
|||
modules = [
|
||||
./nixos.nix
|
||||
];
|
||||
deploy = {
|
||||
hostname = "10.1.1.50";
|
||||
};
|
||||
network.networks = {
|
||||
tail = {
|
||||
address4 = "100.106.9.75";
|
||||
|
|
@ -21,6 +18,11 @@ _: {
|
|||
exports = {
|
||||
services = {
|
||||
tailscale.enable = true;
|
||||
motion = {
|
||||
enable = true;
|
||||
id = "printercam";
|
||||
};
|
||||
moonraker.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
nixos.base
|
||||
nixos.sops
|
||||
nixos.tailscale
|
||||
nixos.klipper
|
||||
nixos.motion
|
||||
nixos.cameras.printer
|
||||
];
|
||||
boot.loader = {
|
||||
grub.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue