Compare commits
2 Commits
7a0c015cd0
...
4649a228c6
Author | SHA1 | Date |
---|---|---|
Nathan McCarty | 4649a228c6 | |
Nathan McCarty | ac4d80a7c5 |
|
@ -39,6 +39,11 @@ with lib; {
|
||||||
user = "nathan";
|
user = "nathan";
|
||||||
hostname = "100.75.37.98";
|
hostname = "100.75.37.98";
|
||||||
};
|
};
|
||||||
|
"universe" = {
|
||||||
|
forwardAgent = true;
|
||||||
|
user = "nathan";
|
||||||
|
hostname = "100.75.37.98";
|
||||||
|
};
|
||||||
"shadowchild" = {
|
"shadowchild" = {
|
||||||
forwardAgent = true;
|
forwardAgent = true;
|
||||||
user = "nathan";
|
user = "nathan";
|
||||||
|
|
|
@ -69,4 +69,19 @@
|
||||||
# Setup home manager
|
# Setup home manager
|
||||||
home-manager.users.nathan = import ./home.nix;
|
home-manager.users.nathan = import ./home.nix;
|
||||||
|
|
||||||
|
# Containers
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
# Octoprint
|
||||||
|
"octoprint" = {
|
||||||
|
image = "octoprint/octoprint";
|
||||||
|
environment = { "ENABLE_MJPG_STREAMER" = "true"; };
|
||||||
|
ports = [ "80:80" ];
|
||||||
|
volumes = [ "/var/octoprint:/octoprint" ];
|
||||||
|
extraOptions = [
|
||||||
|
"--device=/dev/video0:/dev/video0"
|
||||||
|
"--device=/dev/video1:/dev/video1"
|
||||||
|
"--device=/dev/ttyUSB0:/dev/ttyUSB0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue