From 4797c9b07d02edb007ea300b9f287ff7b541f22b Mon Sep 17 00:00:00 2001 From: Grey Jones Date: Thu, 2 Jul 2026 23:13:52 +0100 Subject: [PATCH] Add README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..562fd70 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +### installation +first, you must edit /etc/nixos/configuration.nix to include the following: +``` +{ + config, + pkgs, + ... +}: { + imports = [ + ... + ]; + + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + ... + + networking.hostname = ""; +} +``` + +then, run `sudo nixos-rebuild switch` once to apply those changes. + +finally, run `sudo nixos-rebuild switch --flake /home/grey/nixos#` to apply the flake. + +now you have access to `nh os switch ~/nixos`, and shouldn't touch the global config ever again. \ No newline at end of file