From 437c9dbabf652a80e0a0d5521d40939f78b87d3c Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 1 Feb 2023 20:34:55 +0100 Subject: [PATCH] Ajout de quelques commandes utiles --- docs/HOME.md | 16 ++++++++++++++++ docs/flake/HOME.md | 0 2 files changed, 16 insertions(+) create mode 100644 docs/HOME.md create mode 100644 docs/flake/HOME.md diff --git a/docs/HOME.md b/docs/HOME.md new file mode 100644 index 0000000..19240e2 --- /dev/null +++ b/docs/HOME.md @@ -0,0 +1,16 @@ +# Commande utiles + +Reconstruire depuis /etc/nixos/configuration.nix +```bash +nixos-rebuild switch +``` + +Reconstruire depuis custom/configuration.nix +```bash +nixos-rebuild switch -I custom/configuration.nix +``` + +Reconstruire depuis la configuration [flake](./flake/HOME.md) +```bash +nixos-rebuild switch --flake flake_path_directory#hostname +``` \ No newline at end of file diff --git a/docs/flake/HOME.md b/docs/flake/HOME.md new file mode 100644 index 0000000..e69de29