diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-01-22 21:44:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-01-22 21:44:29 +0900 |
| commit | 8f4c37176f757a6319460a4cf2d89c04209ee7c1 (patch) | |
| tree | e2ace8af29f1710003371806bdfb94be11a7572d /flake.nix | |
| parent | ad442e140c643eb3a80f5d4f59aa00b21c00888f (diff) | |
| download | dotfiles-8f4c37176f757a6319460a4cf2d89c04209ee7c1.tar.gz dotfiles-8f4c37176f757a6319460a4cf2d89c04209ee7c1.tar.zst dotfiles-8f4c37176f757a6319460a4cf2d89c04209ee7c1.zip | |
nix: refactor flake.nix
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -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; } |
