task | add docker support to fred
This commit is contained in:
parent
02b4c52992
commit
f0a0a8ed26
3 changed files with 29 additions and 6 deletions
|
|
@ -11,6 +11,7 @@
|
|||
./hardware-configuration.nix
|
||||
../server
|
||||
../themes.nix
|
||||
./docker.nix
|
||||
# ./podman.nix
|
||||
../server/searxng.nix
|
||||
# ../server/unifi.nix
|
||||
|
|
|
|||
19
hosts/fred/docker.nix
Normal file
19
hosts/fred/docker.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Auto-generated using compose2nix v0.1.6.
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# Runtime
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
# defaultNetwork.settings = {
|
||||
# # Required for container networking to be able to use names.
|
||||
# dns_enabled = true;
|
||||
# };
|
||||
};
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# docker-compose
|
||||
# ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue