wip
This commit is contained in:
parent
4c1f9705da
commit
2b0fdfa854
3 changed files with 18 additions and 6 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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
10
nixos/podman.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.podman = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue