Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 839 Bytes

readme.md

File metadata and controls

42 lines (28 loc) · 839 Bytes

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