aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-22 21:44:29 +0900
committernsfisis <nsfisis@gmail.com>2025-01-22 21:44:29 +0900
commit8f4c37176f757a6319460a4cf2d89c04209ee7c1 (patch)
treee2ace8af29f1710003371806bdfb94be11a7572d
parentad442e140c643eb3a80f5d4f59aa00b21c00888f (diff)
downloaddotfiles-8f4c37176f757a6319460a4cf2d89c04209ee7c1.tar.gz
dotfiles-8f4c37176f757a6319460a4cf2d89c04209ee7c1.tar.zst
dotfiles-8f4c37176f757a6319460a4cf2d89c04209ee7c1.zip
nix: refactor flake.nix
-rw-r--r--flake.nix18
1 files changed, 5 insertions, 13 deletions
diff --git a/flake.nix b/flake.nix
index c8d8d33..17260b1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -27,19 +27,11 @@
home-manager,
...
}:
- let
- eachDefaultSystem =
- f:
- flake-utils.lib.eachDefaultSystem (
- system:
- f {
- inherit system;
- pkgs = import nixpkgs { inherit system; };
- }
- );
- in
- eachDefaultSystem (
- { system, pkgs }:
+ flake-utils.lib.eachDefaultSystem (
+ system:
+ let
+ pkgs = import nixpkgs { inherit system; };
+ in
{
formatter = pkgs.nixfmt-rfc-style;
}