why suffer remembering to restart docker?

This commit is contained in:
Danilo Reyes 2023-08-26 02:30:54 -06:00
parent 13f2237e13
commit 1bc1b219d9
2 changed files with 732 additions and 707 deletions

File diff suppressed because it is too large Load Diff

View File

@ -652,6 +652,8 @@ nixos-magic () {
local hardware_file="$HOME/Development/NixOS/hardware-configuration.nix"
nixfmt "$nix_file" && nixfmt "$hardware_file"
sudo nixos-rebuild switch -I nixos-config="$nix_file"
sudo systemctl restart docker
sudo systemctl restart docker-compose
}
#+end_src
#+begin_src nix