Compare commits
No commits in common. "4649a228c6b33ddaf31ae0055e99cf0f02145877" and "7a0c015cd01050257f4023ee8b78fb0609819e64" have entirely different histories.
4649a228c6
...
7a0c015cd0
|
@ -39,11 +39,6 @@ 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,19 +69,4 @@
|
||||||
# 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