1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat: lix

This commit is contained in:
Ryan Cao 2024-05-26 14:56:58 +08:00
parent 46cf265a54
commit e9455b9098
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
7 changed files with 116 additions and 34 deletions

View file

@ -1,12 +1,12 @@
{
self,
pkgs,
# pkgs,
inputs,
config,
...
}: {
services.nix-daemon.enable = true;
nix.package = pkgs.nixVersions.unstable;
# nix.package = pkgs.nixVersions.latest;
nix.registry = {
n.flake = inputs.nixpkgs;
@ -26,6 +26,14 @@
sandbox = true;
use-xdg-base-directories = true;
extra-substituters = [
"https://cache.lix.systems"
];
extra-trusted-public-keys = [
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
];
nix-path = config.nix.nixPath;
};