feat: alejandra -> nixfmt

This commit is contained in:
uku 2024-12-25 18:21:24 +01:00
parent acc6e6e825
commit 65ce9c5882
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
56 changed files with 737 additions and 456 deletions

View file

@ -2,15 +2,17 @@
lib,
inputs,
...
}: let
_utils = import ../global/utils.nix {inherit lib;};
}:
let
_utils = import ../global/utils.nix { inherit lib; };
toSystem = name: {
role,
system,
}:
inputs.nixpkgs.lib.nixosSystem
toSystem =
name:
{
role,
system,
}:
inputs.nixpkgs.lib.nixosSystem {
inherit system;
modules = [
@ -18,12 +20,15 @@
./${name}/hardware-configuration.nix
../configs/${role}.nix
{networking.hostName = name;}
{ networking.hostName = name; }
];
specialArgs = inputs // {inherit _utils;};
specialArgs = inputs // {
inherit _utils;
};
};
in {
in
{
flake.nixosConfigurations = lib.mapAttrs toSystem {
fuji = {
role = "desktop";