nixos_configs/readme.md
2024-08-16 19:06:13 -07:00

683 B

Nix Setup Guide

Config file for nix is saved at location $ /etc/nixos/configuration.nix. This file defines all behaviores for your system. Apply it with nixos-rebuild switch.

If you want to create an ephemeral enviroment for a specfic project: create a shell.nix file, put in config and run $ nix-shell.

Framework laptop

Hardware Setup, follow the readme. Add channel, import channel in config. https://github.com/NixOS/nixos-hardware/tree/master

Fingerprint reader setup. https://github.com/NixOS/nixos-hardware/tree/master/framework/13-inch/7040-amd

Copy and paste my framework-config into file /etc/nixos/configuration.nix Then run:
$ nixos-rebuild switch