mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 07:24:10 +01:00
188607b2aeaeafc8374a4b403d96f29c0b77c921
Nix Configuration
This repository is home to the nix code that builds my systems.
Screenshots
TODO
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 Deploy this Flake?
Note: you should NOT deploy this flake directly on your machine, it contains my hardware information and personal information which is not suitable for you. You may use this repo as a reference to build your own configuration.
After installed NixOS with nix-command & flake enabled, you can deploy this flake with the following command:
# deploy my test configuration
sudo nixos-rebuild switch --flake .#nixos-test
# deploy my PC's configuration
rm -rf ~/.config/fcitx5/profile ~/.config/mimeapps.list # this file may be covered by fcitx5, so remove it first
sudo nixos-rebuild switch --flake .#msi-rtx4090
Other Interesting Dotfiles
Other configurations from where I learned and copied:
Releases
10
Languages
Nix
82.4%
Lua
10.4%
Just
2.1%
Nu
1.6%
HCL
1%
Other
2.5%
