Znalostní Báze

Informace o sdružení vpsFree.cz, návody a nejčastější dotazy.

Uživatelské nástroje

Nástroje pro tento web


navody:distribuce:nixos

NixOS

NixOS template is available based on NixOS 17.03. NixOS allows declarative configuration management of the whole system and deployed services.

Configuration

Configuration is available at

/etc/nixos/configuration.nix

This can be altered to change container configuration on the fly or for next reboot. Try changing container hostname and running

nixos-rebuild switch

to build new configuration and directly switch to it. To switch to new configuration after reboot (set as a default boot profile) use

nixos-rebuild boot

Package installation

Packages can be installed system wide via configuration.nix or for local profile via

nix-env

To install vim use

nix-env -iA nixos.vim

To search for a package use

nix-env -qaP postgre

Manual

Consult NixOS manual for more https://nixos.org/nixos/manual/

navody/distribuce/nixos.txt · Poslední úprava: 2017/05/29 22:06 autor: rmarko