25 lines
854 B
Nix
25 lines
854 B
Nix
# Example host — the template's "bin". Real, buildable, assembled from the
|
|
# public modules; filled with placeholders where your inventory would go.
|
|
# To adopt: replace hardware-configuration.nix (see its header), set hostName +
|
|
# the user account below, then `nixos-rebuild switch --flake .#example`.
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
networking.hostName = "example";
|
|
|
|
# First NixOS version installed on this machine. Do not bump casually — see
|
|
# `man configuration.nix` (system.stateVersion).
|
|
system.stateVersion = "26.05";
|
|
|
|
# The login account. Rename to taste; the home-manager side is wired in
|
|
# flake.nix (home-manager.users.user) and hosts/example/home.nix.
|
|
users.users.user = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "networkmanager" "video" "input" ];
|
|
shell = pkgs.zsh;
|
|
};
|
|
}
|