initial server config

This commit is contained in:
twoneis 2025-02-04 20:08:19 +01:00
parent 1071e51afd
commit 4ef562c1da
9 changed files with 161 additions and 37 deletions

View file

@ -0,0 +1,25 @@
{ pkgs, ... }: {
imports = [
./options.nix
./disko.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
networking.hostName = "ellaca";
boot = {
initrd = {
availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
kernelModules = [ "amdgpu" ];
};
kernelPackages = pkgs.linuxPackages_zen;
loader = {
systemd-boot = {
enable = true;
editor = false;
};
efi.canTouchEfiVariables = true;
};
};
}