Add arion package

This commit is contained in:
Sam 2024-07-06 16:01:17 +01:00
parent 3b7a597d8f
commit fec1dae750
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,11 @@
{ inputs, ... }: { { pkgs, inputs, ... }:
{
imports = [ inputs.arion.nixosModules.arion ]; imports = [ inputs.arion.nixosModules.arion ];
environment.systemPackages = [
pkgs.arion
];
# Arion works with Docker, but for NixOS-based containers, you need Podman # Arion works with Docker, but for NixOS-based containers, you need Podman
# since NixOS 21.05. # since NixOS 21.05.
virtualisation = { virtualisation = {
@ -9,6 +14,7 @@
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
docker = { docker = {
enable = true;
storageDriver = "btrfs"; storageDriver = "btrfs";
rootless = { rootless = {
enable = true; enable = true;