fix: auto formatter

This commit is contained in:
Ranomier 2025-05-08 20:36:52 +02:00
parent 59f507bc06
commit 7724f8cc5f
14 changed files with 47 additions and 52 deletions

View file

@ -1,14 +1,13 @@
inArgs: hostname: hostOptions:
let
inArgs: hostname: hostOptions: let
nixosSystem =
if (hostOptions ? unstable && hostOptions.unstable)
then inArgs.nixos-unstable.lib.nixosSystem
else inArgs.nixpkgs.lib.nixosSystem;
then inArgs.nixos-unstable.lib.nixosSystem
else inArgs.nixpkgs.lib.nixosSystem;
in
nixosSystem {
specialArgs = {inherit inArgs;};
modules = [
(./hosts/${hostname})
./hosts/${hostname}
{
networking.hostName = hostname;