Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

minego/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos-config

My personal nixos configuration

Clone this repo in /etc/nixos and then apply with a command such as:

make switch

Adding a new machine

Each machine has an entry in flake.nix that imports machine specific options and hardware specific options.

git checkout git@github.com:minego/nixos-config.git
cd nixos-config

mkdir -p hosts/$(hostname)/
nixos-generate-config --show-hardware-config > hosts/$(hostname)/hardware-configuration.nix
cp hosts/dent/default.nix hosts/${hostname}/

echo "Add the host to flake.nix and tweak hosts/$(hostname)/default.nix, then run 'make switch'"

About

My personal nixos configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published