[TASK] Improve scripts
This commit is contained in:
parent
38bb65f0e3
commit
bb8b83274a
@ -159,14 +159,16 @@ reboot
|
|||||||
|
|
||||||
### 10. Post Installation
|
### 10. Post Installation
|
||||||
|
|
||||||
|
Generate SMB-credentials (if network mounts are used)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# SMB-Zugangsdaten einrichten (falls Netzlaufwerke genutzt werden)
|
|
||||||
sudo /etc/nixos/setup-smb-credentials.sh
|
sudo /etc/nixos/setup-smb-credentials.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Wartung
|
## Wartung
|
||||||
|
|
||||||
|
Optimise Nix Store and remove old generations
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Nix Store optimieren und alte Generationen entfernen
|
|
||||||
sudo nix-store --optimise && sudo nix-collect-garbage -d
|
sudo nix-store --optimise && sudo nix-collect-garbage -d
|
||||||
```
|
```
|
||||||
|
|||||||
@ -30,4 +30,4 @@ esac
|
|||||||
nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz home-manager
|
nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz home-manager
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
|
|
||||||
nixos-rebuild switch
|
nixos-rebuild switch --option experimental-features "nix-command flakes"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user