From a2e28d5bcdd10bf4c0be220f8ad1903bb1d15e73 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 30 Dec 2024 19:12:49 +0400 Subject: [PATCH] make basic configuration for sakoserver --- hosts/sakoserver/configuration.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/hosts/sakoserver/configuration.nix b/hosts/sakoserver/configuration.nix index efa4ab18..fb863a5e 100644 --- a/hosts/sakoserver/configuration.nix +++ b/hosts/sakoserver/configuration.nix @@ -1,15 +1,16 @@ -{ - config, - pkgs, - lib, - inputs, - outputs, - ... -}: { - imports = [ - ./hardware-configuration.nix - ]; +{ config, pkgs, lib, inputs, outputs, ... }: { + imports = [ outputs.nixosModules.server ./hardware-configuration.nix ]; # important for later, trust me networking.hostName = "sakoserver"; + + boot.loader = { + timeout = 3; + systemd-boot = { + enable = true; + configurationLimit = 10; + }; + }; + + void = { isServer = true; }; }