Skip to content

FloppaDev/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nixos config

My configuration for Nixos along with the dotfiles.

Usage

Clone wherever and create symlinks into /etc/nixos:

git clone https://github.com/FloppaDev/nixos-config.git

# Generate a new hardware config if necessary:
nixos-generate-config
rm /etc/nixos/configuration.nix
mv /etc/nixos/hardware-configuration.nix nixos-config/machines/desktop-amd/hardware.nix

# Symlink the repo and the relevant config file:
cd nixos-config
ln -s $(pwd) /etc/nixos/
ln -s $(pwd)/hosts/amd-desktop/configuration.nix /etc/nixos/

Build config:

sudo nixos-rebuild switch

Sources

About

Config and dotfiles for NixOs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published