1
0

enable formatter

This commit is contained in:
2025-09-19 22:17:25 -07:00
parent 6d64e1f074
commit 6cc3a633e6

View File

@@ -5,44 +5,46 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }:
{
# System Modules
nixosModules.default = { ... }: {
imports = [
./system/default/editor.nix
./system/default/nix.nix
./system/default/packages.nix
];
};
outputs = { self, nixpkgs, ... }: {
# Set up formatter.
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
nixosModules.linux = { ... }: {
imports = [
./system/linux/system.nix
];
};
nixosModules.macos = { ... }: {
imports = [
./system/macos/system.nix
./system/macos/fonts.nix
];
};
# Home Manager Modules
homeManagerModules.default = { ... }: {
imports = [
./home/default/bash.nix
./home/default/basic.nix
./home/default/direnv.nix
./home/default/git.nix
];
};
homeManagerModules.develop = { ... }: {
imports = [
./home/develop/emacs.nix
];
};
# System Modules
nixosModules.default = { ... }: {
imports = [
./system/default/editor.nix
./system/default/nix.nix
./system/default/packages.nix
];
};
nixosModules.linux = { ... }: {
imports = [
./system/linux/system.nix
];
};
nixosModules.macos = { ... }: {
imports = [
./system/macos/system.nix
./system/macos/fonts.nix
];
};
# Home Manager Modules
homeManagerModules.default = { ... }: {
imports = [
./home/default/bash.nix
./home/default/basic.nix
./home/default/direnv.nix
./home/default/git.nix
];
};
homeManagerModules.develop = { ... }: {
imports = [
./home/develop/emacs.nix
];
};
};
}