Skip to content

Latest commit

 

History

917 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hosts

asus base dell swprod

Requirements

  • NixOS
  • EFI partition >= 512MB

Installation

Replace <hostname> with new machine's hostname throughout.

nix-shell -p git
git clone https://github.com/AlexAntonik/config.git ~/config
mkdir -p ~/config/hosts/<hostname>
cp ~/config/hosts/base/*.nix ~/config/hosts/<hostname>/
mv ~/config/hosts/<hostname>/base.nix ~/config/hosts/<hostname>/<hostname>.nix

Edit ~/config/hosts/<hostname>/<hostname>.nix , ~/config/hosts/<hostname>/hardware.nix.

Generate hardware config, then rebuild:

sudo nixos-generate-config --show-hardware-config | sudo tee ~/config/hosts/<hostname>/hardware-gen.nix
sudo nixos-rebuild switch --flake ~/config/#<hostname>

Inspired by EmergentMind, Mic92, Zaney, vic, Goxore

About

NixOS configurations for my machines.

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages