This commit is contained in:
Philip Peterson 2024-12-07 00:19:04 -09:00
parent 4c1f9705da
commit 2b0fdfa854
No known key found for this signature in database
GPG key ID: 354311183FC6519B
3 changed files with 18 additions and 6 deletions

View file

@ -1,9 +1,9 @@
## This file is the default location for Arion to look for Nixpkgs when {pkgs ? import <nixpkgs> {}, ...}: let
## bootstrapping a deployment configuration. in {
#import ../ {} ## This file is the default location for Arion to look for Nixpkgs when
## bootstrapping a deployment configuration.
#import ../ {}
# Instead of pinning Nixpkgs, we can opt to use the one in NIX_PATH
import <nixpkgs> {
# We specify the architecture explicitly. Use a Linux remote builder when # We specify the architecture explicitly. Use a Linux remote builder when
# calling arion from other platforms. # calling arion from other platforms.
system = "x86_64-linux"; system = "x86_64-linux";

View file

@ -110,6 +110,8 @@ in {
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
virtualisation.arion.backend.type = "podman-socket";
virtualisation.oci-containers = { virtualisation.oci-containers = {
backend = "docker"; backend = "docker";

10
nixos/podman.nix Normal file
View file

@ -0,0 +1,10 @@
{
lib,
pkgs,
config,
...
}: {
services.podman = {
enable = true;
};
}