2025-12-27 16:28:39 +08:00
2025-10-18 10:17:49 +08:00
2025-12-20 23:05:28 +08:00
2025-12-27 16:27:30 +08:00
2025-12-27 16:27:30 +08:00
2025-12-27 16:28:39 +08:00
2025-12-27 16:27:30 +08:00
2025-12-20 23:05:28 +08:00
2025-12-16 18:26:17 +08:00
2025-08-16 23:13:01 +08:00
2025-12-27 16:27:30 +08:00
2025-12-14 10:40:44 +08:00
2025-12-20 23:05:28 +08:00
2025-04-25 20:50:45 +08:00

❄️ 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:

  1. NixOS Desktop: NixOS with home-manager, niri, neovim, etc.
  2. NixOS home server
  3. 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

This configuration uses flake-parts for better flake organization and modularity, enabling declarative host definitions and cleaner separation of concerns.

Components

NixOS(Wayland)
Window Manager Niri
Desktop Shell Noctalia Shell
Terminal Emulator Kitty
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

And more...

Folder Structure

  • modules/ - custom NixOS modules
    • modules/core/ - core system modules (nix, persistence, time, user, xdg)
    • modules/cli/ - command-line tools and utilities
    • modules/coding/ - development environments and editors
    • modules/desktop/ - desktop applications and window managers
    • modules/virt/ - virtualization configurations
  • profiles/ - system configuration profiles
    • profiles/base.nix - base configuration for all hosts
    • profiles/desktop.nix - desktop environment configuration
    • profiles/server.nix - server-specific configuration
    • profiles/wsl.nix - WSL-specific configuration
  • config/hosts/<name>/ - host-specific configs
  • flake/ - flake-parts modules
    • flake/hosts.nix - declarative host definitions
  • lib/ - custom nix library
  • pkgs/ - custom packages
  • overlays/ - nixpkgs overlays
  • vars.nix - my variables
  • secrets/ - secrets managed by sops-nix. see ./secrets for details
  • flake.nix - flake entry
Description
My personal NixOS dotfiles
Readme 3 MiB
Languages
Nix 84.7%
Lua 12.7%
Shell 2.1%
Just 0.5%