Skip to content

thiloho/nixos-flake-config-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

nixos-flake-config-template

A simple flake template to get a working NixOS system with home-manager as a module.

Instructions

  1. Clone this repository using the git clone command.

If you do not have git installed on your system, you can use the following command:

nix shell nixpkgs#git --extra-experimental-features 'nix-command flakes' -c git clone https://github.com/thiloho/nixos-flake-config-template.git
  1. Replace yourusername in /nixos-configurations/yourmachinename/default.nix with the name you want for your user.
  2. Replace yourmachinename in flake.nix and /nixos-configurations/yourmachinename/default.nix with the name you want for your machine/device.
  3. Use the command sudo nixos-rebuild switch --flake . in the root of the directory (where flake.nix is located) to rebuild the system you are currently on with the configuration specified in /nixos-configurations/<yourmachinename>/default.nix.
  4. Reboot your machine for all changes to apply.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages