Add kotori image

This commit is contained in:
Maciej Jur 2023-07-09 17:08:31 +02:00
parent f1474b404d
commit deaf820e4a
No known key found for this signature in database
GPG key ID: ADA3BF323198C639

View file

@ -22,7 +22,6 @@
};
time.timeZone = "Europe/Warsaw";
i18n.defaultLocale = "en_US.UTF-8";
users.users.kamov = {
@ -31,8 +30,6 @@
openssh.authorizedKeys.keyFiles = [ /etc/nixos/ssh/kamov ];
};
programs.nix-ld.enable = true;
environment.systemPackages = with pkgs; [
git
vim
@ -77,6 +74,23 @@
defaults.email = "maciej@kamoshi.org";
};
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
oci-containers = {
backend = "podman";
containers = {
kotori = {
image = "kamov/kotori";
environmentFiles = [ "/etc/nixos/secrets/kotori.env" ];
autoStart = true;
};
};
};
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave