Refactoring config preparing for server

This commit is contained in:
Lyes Saadi 2025-10-04 14:59:18 +02:00
parent 2bffc8d711
commit 6992836cfe
Signed by: lyes
GPG key ID: 55A1D803917CF39A
18 changed files with 165 additions and 10 deletions

19
hosts/zora/hardware.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
# Kernel
boot.kernelPackages = pkgs.linuxPackages_6_16;
# Boot
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 10;
# boot.loader.efi.canTouchEfiVariables = true;
# boot.kernelParams = [ "quiet" ];
boot.initrd.systemd = {
enable = true;
# network.enable = true;
};
# Swap
zramSwap.enable = true;
}