nixos_configs/readme.md

20 lines
683 B
Markdown
Raw Permalink Normal View History

2024-08-16 18:59:26 -07:00
# Nix Setup Guide
2024-08-16 19:06:13 -07:00
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`.
2024-08-16 18:59:26 -07:00
## 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:
2024-08-16 19:06:13 -07:00
`$ nixos-rebuild switch`