server-nix/configuration.nix
fqbn207 359258dcde kekl
2025-01-09 04:54:38 +01:00

47 lines
714 B
Nix

{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
# modules
./modules/jellyfin.nix
./modules/iperf.nix
./modules/networking.nix
./modules/virt.nix
./modules/sec.nix
./modules/pkgs.nix
./modules/user.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "Europe/Berlin";
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
programs = {
gnupg = {
agent = {
enable = true;
enableSSHSupport = true;
};
};
};
services = {
openssh = {
enable = true;
};
};
system.stateVersion = "24.11";
}