wip
This commit is contained in:
parent
4c1f9705da
commit
2b0fdfa854
3 changed files with 18 additions and 6 deletions
|
|
@ -1,10 +1,10 @@
|
|||
## This file is the default location for Arion to look for Nixpkgs when
|
||||
## bootstrapping a deployment configuration.
|
||||
#import ../ {}
|
||||
{pkgs ? import <nixpkgs> {}, ...}: let
|
||||
in {
|
||||
## 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
|
||||
# calling arion from other platforms.
|
||||
system = "x86_64-linux";
|
||||
}
|
||||
}
|
||||
|
|
@ -110,6 +110,8 @@ in {
|
|||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
|
||||
virtualisation.arion.backend.type = "podman-socket";
|
||||
|
||||
virtualisation.oci-containers = {
|
||||
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