Flakes/zh: Difference between revisions

Weijia (talk | contribs)
Created page with "<syntaxhighlight lang="nix"> { inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; outputs = { self, nixpkgs, flake-compat }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; config.allowUnfree = true;}; in { ... }; } </syntaxhighlight>"
Tags: Mobile edit Mobile web edit
Weijia (talk | contribs)
Created page with "== 启用 Flake 的 NixOS 配置 =="
Line 356: Line 356:
</syntaxhighlight>  
</syntaxhighlight>  


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="NixOS_configuration_with_flakes"></span>
== NixOS configuration with flakes ==
== 启用 Flake 的 NixOS 配置 ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">