ran nixpkgs-fmt

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-08 01:11:53 +05:30
parent aaf19ee844
commit e6cb5b2615
18 changed files with 87 additions and 75 deletions

View File

@@ -3,12 +3,12 @@
boot = {
consoleLogLevel = 7;
kernelParams = [ "console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0" ];
kernelPackages = pkgs.linuxPackages_5_10;
kernelPackages = pkgs.linuxPackages_5_10;
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" "pcie-brcmstb" "vc4" ];
loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
/* raspberryPi= {
/* raspberryPi= {
version = 4;
firmwareConfig = "dtparam=sd_poll_once=on";
enable = true;

View File

@@ -1,12 +1,12 @@
{config, pkgs, ...}:
{ config, pkgs, ... }:
{
imports =
[
./networking.nix
./hardware.nix
./boot.nix
./services.nix
./stuff.nix
];
imports =
[
./networking.nix
./hardware.nix
./boot.nix
./services.nix
./stuff.nix
];
system.stateVersion = "21.05";
}

View File

@@ -5,12 +5,14 @@
{
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXOS_SD";
{
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
};
fileSystems."/nix/store" =
{ device = "/nix/store";
{
device = "/nix/store";
fsType = "none";
options = [ "bind" ];
};

View File

@@ -6,9 +6,14 @@
allowedTCPPorts = [
22 # ssh
80 # http
6060 4444 5454 8080 #????
6060
4444
5454
8080 #????
5001 #gitea
8800 4646 8500 #vault nomad consul
8800
4646
8500 #vault nomad consul
8888 #simpler-filehost1
6666 #concourse
202 #gitea-ssh