2026-02-01 19:43:03 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
time.timeZone = "UTC";
|
|
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
console.keyMap = "us";
|
|
|
|
|
|
2026-02-03 07:41:19 +02:00
|
|
|
boot.supportedFilesystems = [ "btrfs" "ext4" "vfat" "xfs" ];
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
2026-02-01 19:43:03 +02:00
|
|
|
nix.settings = {
|
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
substituters = lib.mkBefore [
|
|
|
|
|
"https://cache.lix.systems"
|
|
|
|
|
];
|
|
|
|
|
trusted-public-keys = lib.mkBefore [
|
|
|
|
|
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
2026-02-02 21:30:08 +02:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
2026-02-01 19:43:03 +02:00
|
|
|
system.stateVersion = "25.11";
|
2026-02-03 07:41:19 +02:00
|
|
|
|
|
|
|
|
virtualisation = {
|
|
|
|
|
containers.enable = true;
|
|
|
|
|
# docker.enable = true;
|
|
|
|
|
podman = {
|
|
|
|
|
enable = true;
|
|
|
|
|
dockerCompat = true;
|
|
|
|
|
# Required for containers under podman-compose to be able to talk to each other.
|
|
|
|
|
defaultNetwork.settings.dns_enabled = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
2026-02-01 19:43:03 +02:00
|
|
|
}
|