Skip to content

NathanFouere/my-nix-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-nix-conf

Personal NixOS configuration managed with flakes. Heavily inspired by Vimjoyer work.

Installation

Using an existing host configuration

1 - Clone the repository

2 - Remove the existing hardware configuration if you want to use an already defined host: rm -f hosts/<host>/hardware-configuration.nix

3 - Regenerate the hardware configuration if you want to use an already defined host: sudo nixos-generate-config --show-hardware-config > hosts/<host>/hardware-configuration.nix

4 - Switch to the new configuration: sudo nixos-rebuild switch --flake .#<host>

Creating a new host configuration

1 - Clone the repository

2 - Do ur stuff

X - 1 - Generate the hardware configuration: sudo nixos-generate-config --show-hardware-config > hosts/<host>/hardware-configuration.nix

X - Switch to the new configuration: sudo nixos-rebuild switch --flake .#<host>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages