diff --git a/configuration-template.nix b/configuration-template.nix index a9fd078..4b3b32a 100644 --- a/configuration-template.nix +++ b/configuration-template.nix @@ -1,11 +1,11 @@ # configuration-template.nix -############################################################################################################### -## IMPORTANT: On a fresh NixOS install, run this command first: ## -## sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos && sudo nix-channel --update ## -## ## -## Then copy this file to /etc/nixos/configuration.nix and run: ## -## sudo nixos-rebuild switch ## -############################################################################################################### +#################################################################################################################################################################### +## IMPORTANT: On a fresh NixOS install, run this command first: ## +## nix-shell -p git --run "sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos && sudo nix-channel --update && sudo nixos-rebuild switch" ## +## ## +## Then copy this file to /etc/nixos/configuration.nix and run: ## +## sudo nixos-rebuild switch ## +#################################################################################################################################################################### { config, pkgs, lib, ... }: let