Arion: Add volman
This commit is contained in:
parent
fd4e1ce93d
commit
f807e11b6c
2 changed files with 22 additions and 0 deletions
16
hosts/franz/arion/volman/arion-compose.nix
Normal file
16
hosts/franz/arion/volman/arion-compose.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
project.name = "volman";
|
||||||
|
|
||||||
|
docker-compose.volumes = {};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
volman.service = {
|
||||||
|
image = "ubuntu";
|
||||||
|
container_name = "volman";
|
||||||
|
useHostStore = true;
|
||||||
|
command = "sleep infinity";
|
||||||
|
volumes = [
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
6
hosts/franz/arion/volman/arion-pkgs.nix
Normal file
6
hosts/franz/arion/volman/arion-pkgs.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# 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";
|
||||||
|
}
|
Loading…
Reference in a new issue