90f0b4aa63f86ae5e791566dde6d2fdb9f4fce80
❄️ imxyy_soope_'s NixOS Config ❄️
This configuration and READMEs in this repo borrows heavily from ryan4yin/nix-config and his cookbook. Many thanks to his spirit of sharing!
This repository is home to the nix code that builds my systems: Currently, this repository contains the nix code that builds:
- NixOS Desktop: NixOS with home-manager, niri, neovim, etc.
- NixOS home server
- NixOS WSL
See ./config/hosts for details of each host.
Why NixOS & Flakes?
Nix allows for easy-to-manage, collaborative, reproducible deployments. This means that once something is setup and configured once, it works (almost) forever. If someone else shares their configuration, anyone else can just use it (if you really understand what you're copying/refering now).
As for Flakes, refer to Introduction to Flakes - NixOS & Nix Flakes Book
Components
| NixOS(Wayland) | |
|---|---|
| Window Manager | Niri |
| Terminal Emulator | Alacritty & Kitty & Foot & Ghostty |
| Bar | Waybar |
| Application Launcher | wofi |
| Notification Daemon | SwayNotificationCenter |
| Input method framework | Fcitx5 |
| Shell | Zsh |
| Netease Cloudmusic Player | go-musicfox |
| Media Player | mpv |
| Text Editor | Neovim |
| Fonts | Noto Sans CJK & Jetbrains Mono & Nerd Font |
| Filesystem | btrfs subvolumes, clean '/' every boot for impermanence |
And more...
Folder Structure
modules/- custom NixOS modulesconfig/base.nix- generic configsconfig/hosts/<name>/- hosts-specific configslib/- custom nix librarypkgs/- custom packagesoverlays/- nixpkgs overlaysvars.nix- my variablessecrets/- secrets managed by sops-nix. see ./secrets for detailsflake.nix- flake entry
Description
Languages
Nix
84.7%
Lua
12.7%
Shell
2.1%
Just
0.5%