Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar committed Sep 30, 2024
1 parent f70d9f4 commit fda0b17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dev/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
dev.name = "terlar/nix-config";

perSystem =
{ pkgs, ... }:
{ config, pkgs, ... }:
{
formatter = config.treefmt.programs.nixfmt.package;

treefmt.programs = {
nixfmt = {
enable = true;
Expand Down
4 changes: 1 addition & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@

partitions.dev = {
extraInputsFlake = ./dev;
module = {
imports = [ ./dev/flake-module.nix ];
};
module.imports = [ ./dev/flake-module.nix ];
};

flake = {
Expand Down

0 comments on commit fda0b17

Please sign in to comment.