❄️ Dotfiles for our NixOS system configuration.

refactor: get formatter working

Chloe 479660e5 79e662c6

Changed files
+14 -5
.vscode
modules
+3
.vscode/settings.json
···
+
{
+
"editor.formatOnSave": true
+
}
+10 -5
flake.nix
···
inputs.easy-hosts.flakeModule
];
-
systems = [ "x86_64-linux" "aarch64-darwin" ];
+
systems = [
+
"x86_64-linux"
+
"aarch64-darwin"
+
];
-
perSystem = { pkgs, ... }: {
-
formatter = pkgs.nixfmt-rfc-style;
-
};
+
perSystem =
+
{ pkgs, ... }:
+
{
+
formatter = pkgs.nixfmt;
+
};
easy-hosts = {
path = ./hosts;
···
additionalClasses = {
wsl = "nixos";
};
-
+
shared = {
modules = [
# Base modules (platform-agnostic)
+1
modules/base/packages.nix
···
unzip
nil
jq
+
nixfmt
];
}