Skip to content
项目

关于

一个适合日常使用的实验性操作系统,以 finit 作为 PID 1,用于探索 NixOS 的设计空间

其他项目

这些数字如何统计

实测星标增长

24小时
+1
7天
+9
15天
+24
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

finix

Built with Nix Discord

finix - a daily-drivable experimental os, featuring finit as pid 1, to explore the NixOS design space

While exploring the NixOS design space I had several topics in mind:

Now that finix is running on my laptop I have a working base for experimentation. More to come.


An example of defining a finit service in nix:

{ config, pkgs, lib, ... }:
{
  finit.services.network-manager = {
    description = "network manager service";
    runlevel = "2345";
    conditions = "service/syslogd/ready";
    command = "${pkgs.networkmanager}/bin/NetworkManager -n";
  };
}

finix is currently running on my spare primary laptop:

  • with finit instead of systemd as the init system
  • with seatd instead of elogind as the seat manager
  • with mdevd instead of eudev as the device manager
  • using niri as my wayland compositor

niri-desktop-screenshot

finix initially ran:

  • in an incus container
  • in a nspawn container
  • on virtualbox
  • with x11

None of the above methods have been attempted in some time.

Getting Started

Documentation

finix does not yet have a disk image available to download - installation will need to take place from a standard NixOS image, which can be downloaded here. You may download and burn either the minimal image or the graphical image and the steps will remain the same.

For an installation guide, see Installation on our documentation site. Credits to @xZecora for writing the referenced examples.

cachix binary cache

A binary cache is generously provided by the cachix free tier offering.

  services.nix-daemon.settings = {
    substituters = [ "https://finix.cachix.org" ];
    trusted-public-keys = [ "finix.cachix.org-1:0ejikHDeCp0UErsduUUHcg9IJczY2/h2e5132Z/As/c=" ];
  };

See also

探索相关项目

加载中…