Added nixfmt pre-commit-hook

This commit is contained in:
rotterdam 2023-04-04 09:57:48 -03:00
parent bcf1fed099
commit a4d6a5dd98
4 changed files with 122 additions and 60 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ...}:
{ config, pkgs, lib, ... }:
{
imports = [
@ -12,16 +12,13 @@
nix.nixPath = [ "nixos-config=${./alexandria.nix}" ];
swapDevices = [ { device = "/swapfile"; size = 8192; } ];
swapDevices = [{
device = "/swapfile";
size = 8192;
}];
networking = {
hostName = "alexandria";
firewall = {
allowedTCPPorts = [
80
443
9666
];
};
firewall = { allowedTCPPorts = [ 80 443 9666 ]; };
};
}