924 B
924 B
README
$hostName
is the hostname of a host defined in thenixosHosts
set, inside the flake.nix file$(whoami)
should evaluate to the username of a valid user, as defined in thenixosHosts
set, inside the flake.nix file
Install NixOS
sudo ./install.sh $targetDrive $hostName
Build a NixOS configuration
nix build .#machines."$hostName"
Standalone installation of home-manager
nix run home-manager/master -- switch --flake .
Build a standalone home-manager configuration
nix build .#homeOf."$(uname -m)-$(uname -s | awk '{print tolower($0)}')"."$(whoami)"
Create a NixOS ISO
nix build .#isos."$(uname -m)"