Update configuration-template.nix
This commit is contained in:
parent
baaa3c69b5
commit
c35b4cbb39
1 changed files with 3 additions and 4 deletions
|
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue