Added nixfmt pre-commit-hook
This commit is contained in:
parent
bcf1fed099
commit
a4d6a5dd98
4 changed files with 122 additions and 60 deletions
|
|
@ -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 ]; };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue