mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-25 02:41:26 +01:00
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# Nix Configuration
|
|
|
|
This repository is home to the nix code that builds my systems.
|
|
|
|
|
|
## TODO
|
|
|
|
- secret management - [sops-nix](https://github.com/Mic92/sops-nix)
|
|
|
|
## Why Nix?
|
|
|
|
Nix allows for easy to manage, collaborative, reproducible deployments. This means that once something is setup and configured once, it works forever. If someone else shares their configuration, anyone can make use of it.
|
|
|
|
|
|
## How to install Nix and Deploy this Flake?
|
|
|
|
After installed NixOS with `nix-command` & `flake` enabled, you can deploy this flake with the following command:
|
|
|
|
```bash
|
|
# deploy my test configuration
|
|
sudo nixos-rebuild switch .#nixos-test
|
|
|
|
|
|
# deploy my PC's configuration
|
|
sudo nixos-rebuild switch .#msi-rtx4090
|
|
```
|
|
|
|
## Other Interesting Dotfiles
|
|
|
|
Other configurations from where I learned and copied:
|
|
|
|
- https://github.com/notwidow/hyprland
|
|
- https://github.com/notusknot/dotfiles-nix
|
|
- [xddxdd/nixos-config](https://github.com/xddxdd/nixos-config)
|
|
- [bobbbay/dotfiles](https://github.com/bobbbay/dotfiles)
|
|
- [gytis-ivaskevicius/nixfiles](https://github.com/gytis-ivaskevicius/nixfiles)
|
|
- [fufexan/dotfiles](https://github.com/fufexan/dotfiles)
|
|
- [davidak/nixos-config](https://codeberg.org/davidak/nixos-config)
|
|
- [davidtwco/veritas](https://github.com/davidtwco/veritas)
|
|
|