Update configuration-template.nix

This commit is contained in:
ediblerope 2025-12-04 13:06:36 +00:00 committed by GitHub
parent f0e2911bea
commit 25bcfe8cff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,13 @@
######################################################################## # configuration-template.nix
# Template file used to set up git fetch. Run using 'nix-shell -p git' # ###############################################################################################################
######################################################################## ## 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 ##
###############################################################################################################
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
gitConfig = builtins.fetchGit { gitConfig = builtins.fetchGit {
url = "https://github.com/ediblerope/nixos-config"; url = "https://github.com/ediblerope/nixos-config";
@ -17,13 +20,11 @@ imports = [
"${gitConfig}/git.nix" "${gitConfig}/git.nix"
]; ];
networking.hostName = "FredOS-Gaming"; networking.hostName = "HOSTNAME-HERE"; # Change this!
######################################################
## Add Nixos-default generated boot loader settings ##
######################################################
# Enable flakes for nix-unstable integration system.stateVersion = "25.11";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
####################################
## Space for boot loader settings ##
####################################
system.stateVersion = "25.11";
} }