Layout Changes

This commit is contained in:
Kaybee 2025-05-12 21:45:20 +02:00
parent aa45c70d0a
commit e5842415b2
Signed by: kb01
SSH key fingerprint: SHA256:kv2GYUy1MZEqusYnS+Y9nMgrpv77jhm+3kknl3UGV1k

View file

@ -30,8 +30,10 @@ Requirements to do Remote Deployment using NixOS native Tools.
## Remote Deployment
So, you updated the Configuration on your Computer, how can you deploy it to the Server?
So, you changed the Configuration on your Computer, how can you deploy it to the Server?
> **Warning**
>
> Don't forget to stage Added or Deleted Files!
> `git add .` (They will be ignored if you miss this step!)
@ -40,6 +42,8 @@ Now Rebuild the System (on the Server) and Deploy it Remotely to the Server (Exa
``` bash
nixos-rebuild switch --flake .#mow0m --build-host master@mow0m --target-host master@mow0m --use-remote-sudo
```
<details>
<summary>View command explanation (click to expand)</summary>
`nixos-rebuild switch` will rebuild a NixOS Configuration and Switch to it immediately, by restarting affected Services.
@ -53,6 +57,8 @@ nixos-rebuild switch --flake .#mow0m --build-host master@mow0m --target-host mas
`--use-remote-sudo` this will redirect the Sudo-Prompt on the Target-Host to your Command-Prompt.
</details>
## Hosts
### mow0m