dotfiles

NixOS

  1. Install NixOS

  2. Change the hostname and install chezmoi

sudo nano /etc/nixos/configuration.nix
networking.hostName = "nixos-laptop"
...
environment.systemPackages = with pkgs; [
    chezmoi
  ];
sudo nixos-rebuild switch
  1. Run
chezmoi init --apply lucamaff

NixOS Gaming workstation

  1. Install NixOS

  2. Change the hostname and install minimal set of tools

sudo nano /etc/nixos/configuration.nix
networking.hostName = "nixos-gaming"
...
environment.systemPackages = with pkgs; [
    bitwarden-cli
    gh
    git
    chezmoi
    helix
  ];
sudo nixos-rebuild switch
  1. Login to github and bitwarden
bw login
gh auth login
  1. Run
chezmoi init --apply lucamaff