https://github.com/clansty/flake
凌莞的 NixOS 配置
https://github.com/clansty/flake
Last synced: 12 months ago
JSON representation
凌莞的 NixOS 配置
- Host: GitHub
- URL: https://github.com/clansty/flake
- Owner: clansty
- Created: 2022-02-11T05:41:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-14T13:54:23.000Z (almost 2 years ago)
- Last Synced: 2025-05-03T05:32:49.086Z (about 1 year ago)
- Language: Nix
- Homepage:
- Size: 1.58 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 凌莞的 Nix Flake
包含我自己的配置和打包的一些软件包,适用于 [NixOS](https://nixos.org) 和 [nix-darwin](https://github.com/LnL7/nix-darwin)
## 使用 overlay
```nix
# flake.nix
{
inputs.clansty.url = "github:clansty/flake";
outputs = inputs: {
nixosConfigurations. = {
# ...
modules = [
# ...
{
nixpkgs.overlays = [ inputs.clansty.overlays.clansty ];
environment.systemPackages = [ pkgs.yesplaymusic ]; # Something in `packages` dir of this repo
}
];
};
};
}
```