Update configuration-template.nix
This commit is contained in:
parent
f0e2911bea
commit
25bcfe8cff
1 changed files with 14 additions and 13 deletions
|
|
@ -1,10 +1,13 @@
|
|||
########################################################################
|
||||
# Template file used to set up git fetch. Run using 'nix-shell -p git' #
|
||||
########################################################################
|
||||
|
||||
# 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 ##
|
||||
###############################################################################################################
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
gitConfig = builtins.fetchGit {
|
||||
url = "https://github.com/ediblerope/nixos-config";
|
||||
|
|
@ -17,13 +20,11 @@ imports = [
|
|||
"${gitConfig}/git.nix"
|
||||
];
|
||||
|
||||
networking.hostName = "FredOS-Gaming";
|
||||
networking.hostName = "HOSTNAME-HERE"; # Change this!
|
||||
|
||||
# Enable flakes for nix-unstable integration
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
######################################################
|
||||
## Add Nixos-default generated boot loader settings ##
|
||||
######################################################
|
||||
|
||||
####################################
|
||||
## Space for boot loader settings ##
|
||||
####################################
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue