From 1a8c0401788c4c6d6e936b39fa039384d9715bc3 Mon Sep 17 00:00:00 2001 From: albertvala Date: Thu, 13 Mar 2025 18:30:27 +0100 Subject: [PATCH] Add nixos-rebuild and nh example --- prezentace.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prezentace.md b/prezentace.md index ab1581d..67671b5 100644 --- a/prezentace.md +++ b/prezentace.md @@ -119,6 +119,10 @@ nix run nixpkgs#cowsay #Nove # nixos-rebuild * Je to jen bash script ``` +nixos-rebuild --flake +nh os switch +``` +``` nix build /etc/nixos#nixosConfigurations.nixos.config.system.build.toplevel \ && ./result/bin/switch-to-configuration switch ``` \ No newline at end of file