From bb8b83274aff9cb10fbe945f5a988cbd0ee2dcd8 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Fri, 13 Feb 2026 22:31:54 +0100 Subject: [PATCH] [TASK] Improve scripts --- README.md | 6 ++++-- scripts/post-install.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 059c785..b2633ea 100644 --- a/README.md +++ b/README.md @@ -159,14 +159,16 @@ reboot ### 10. Post Installation +Generate SMB-credentials (if network mounts are used) + ```bash -# SMB-Zugangsdaten einrichten (falls Netzlaufwerke genutzt werden) sudo /etc/nixos/setup-smb-credentials.sh ``` ## Wartung +Optimise Nix Store and remove old generations + ```bash -# Nix Store optimieren und alte Generationen entfernen sudo nix-store --optimise && sudo nix-collect-garbage -d ``` diff --git a/scripts/post-install.sh b/scripts/post-install.sh index 58e974b..faad3fa 100755 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -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 --update -nixos-rebuild switch +nixos-rebuild switch --option experimental-features "nix-command flakes"