comin is a NixOS deployment tool operating in pull mode
This commit is contained in:
parent
d3ee9f7205
commit
43b68d7d75
3 changed files with 52 additions and 0 deletions
13
modules/comin.nix
Normal file
13
modules/comin.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.comin = {
|
||||
enable = true;
|
||||
remotes = [
|
||||
{
|
||||
name = "origin";
|
||||
url = "https://code.c-base.org/lucy/games-night.git";
|
||||
branches.main.name = "master";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
13
modules/podman.nix
Normal file
13
modules/podman.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue