Skip to content

Commit

Permalink
Update stuff after starting cli
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavspi committed Feb 18, 2024
1 parent 6e13a00 commit 3021cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions computer/files/usr/etc/containers/systemd/users/cli.container
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Environment=USER=%u
Environment=USERNAME=%u
Environment=container=podman
Exec=--verbose --name %u --user %U --group %G --home %h
ExecStartPost=distrobox enter cli -- sh -c " \
sudo chown -R %U:%G /opt/dotfiles /usr/share/nvim && \
/opt/dotfiles/chezmoi-install.sh"
Image=ghcr.io/nadavspi/cli:latest
HostName=%l
Network=host
Expand Down
3 changes: 0 additions & 3 deletions computer/files/usr/lib/systemd/user/cli-update.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ Wants=network-online.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/podman pull ghcr.io/nadavspi/cli:latest
ExecStartPost=distrobox enter cli -- sh -c " \
sudo chown -R %U:%G /opt/dotfiles /usr/share/nvim && \
/opt/dotfiles/chezmoi-install.sh"

[Install]
WantedBy=default.target

0 comments on commit 3021cf5

Please sign in to comment.