Try to add arion

This commit is contained in:
Philip Peterson 2024-12-06 22:44:07 -09:00
parent 157937a087
commit 83da288a5f
No known key found for this signature in database
GPG key ID: 354311183FC6519B
2 changed files with 12 additions and 1 deletions

View file

@ -53,8 +53,18 @@ in {
pkgs.util-linux pkgs.util-linux
pkgs.iotop pkgs.iotop
pkgs.rust-bin.stable.latest.default pkgs.rust-bin.stable.latest.default
# For docker-compose like setups
pkgs.arion
]; ];
# Arion works with Docker, but for NixOS-based containers, you need Podman
# since NixOS 21.05.
virtualisation.docker.enable = false;
virtualisation.podman.enable = true;
virtualisation.podman.dockerSocket.enable = true;
virtualisation.podman.defaultNetwork.dnsname.enable = true;
swapDevices = [ swapDevices = [
{ {
device = "/swapfile"; device = "/swapfile";

View file

@ -38,7 +38,7 @@
isNormalUser = false; isNormalUser = false;
username = "root"; username = "root";
home = "/root"; home = "/root";
extraGroups = []; extraGroups = ["podman"];
authorizedKeys = authorizedKeys; authorizedKeys = authorizedKeys;
homeConfig = import ./home/root.nix { homeConfig = import ./home/root.nix {
username = "root"; username = "root";
@ -52,6 +52,7 @@
extraGroups = [ extraGroups = [
"wheel" "wheel"
"docker" "docker"
"podman"
]; ];
authorizedKeys = authorizedKeys; authorizedKeys = authorizedKeys;
homeConfig = import ./home/ironmagma.nix { homeConfig = import ./home/ironmagma.nix {