Add lazypodman and xen-orchestra to systemd services.
This commit is contained in:
parent
1f89497e81
commit
6dffa4c50c
2 changed files with 15 additions and 7 deletions
|
@ -31,6 +31,9 @@
|
||||||
lt = "lsd --tree";
|
lt = "lsd --tree";
|
||||||
lla = "lsd -la";
|
lla = "lsd -la";
|
||||||
|
|
||||||
|
# lazydocker --> lazypodman
|
||||||
|
lazypodman="sudo DOCKER_HOST=unix:///run/podman/podman.sock lazydocker"
|
||||||
|
|
||||||
# other
|
# other
|
||||||
df = "df -h";
|
df = "df -h";
|
||||||
du = "du -h";
|
du = "du -h";
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
podman-compose
|
podman-compose
|
||||||
|
lazydocker
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
@ -101,13 +102,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: Add xen-orchestra
|
# TODO: Add xen-orchestra
|
||||||
# virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
# xen-orchestra = {
|
backend = "podman";
|
||||||
# image = "xen-orchestra";
|
xen-orchestra = {
|
||||||
# ports = [ "80:80" ];
|
image = "docker.io/ronivay/xen-orchestra:5.136.0";
|
||||||
# volumes = [ "/eru/xen-backups:/backups" ];
|
ports = [ "80:80" ];
|
||||||
# };
|
volumes = [ "xen-backups:/backups" ];
|
||||||
# };
|
environment = {
|
||||||
|
HTTP_PORT = "80";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# ZFS automated snapshots
|
# ZFS automated snapshots
|
||||||
services.sanoid = {
|
services.sanoid = {
|
||||||
|
|
Reference in a new issue