chore: Use nixfmt reformat all nix source code

This commit is contained in:
ulic-youthlic 2026-07-04 23:11:21 +08:00
parent 1cdf00cefe
commit 11337b8f9e
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
184 changed files with 2349 additions and 1943 deletions

View file

@ -4,36 +4,40 @@
self,
rootPath,
...
}: let
}:
let
inherit (self) outputs;
in {
in
{
flake = {
nixosModules = {
default = import (rootPath + "/nixos/modules/top-level");
gui = import (rootPath + "/nixos/modules/top-level/gui.nix");
};
nixosConfigurations = let
makeNixosConfiguration = hostName:
lib.nixpkgs-patcher.nixosSystem {
nixpkgsPatcher.inputs = inputs;
modules = [(rootPath + "/nixos/configurations/${hostName}")];
specialArgs = {
inherit
inputs
outputs
rootPath
lib
;
nixosConfigurations =
let
makeNixosConfiguration =
hostName:
lib.nixpkgs-patcher.nixosSystem {
nixpkgsPatcher.inputs = inputs;
modules = [ (rootPath + "/nixos/configurations/${hostName}") ];
specialArgs = {
inherit
inputs
outputs
rootPath
lib
;
};
};
};
in
in
with lib;
pipe
pipe
[
"Tytonidae"
"Cape"
"Akun"
]
[(flip genAttrs makeNixosConfiguration)];
[ (flip genAttrs makeNixosConfiguration) ];
};
}