Skip to content

zeapoz/nixos-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Flow

Project Layout

Installation

From existing NixOS installation

Clone the configuration directory to your home directory:

git clone https://github.com/zeapoz/nixos-flow ~/nixos

Symlink the cloned directory to /etc/nixos:

sudo ln -s  ~/nixos /etc/nixos

Rebuild as normal:

sudo nixos-rebuild switch --flake .#flow

From installation media

Make sure that you have prepared the system by partitioning and mounting the drives. For details on this step, refer to the Installation Guide.

Once done, clone the configuration directory:

git clone https://github.com/zeapoz/nixos-flow /mnt/nixos

Generate a new hardware configuration and replace the existing one:

sudo nixos-generate-config --root /mnt
sudo mv -f /mnt/nixos/hardware-configuration.nix /mnt/nixos/modules/host/_hardware-configuration.nix

Install the system:

cd /mnt
sudo nixos-install --flake .#flow

About

NixOS Flow Configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors