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

style: switch to nixfmt-rfc-style

This commit is contained in:
Ryan Cao 2024-06-17 10:52:56 +08:00
parent 3404601a4a
commit 02e3e3a7ac
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
17 changed files with 117 additions and 112 deletions

View file

@ -4,7 +4,8 @@
inputs,
config,
...
}: {
}:
{
services.nix-daemon.enable = true;
nix.package = pkgs.nixVersions.latest;
@ -12,27 +13,24 @@
n.flake = inputs.nixpkgs;
};
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
];
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
nix.settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
extra-platforms = ["x86_64-darwin" "aarch64-darwin"];
extra-platforms = [
"x86_64-darwin"
"aarch64-darwin"
];
build-users-group = "nixbld";
trusted-users = ["ryanccn"];
trusted-users = [ "ryanccn" ];
sandbox = true;
use-xdg-base-directories = true;
extra-substituters = [
"https://cache.lix.systems"
];
extra-substituters = [ "https://cache.lix.systems" ];
extra-trusted-public-keys = [
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
];
extra-trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ];
nix-path = config.nix.nixPath;
};