Update configuration-template.nix

This commit is contained in:
ediblerope 2025-12-25 11:16:32 +00:00 committed by GitHub
parent baaa3c69b5
commit c35b4cbb39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,11 @@
# configuration-template.nix # configuration-template.nix
#################################################################################################################################################################### ####################################################################################################################################################################
## IMPORTANT: On a fresh NixOS install, run this command first: ## ## 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" ## ## nix-shell -p git --run "sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos && \ ##
## sudo nix-channel --add https://github.com/gmodena/nix-flatpak/archive/main.tar.gz nix-flatpak && \ ##
## sudo nix-channel --update && sudo nixos-rebuild switch" ##
## ## ## ##
#################################################################################################################################################################### ####################################################################################################################################################################
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
gitConfig = builtins.fetchGit { gitConfig = builtins.fetchGit {
@ -17,12 +18,10 @@ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
"${gitConfig}/git.nix" "${gitConfig}/git.nix"
]; ];
networking.hostName = "HOSTNAME-HERE"; # Change this! networking.hostName = "HOSTNAME-HERE"; # Change this!
###################################################### ######################################################
## Add Nixos-default generated boot loader settings ## ## Add Nixos-default generated boot loader settings ##
###################################################### ######################################################
system.stateVersion = "25.11"; system.stateVersion = "25.11";
} }