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
|
"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"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
hardware.nvidia.open = false;
|
hardware.nvidia.open = false;
|
||||||
|
|
||||||
@ -103,6 +95,12 @@
|
|||||||
modules = {
|
modules = {
|
||||||
base-plus.enable = true;
|
base-plus.enable = true;
|
||||||
physical.enable = true;
|
physical.enable = true;
|
||||||
|
programs = {
|
||||||
|
docker = {
|
||||||
|
enable = true;
|
||||||
|
storageDriver = "btrfs";
|
||||||
|
};
|
||||||
|
};
|
||||||
services = {
|
services = {
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
syncthing = {
|
syncthing = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user