mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-06-17 08:51:21 -07:00
change to module docker for torus
This commit is contained in:
parent
8f4c74bf04
commit
dae673e57d
@ -25,14 +25,6 @@
|
||||
"net.ipv4.conf.all.forwarding" = true; # Needed for wireguard-server
|
||||
};
|
||||
|
||||
# TODO: Update to docker from modules and ensure docker containers still work
|
||||
# Enable virtualisation
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
package = pkgs.docker_27;
|
||||
storageDriver = "btrfs";
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia.open = false;
|
||||
|
||||
@ -82,7 +74,7 @@
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8065/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
});
|
||||
"codeA.tstarr.us" = (SSL // {
|
||||
locations."/" = {
|
||||
@ -103,6 +95,12 @@
|
||||
modules = {
|
||||
base-plus.enable = true;
|
||||
physical.enable = true;
|
||||
programs = {
|
||||
docker = {
|
||||
enable = true;
|
||||
storageDriver = "btrfs";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
ssh.enable = true;
|
||||
syncthing = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user