nixus

sioodmyGPL-3.0活跃维护

一套 NixOS 系统配置 flake,主打极快的求值速度,附带 zsh、终端美化等 dotfiles,适合想抄作业或优化自己 NixOS 配置的人。

My NixOS configuration flake that moggs yours in term of eval times

awesomerice发布于 2022-09-15 12:47 UTC924star +1 / 7 天28fork同步于 2026-11-10 23:52 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求按 README 说明

README 未说明具体硬件要求,仅提及作者在 ThinkPad X1 与 MacBook Air M1(Asahi 内核)上使用

支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一份精简输入、追求快速求值的 NixOS 配置 flake,可参考其模块与打包思路

一套 NixOS 系统配置 flake,主打极快的求值速度,附带 zsh、终端美化等 dotfiles,适合想抄作业或优化自己 NixOS 配置的人。

核心能力

  • 用 wrap 二进制替代 home-manager 管理配置
  • 自写 homix 模块处理 GTK 等无法 wrap 的部分
  • 用单个 lambda 替代 flake-parts
  • 包含 impermanence 与笔记本专用 NixOS 模块
  • 提供含 neovim 的完整终端开发 shell

容易踩的坑

这是作者个人配置,README 明确说明可能不被认为正确,直接套用需自行调整;依赖作者自维护的 homix 模块,需额外引入该 flake 输入;未使用 home-manager、flake-parts 等常见模块,迁移现有配置时需改写

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

1 个版本awesomerice
  1. awesomericeawesomewm rice最新正式版2022-09-15 · 2022-09-15 12:47 UTC

    deprecated

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Nixus

    About

    This repo contains my reorganized and rewritten NixOS configuration. It might not be widely considered correct or whatever, because I used some of my braincells to come up with this autistic design philosophy:

    • as little inputs as possible, just straight up rawdogging nix
    • wrap binaries instead of putting files in home dir
    • do not copy from others
    • try to avoid with keyword as much as possible

    Contents

    • NixOS hosts - my twinkpad x1 and macbook air m1 (running asahi kernel)
    • NixOS modules - including $HOME management, impermanence and some laptop specific things
    • Dev shell - shell containing my entire terminal workflow, with fully configured neovim and stuff.
    • Packages - Mostly unmodified packages from nixpkgs, wrapped with my configs, themed via base16 attribute set
    • Theme - which outputs my current base16 theme as an attrset

    Why I don't use some of the popular NixOS modules?

    Home-manager

    I don't like it. I prefer to wrap my binaries. Much better solution.

    Everyone in nix community will tell you that hm is a mess.

    I also use my own module homix for stuff I couldnt't wrap with symlinkJoin, like gtk

    Flake-parts

    I was able to fully replace it with a single lambda

    Impermanence

    I found it needlessly overcomplicated and unreliable.

    Nix-colors

    It's just a glorified attribute set

    💛 Donate

    If you would like to support me you can sponsor me via ko-fi

    ... or if you prefer crypto

    Ethereum/EVM compatible: 0x2fa1e5e90c011d08bba1f6dbdc317fd293311c0d

    Star History Chart