User Tools

Site Tools


manuals:distributions:nixos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
manuals:distributions:nixos [2022/02/13 17:38] – created Aithermanuals:distributions:nixos [2025/03/16 21:07] (current) – Add example flake configuration aither
Line 16: Line 16:
 ===== Initial configuration ===== ===== Initial configuration =====
 The VPS is created from a template which contains a minimal system with SSH. The VPS is created from a template which contains a minimal system with SSH.
-You can log in using a generated password or deploy your public key using vpsAdmin.+You can log in using a [[manuals:vps:management#root_password|generated password]] 
 +or [[manuals:vps:management#ssh_public_keys|deploy your public key]] using vpsAdmin.
 The system can then be configured using ''nixos-rebuild'' or any other The system can then be configured using ''nixos-rebuild'' or any other
 deployment tool. deployment tool.
  
-Note that our VPS are Linux containers, so there is no boot loader and some +Note that our VPS are Linux containers, so there is no boot loader, the kernel is shared 
-configuration is required for the VPS to work properly. The template installs+and some configuration is required for the VPS to work properly. The template installs
 this configuration into ''/etc/nixos/vpsadminos.nix'', which is imported by this configuration into ''/etc/nixos/vpsadminos.nix'', which is imported by
 ''/etc/nixos/configuration.nix''. The up-to-date configuration module ''/etc/nixos/configuration.nix''. The up-to-date configuration module
 can be always found at can be always found at
 [[https://github.com/vpsfreecz/vpsadminos/blob/staging/os/lib/nixos-container/vpsadminos.nix]]. [[https://github.com/vpsfreecz/vpsadminos/blob/staging/os/lib/nixos-container/vpsadminos.nix]].
 +
 +It is possible to deploy custom configuration using vpsAdmin on VPS creation and reinstallation,
 +see [[manuals:vps:userdata|user data]].
 +
 +===== Example flake configuration =====
 +See [[https://github.com/vpsfreecz/example-vps-flake|example-vps-flake]] if you wish deploy
 +your VPS using NixOS flakes. The configuration which is otherwise stored in
 +''/etc/nixos/vpsadminos.nix'' is added as flake input.
  
 ===== VPS management ===== ===== VPS management =====
-See the [[/|VPS manuals]] for more information about our infrastructure and possibilies.+See the [[:home|VPS manuals]] for more information about our infrastructure and possibilies.
  
 +===== Impermanence =====
 +See [[manuals:distributions:nixos:impermanence]].
manuals/distributions/nixos.1644773925.txt.gz · Last modified: 2022/02/13 17:38 by Aither