NixOS configuration with Home Manager.
nix shell nixpkgs#git
git clone https://codeberg.org/frofor/nix-config.git ~/.local/src/nix-config
cd ~/.local/src/nix-config
cp /etc/nixos/hardware-configuration.nix "host/$(hostname)/hardware.nix"
git add "host/$(hostname)/hardware.nix"
sudo nixos-rebuild --flake . switchnix shell nixpkgs#git
git clone https://codeberg.org/frofor/nix-config.git ~/.local/src/nix-config
cd ~/.local/src/nix-config
nix profile add nixpkgs#home-manager
home-manager --flake .#"$(hostname)" switchgit pull
doas nixos-rebuild --flake . switchgit pull
home-manager --flake .#"$(hostname)" switchSee COPYING.