add fw-new
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
./utils/modules/nginx.nix
|
||||
|
||||
./utils/modules/autoupgrade.nix
|
||||
# ./utils/modules/promtail
|
||||
./utils/modules/promtail
|
||||
./utils/modules/borgbackup.nix
|
||||
# ./utils/modules/netdata.nix
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
./modules/podman.nix
|
||||
./modules/omada.nix
|
||||
./modules/ddclient.nix
|
||||
./modules/wol.nix
|
||||
# ./modules/wol.nix
|
||||
|
||||
# microvm
|
||||
./modules/microvm.nix
|
||||
@@ -34,9 +34,9 @@
|
||||
|
||||
# git
|
||||
./modules/gitea.nix
|
||||
# ./modules/fwmetrics.nix
|
||||
./modules/fwmetrics.nix
|
||||
|
||||
./modules/firefox-sync.nix
|
||||
# ./modules/firefox-sync.nix
|
||||
|
||||
# home assistant
|
||||
./modules/home-assistant
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
# gaming
|
||||
./modules/palworld.nix
|
||||
./modules/ark-survival-evolved.nix
|
||||
# ./modules/ark-survival-evolved.nix
|
||||
|
||||
|
||||
./hardware-configuration.nix
|
||||
@@ -97,6 +97,26 @@
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./pkgs/kernel/vendor.nix {});
|
||||
|
||||
# kernelParams copy from Armbian's /boot/armbianEnv.txt & /boot/boot.cmd
|
||||
kernelParams = [
|
||||
"rootwait"
|
||||
|
||||
"earlycon" # enable early console, so we can see the boot messages via serial port / HDMI
|
||||
"consoleblank=0" # disable console blanking(screen saver)
|
||||
"console=ttyS2,1500000" # serial port
|
||||
"console=tty1" # HDMI
|
||||
|
||||
# docker optimizations
|
||||
"cgroup_enable=cpuset"
|
||||
"cgroup_memory=1"
|
||||
"cgroup_enable=memory"
|
||||
"swapaccount=1"
|
||||
];
|
||||
};
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
networking.hostName = "fw";
|
||||
|
||||
Reference in New Issue
Block a user