User Tools

Site Tools


manuals:distributions:nixos

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manuals:distributions:nixos [2025/03/16 21:07] – Add example flake configuration aithermanuals:distributions:nixos [2026/03/12 09:55] (current) – fix formatting aither
Line 18: Line 18:
 You can log in using a [[manuals:vps:management#root_password|generated password]] 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. 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 
-deployment tool.+ 
 +<code> 
 +nixos-rebuild --flake /etc/nixos#vps 
 +</code>
  
 Note that our VPS are Linux containers, so there is no boot loader, the kernel is shared Note that our VPS are Linux containers, so there is no boot loader, the kernel is shared
-and some 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 handles this by using vpsAdminOS as flake input and importing the necessary module.
-this configuration into ''/etc/nixos/vpsadminos.nix'', which is imported by +
-''/etc/nixos/configuration.nix''. The up-to-date configuration module +
-can be always found at +
-[[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, It is possible to deploy custom configuration using vpsAdmin on VPS creation and reinstallation,
 see [[manuals:vps:userdata|user data]]. 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 [[:home|VPS manuals]] for more information about our infrastructure and possibilies.+See the [[:home|VPS manuals]] for more information about our infrastructure and possibilities.
  
 ===== Impermanence ===== ===== Impermanence =====
 See [[manuals:distributions:nixos:impermanence]]. See [[manuals:distributions:nixos:impermanence]].
manuals/distributions/nixos.1742159241.txt.gz · Last modified: by aither