From 1913db2b68b70c89cb6dd1e27979286474934fad Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 30 Jul 2022 20:27:33 +0200 Subject: [PATCH] Enable local arion deployments --- system/flakes/sail.nix | 4 +++- system/nixos/arion.nix | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/system/flakes/sail.nix b/system/flakes/sail.nix index f9a7f81..67a576e 100644 --- a/system/flakes/sail.nix +++ b/system/flakes/sail.nix @@ -1,9 +1,11 @@ -{ nixpkgs, ... }: +{ nixpkgs, arion, ... }: { nixosConfigurations.sail = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ + arion.nixosModules.arion + ../hosts/sail.nix ]; }; diff --git a/system/nixos/arion.nix b/system/nixos/arion.nix index 3aed765..8a61e7b 100644 --- a/system/nixos/arion.nix +++ b/system/nixos/arion.nix @@ -14,4 +14,8 @@ dockerSocket.enable = true; defaultNetwork.dnsname.enable = true; }; + + virtualisation.arion = { + backend = "podman-socket"; + }; }