mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 01:19:32 +08:00
- restructure module from `podman-linux` to platform-agnostic `podman` - move linux-specific implementation to `modules/services/podman/linux/` - add darwin module with declarative machine management - implement launchd-based watchdog for auto-starting machines - maintains backward compatibility with existing linux functionality
41 lines
1.6 KiB
Desktop File
41 lines
1.6 KiB
Desktop File
# Automatically generated by /nix/store/00000000000000000000000000000000-podman/lib/systemd/user-generators/podman-user-generator
|
|
#
|
|
# Automatically generated by home-manager podman container configuration
|
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
#
|
|
# my-container-bld.container
|
|
[X-Container]
|
|
ContainerName=my-container-bld
|
|
Environment=
|
|
Image=podman-my-bld.build
|
|
Label=nix.home-manager.managed=true
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
+Environment=PATH=/run/wrappers/bin:/run/current-system/sw/bin:@nftables@/bin:/home/hm-user/.nix-profile/bin:@systemd@/bin
|
|
Restart=always
|
|
TimeoutStopSec=30
|
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
KillMode=mixed
|
|
ExecStop=/nix/store/00000000000000000000000000000000-podman/bin/podman rm -v -f -i my-container-bld
|
|
ExecStopPost=-/nix/store/00000000000000000000000000000000-podman/bin/podman rm -v -f -i my-container-bld
|
|
Delegate=yes
|
|
Type=notify
|
|
NotifyAccess=all
|
|
SyslogIdentifier=%N
|
|
ExecStart=/nix/store/00000000000000000000000000000000-podman/bin/podman run --name my-container-bld --replace --rm --cgroups=split --sdnotify=conmon -d --label nix.home-manager.managed=true homemanager/my-bld
|
|
|
|
[Unit]
|
|
Wants=podman-user-wait-network-online.service
|
|
After=podman-user-wait-network-online.service
|
|
Description=Service for container my-container-bld
|
|
SourcePath=/nix/store/00000000000000000000000000000000-home-container-podman-my-container-bld/quadlets/podman-my-container-bld.container
|
|
RequiresMountsFor=%t/containers
|
|
Requires=podman-my-bld-build.service
|
|
After=podman-my-bld-build.service
|
|
+++++++ Contents of side #2
|
|
>>>>>>> Conflict 1 of 1 ends
|