Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.14 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.14 KB

nixos-config

My own NixOS configurations

Installation

  • Clone this repository to any location you want.
git clone https://github.com/MaikoTan/nixos-config.git /usr/nixos-config
nixos-install --option experimental-features 'nix-command flakes' --flake "/usr/nixos-config#<hostname>"
  • If you are not using first-time installation, run the following command to switch to the new configuration.
    • If you encounter network issues, you may also try the mirror with option --mirror.
nixos-rebuild switch --option experimental-features 'nix-command flakes' --flake ".#<hostname>"
  • Reboot your system.
reboot

Update

  • Run the following command to update the system.
./switch.fish

If you have changed anything managed by dconf, make sure to run the following command (in fish shell) to update the dconf config.

./build.fish

License

This project is licensed under MIT License.