mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix: format with alejandra
This commit is contained in:
parent
d5cad148da
commit
95eb4b71e0
118 changed files with 1291 additions and 1703 deletions
36
flake.nix
36
flake.nix
|
|
@ -1,25 +1,22 @@
|
|||
{
|
||||
outputs = inputs: let
|
||||
systems = [
|
||||
"aarch64-darwin"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"x86_64-linux"
|
||||
];
|
||||
|
||||
outputs =
|
||||
inputs:
|
||||
|
||||
let
|
||||
systems = [
|
||||
"aarch64-darwin"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"x86_64-linux"
|
||||
];
|
||||
|
||||
ctx = inputs // {
|
||||
ctx =
|
||||
inputs
|
||||
// {
|
||||
inherit systems;
|
||||
};
|
||||
in
|
||||
|
||||
in
|
||||
{
|
||||
nixConfig = {
|
||||
extra-substituters = [ "https://leana8959.cachix.org" ];
|
||||
extra-trusted-substituters = [ "https://leana8959.cachix.org" ];
|
||||
extra-substituters = ["https://leana8959.cachix.org"];
|
||||
extra-trusted-substituters = ["https://leana8959.cachix.org"];
|
||||
extra-trusted-public-keys = [
|
||||
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
|
||||
];
|
||||
|
|
@ -31,19 +28,15 @@
|
|||
homeModules = import ./nix/homeModules ctx;
|
||||
darwinModules = import ./nix/darwinModules ctx;
|
||||
}
|
||||
|
||||
// import ./nix/formatter ctx
|
||||
|
||||
// import ./nix/disko
|
||||
// import ./nix/configurations ctx
|
||||
// import ./nix/deploy ctx
|
||||
|
||||
// (
|
||||
let
|
||||
inherit (import ./nix/packages ctx) packageOverlays packages;
|
||||
inherit (import ./nix/overlays ctx) overlays;
|
||||
in
|
||||
{
|
||||
in {
|
||||
inherit packages;
|
||||
overlays = packageOverlays // overlays;
|
||||
}
|
||||
|
|
@ -115,5 +108,4 @@
|
|||
inputs."pre-commit-hooks".follows = "pre-commit-hooks";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue