English | 正體中文
My nix-os configuration dotfiles with flakes.
The configuration files can only be used for a 2.5K screen as the scale strategy is only for it.
Key | Value |
---|---|
Processor | 11th Gen i5-11300H |
Memory | 16GB |
OS | NixOS 23.11 |
Kernel | 6.1.71 |
Terminal | kitty |
Shell | fish |
Display | Wayland |
WM | Hyprland |
- MIT
- Clone the repository to the
/etc/nixos/
:
sudo git clone [email protected]:KynixInHK/nix-config.git /etc/nixos/
- Copy your own
hardware-configuration.nix
to thehosts
folder.
# Delete the origin file
sudo rm nix-config/hosts/hardware-configuration.nix
# Copy your own file
sudo cp ./hardware-configuration.nix nix-config/hosts/
- Switch to the configuration
sudo nixos-rebuild switch