Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.51 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.51 KB

System Configuration

⚠️ WARNING ⚠️

Please try to understand this configuration before actually installing it (I suggest starting by reading the flake.nix file).

How to update

Updating the flake.lock means that you'll have different versions for your packages compared to me. Therefore, you might have problems that I won't have. This repository is more an example for others anyway, so don't let this demotivate you.

$ nix flake update ~/.config/home-manager
$ home-manager switch --option eval-cache false --flake ~/.config/home-manager

How to install

(This guide assumes you are installing this through the NixOS ISO.)

  1. Download this repository:
$ nix-shell -p git --run 'git clone https://github.com/TomAintAround/nixos-configs /tmp/nixos-config'
$ cd /tmp/nixos-config
  1. Modify it to your will. I recommend modifying the flake.nix output's variables.

  2. Move the system configuration to ~/.config/home-manager.

$ rm -rI ~/.config/home-manager/
$ cp -r home-manager ~/.config/
  1. Add a secrets.nix file to ~/.config/home-manager with the following format. If you actually tried to understand this configuration, you might already know what it does.
{
    email = "Insert email here";
}
  1. Install.
$ home-manager switch --option eval-cache false --flake ~/.config/home-manager