From fc019d789523ce5f89436b8dbc458cf3b79abf43 Mon Sep 17 00:00:00 2001 From: aristote Date: Tue, 29 Jul 2025 15:25:11 +0200 Subject: reformat everything with nixfmt --- modules/flake-parts/devenv.nix | 30 ++++++++++++++++++------------ modules/flake-parts/personal.nix | 8 +++++++- 2 files changed, 25 insertions(+), 13 deletions(-) (limited to 'modules/flake-parts') diff --git a/modules/flake-parts/devenv.nix b/modules/flake-parts/devenv.nix index 9e01a56..d63290c 100644 --- a/modules/flake-parts/devenv.nix +++ b/modules/flake-parts/devenv.nix @@ -1,19 +1,25 @@ -devenvModules: { +devenvModules: +{ flake-parts-lib, inputs, ... -}: { - imports = [inputs.devenv.flakeModule]; +}: +{ + imports = [ inputs.devenv.flakeModule ]; - options.perSystem = flake-parts-lib.mkPerSystemOption ({lib, ...}: { - options.devenv.shells = lib.mkOption { - type = with lib.types; - lazyAttrsOf (submoduleWith { - modules = builtins.attrValues devenvModules; - shorthandOnlyDefinesConfig = null; - }); - }; - }); + options.perSystem = flake-parts-lib.mkPerSystemOption ( + { lib, ... }: + { + options.devenv.shells = lib.mkOption { + type = + with lib.types; + lazyAttrsOf (submoduleWith { + modules = builtins.attrValues devenvModules; + shorthandOnlyDefinesConfig = null; + }); + }; + } + ); # the extra parameter before the module make this module behave like an # anonymous module, so we need to manually identify the file, for better diff --git a/modules/flake-parts/personal.nix b/modules/flake-parts/personal.nix index 370e176..b259c29 100644 --- a/modules/flake-parts/personal.nix +++ b/modules/flake-parts/personal.nix @@ -1,3 +1,9 @@ { - systems = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; + systems = [ + "x86_64-linux" + "i686-linux" + "x86_64-darwin" + "aarch64-linux" + "aarch64-darwin" + ]; } -- cgit v1.2.3