ryan4yin 最近的时间轴更新
ryan4yin's repos on GitHub
Python · 7 人关注
guitar-synthesizer
使用 Python/Julia/Matlab 合成吉他音色
Kotlin · 1 人关注
Android-Password-Store
Android application compatible with ZX2C4's Pass command line application
1 人关注
awesome-nix
😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]
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 人关注
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!
Dockerfile · 0 人关注
containers
ryan4yin's container images
Go · 0 人关注
cost-model
Cross-cloud cost allocation models for Kubernetes workloads
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
今日活跃度排名 7107
OS as Code - 我的 NixOS 使用体会
  •  3   
    Linux  •  ryan4yin  •  109 天前  •  最后回复来自 ryan4yin
    36
    NixOS 小书 1k stars 了,再 share 一波
    Linux  •  ryan4yin  •  190 天前  •  最后回复来自 huanghanzhilian
    2
    新仓库 512 stars 了,用了刚好三个月
  •  1   
    程序员  •  ryan4yin  •  306 天前  •  最后回复来自 huangliu
    4
    各位有参与过志愿者服务么?
  •  1   
    程序员  •  ryan4yin  •  308 天前  •  最后回复来自 kyro00000
    41
    两岸猿声啼不住,轻舟已过万重山——我的四分之一人生
  •  5   
    程序员  •  ryan4yin  •  339 天前  •  最后回复来自 est
    57
    为什么我折腾这些小众技术?
  •  3   
    程序员  •  ryan4yin  •  359 天前  •  最后回复来自 kristpan
    39
    macOS as Code! 一份易于理解的 nix-darwin 初始配置模板,专为新手制作
  •  2   
    macOS  •  ryan4yin  •  2023-07-25 09:23:59 AM  •  最后回复来自 ryan4yin
    7
    NixOS 与 Flakes | 一份非官方的新手指南
  •  5   
    Linux  •  ryan4yin  •  2023-07-25 09:17:22 AM  •  最后回复来自 ZedRover
    18
    NixOS 与 Nix Flakes 新手入门
  •  2   
    Linux  •  ryan4yin  •  301 天前  •  最后回复来自 tywtyw2002
    47
    ryan4yin 最近回复了
    1 天前
    回复了 cnt2ex 创建的主题 Linux NixOS 和 Fedora Silverblue 比较
    nix 没有 namespace 这种东西,但有个 profile.

    profile 的实现逻辑是,所有包都是从 /nix/store 中引用的,所以重复的包不会导致任何数据被重复保存,这也是中心化存储的好处之一。

    中心化存储的缺点是需要基于引用计数等方式做软件包的垃圾回收,因为卸载一个软件包实际并不能立即从存储中删掉它,还得确保这个版本的包没有被其他环境引用。
    1 天前
    回复了 cnt2ex 创建的主题 Linux NixOS 和 Fedora Silverblue 比较
    而且每个软件的不同版本都保存在不同的文件夹中,从而能够在 /nix/store 中共存...

    大概是这样
    1 天前
    回复了 cnt2ex 创建的主题 Linux NixOS 和 Fedora Silverblue 比较
    (不小心发出去了,继续)应该知道,编程语言的包都是中心化存储在 ~/.m2 node_modules ~/go 里面的,而且不同的软件包能够共存(请忽略掉 python...)。

    nix 同样如此,所有软件包都存在 /nix/store 里面,而且不同版本
    1 天前
    回复了 cnt2ex 创建的主题 Linux NixOS 和 Fedora Silverblue 比较
    nixos 是基于 nix 包管理器构建的,而 nix 包管理器的设计哲学是用管理编程语言依赖包的方式来管理系统软件包。
    你用过 nodejs java python 的话
    旅游办公,全国旅游
    80 天前
    回复了 badgate 创建的主题 NAS 用树莓派组 nas,可以吗?
    pi4 我以前当过 NAS ,IO 性能太差了,换个 x86 性能直接吊打它。
    pi5 没试过,但当 NAS 的话便宜的 x86 应该仍旧能吊打它。
    81 天前
    回复了 dong706 创建的主题 程序员 Gitee Pages 已经失联第六天了...
    gitee 就是这么做事的吗...
    Hyprland 算是近两年 WM 圈子里的网红了,各种 Ricing 的出境率很高。
    Hyprland + Nvidia 已经使用一年有余,主要是 Nvidia 的坑比较多,不过踩完坑后体验还是挺好的,尤其是 Nvidia 今年的新驱动修了一堆 wayland 的 bugs 之后。
    个人感觉 Hyprland 相比 Sway 最大的特点是自带动画效果以及自动的窗口布局,喜欢 WM 以及过渡动画的可以尝试下。
    99 天前
    回复了 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 配置文件,以及自定义某些参数,获得不同的功能。
    大概这样,想了解更细节的建议自己去学一学。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1131 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:45 · PVG 07:45 · LAX 16:45 · JFK 19:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.