ryan4yin 最近的时间轴更新
ryan4yin's repos on GitHub
Python · 7 人关注
guitar-synthesizer
使用 Python/Julia/Matlab 合成吉他音色
1 人关注
Android-Password-Store
Android application compatible with ZX2C4's Pass command line application
1 人关注
git-trim
Automatically trims your branches whose tracking remote refs are merged or stray
0 人关注
aes
A pure Python implementation of AES, with optional CBC, PCBC, CFB, OFB and CTR cipher modes.
0 人关注
android-usb-gadget
Convert your Android phone to any USB device you like! USB Gadget Tool allows you to create and activate USB device roles, like a mouse or a keyboard. 🛠🛡📱
0 人关注
apisix
The Cloud-Native API Gateway
0 人关注
apparmor.d
Full set of AppArmor profiles (~ 1500 profiles)
Lua · 0 人关注
astrocommunity
A community repository of common plugin specifications
0 人关注
attic
Multi-tenant Nix Binary Cache
Lua · 0 人关注
autosave.nvim
A Neovim plugin which saves files to disk automatically.
0 人关注
awesome-nix
😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]
0 人关注
blockchain-consensus
This is my attempt to list all possible blockchain consensus out there, i welcome pull request of the blockchain community! lets make it the main reference for blockchain consensus
Shell · 0 人关注
bootstrap-from-tcc
Starting from a single 350 KB TinyCC binary, compile a Clang 13 toolchain and Nix package manager
0 人关注
bubblewrap
Low-level unprivileged sandboxing tool used by Flatpak and similar projects
0 人关注
cats-blender-plugin
:smiley_cat: A tool designed to shorten steps needed to import and optimize models into VRChat. Compatible models are: MMD, XNALara, Mixamo, DAZ/Poser, Blender Rigify, Sims 2, Motion Builder, 3DS Max and potentially more
Go · 0 人关注
clash
A rule-based tunnel in Go.
0 人关注
colmena
A simple, stateless NixOS deployment tool
0 人关注
computer-science
:mortar_board: Path to a free self-taught education in Computer Science!
Go · 0 人关注
cost-model
Cross-cloud cost allocation models for Kubernetes workloads
Go · 0 人关注
crane
Crane is a FinOps Platform for Cloud Resource Analytics and Economics in Kubernetes clusters. The goal is not only help user to manage cloud cost easier but also ensure the quality of applications. https://gocrane.io/
Go · 0 人关注
dae
A Linux high-performance transparent proxy solution based on eBPF.
0 人关注
debian-headless
Create a debian headless/remote installation image
Go · 0 人关注
descheduler
Descheduler for Kubernetes
0 人关注
dev-templates
Dev environments for numerous languages based on Nix flakes [maintainer=@lucperkins]
0 人关注
DoIt
A clean, elegant and advanced blog theme for Hugo.
0 人关注
doomemacs
An Emacs framework for the stubborn martian hacker
C · 0 人关注
esp-idf
Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Nix · 0 人关注
flake.nix
Nix flake for dae and daed
0 人关注
gpu-jupyter
Leverage the flexibility of Jupyterlab through the power of your NVIDIA GPU to run your code from Tensorflow and Pytorch in collaborative notebooks on the GPU.
Scheme · 0 人关注
guix-config
My dotfiles for GNU Guix
ryan4yin

ryan4yin

to be better
🏢  SRE
V2EX 第 349523 号会员,加入于 2018-09-14 11:41:55 +08:00
今日活跃度排名 5331
OS as Code - 我的 NixOS 使用体会
  •  3   
    Linux  •  ryan4yin  •  10 天前  •  最后回复来自 ryan4yin
    36
    NixOS 小书 1k stars 了,再 share 一波
    Linux  •  ryan4yin  •  91 天前  •  最后回复来自 huanghanzhilian
    2
    新仓库 512 stars 了,用了刚好三个月
  •  1   
    程序员  •  ryan4yin  •  207 天前  •  最后回复来自 huangliu
    4
    各位有参与过志愿者服务么?
  •  1   
    程序员  •  ryan4yin  •  209 天前  •  最后回复来自 kyro00000
    41
    两岸猿声啼不住,轻舟已过万重山——我的四分之一人生
  •  5   
    程序员  •  ryan4yin  •  240 天前  •  最后回复来自 est
    57
    为什么我折腾这些小众技术?
  •  3   
    程序员  •  ryan4yin  •  260 天前  •  最后回复来自 kristpan
    39
    NixOS 与 Flakes | 一份非官方的新手指南
  •  5   
    Linux  •  ryan4yin  •  268 天前  •  最后回复来自 ZedRover
    18
    NixOS 与 Nix Flakes 新手入门
  •  2   
    Linux  •  ryan4yin  •  202 天前  •  最后回复来自 tywtyw2002
    47
    ryan4yin 最近回复了
    16 小时 17 分钟前
    回复了 Rorysky 创建的主题 Linux 当前最性感的发行版是否是 NixOS
    @xxb #13 你可以把 NixOS 的配置理解为一个巨大的 json ,比如

    {host-a: config-a, host-b: config-b}

    部署的时候 NixOS 默认根据 hostname 从这个 json 中查找对应的配置,所以不同机器之间不同的内容,加在自己对应的 config 里就行了。

    每个 config 也可以看成一个 json ,只是 nix 语言提供了一些便利的功能使我们能在各机器的 config 里复用一些配置。

    python/java/c 等许多语言都能通过类似 `import xxx` `#include xxx` `use xxx` 等指令导入其他的代码文件或依赖库,
    nix 的配置复用也是使用的同样的设计,不同的 host 能通过导入不同的 nix 配置文件,以及自定义某些参数,获得不同的功能。
    大概这样,想了解更细节的建议自己去学一学。
    16 小时 33 分钟前
    回复了 Rorysky 创建的主题 Linux 当前最性感的发行版是否是 NixOS
    @v2pd #12 欢迎入坑~
    16 小时 35 分钟前
    回复了 Rorysky 创建的主题 Linux 当前最性感的发行版是否是 NixOS
    @james122333 #14 不敢苟同,抽象与模块化是计算机进步的阶梯,最古老的计算机是打孔纸带,再进化到把程序本身当成数据存储在计算机里面,再从机器代码进化到 C 语言,又进一步出现带 GC 的编程语言。
    本质上说,计算机领域前进的每一步都是在「以配置生成配置」,如果认为这很糟糕的话,那就否定了所有现代编程语言 以及 GCC LLVM 等为现代编程语言服务的工具。

    人能掌控的复杂度是有限的,你不愿意把事情交给机器干的话,那你就得自己干所有的事,结果就是你能处理的事情规模上限就固定死了。
    1 天前
    回复了 jason5ng32 创建的主题 程序员 获得了 GitHub 的 4096 满级星星徽章
    恭喜,很多时候惊喜就是来得这么突然~
    1 天前
    回复了 Rorysky 创建的主题 Linux 当前最性感的发行版是否是 NixOS
    我个人 Homelab 与桌面电脑目前是 All in NixOS ,macOS 也都 All in nix-darwin ,门槛比较高,但入门后体验绝佳。感兴趣的话可以看看我的配置仓库:

    https://github.com/ryan4yin/nix-config
    1 天前
    回复了 Rorysky 创建的主题 Linux 当前最性感的发行版是否是 NixOS
    @bearice 6 啊,All in NixOS 的公司感觉像大熊猫一样罕见。
    10 天前
    回复了 ryan4yin 创建的主题 Linux OS as Code - 我的 NixOS 使用体会
    @Sliverburger 不过我得说 NixOS 才是完全体,在其他 OS 上用 Nix 还是差了点意思。
    所以从来没在别的 Linux 发行版上用过 Nix ,入坑后就一直 All in NixOS 了.
    10 天前
    回复了 ryan4yin 创建的主题 Linux OS as Code - 我的 NixOS 使用体会
    @Sliverburger Nix 社区这么用的人挺多的,除 NixOS 外用户最大的群体应该是 nix-darwin ,也就是在 macOS 上用 Nix 包管理器。
    排名第三的应该就是想在非 NixOS 上用 Nix 的群体。
    52 天前
    回复了 ryan4yin 创建的主题 Linux OS as Code - 我的 NixOS 使用体会
    @tywtyw2002 所以才需要 nix-darwin 这种工具
    53 天前
    回复了 ryan4yin 创建的主题 Linux OS as Code - 我的 NixOS 使用体会
    @tywtyw2002 目前 NixOS 都没有这种工具,更别说 nix-darwin 了。
    你需要自己研究清楚系统里到底装了啥,再手动编写对应的 nix 配置。
    如果你用的是 homebrew 的话,它能导出 brewfile 供参考。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1140 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 18:27 · PVG 02:27 · LAX 11:27 · JFK 14:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.