No description
webserver | ||
.gitignore | ||
arion-compose.nix | ||
arion-pkgs.nix | ||
flake.lock | ||
flake.nix | ||
README.md | ||
standalone.nix |
arion flake poc
demonstrate having a nixos flake you can test in a container too
usage
standalone
- add a
hardware-configuration.nix
- switch to the config (probably should be done on a server):
sudo nixos-rebuild switch --flake .#default
container
# https://github.com/hercules-ci/arion/issues/230
nix run nixpkgs/23.11#arion -- up
# https://localhost:8000/
nixos host
systemd.enableUnifiedCgroupHierarchy = false;
virtualisation.podman.enable = true;
virtualisation.podman.defaultNetwork.dnsname.enable = true;
# Use your username instead of `myuser`
users.extraUsers.myuser.extraGroups = ["podman"];
virtualisation.podman.dockerSocket.enable = true;
environment.systemPackages = [
pkgs.docker-client
];