nichts/hosts/tower/configuration.nix

59 lines
1.4 KiB
Nix
Raw Normal View History

2025-03-02 19:35:22 +01:00
{
lib,
pkgs,
...
}:
{
2025-03-02 19:35:22 +01:00
# Time Zone
time.timeZone = "Europe/Vienna";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "uk";
2025-05-09 09:38:05 +02:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2025-03-02 19:35:22 +01:00
programs.nix-ld.enable = true;
users.users."cr".openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPiRe9OH/VtWFWyy5QbAVcN7CLxr4zUtRCwmxD6aeN6"
"ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAAWEDj/Yib6Mqs016jx7rtecWpytwfVl28eoHtPYCM9TVLq81VIHJSN37lbkc/JjiXCdIJy2Ta3A3CVV5k3Z37NbgAu23oKA2OcHQNaRTLtqWlcBf9fk9suOkP1A3NzAqzivFpBnZm3ytaXwU8LBJqxOtNqZcFVruO6fZxJtg2uE34mAw=="
];
2025-03-02 19:35:22 +01:00
services = {
fstrim.enable = lib.mkDefault true;
};
meta = {
mainUser.gitSigningKey = "";
};
modules = {
services = {
locate.enable = true;
};
2025-03-02 19:35:22 +01:00
system = {
boot = {
grub.enable = true;
timeout = 30;
};
services = {
forgejo.enable = true;
grafana.enable = true;
prometheus.enable = true;
};
2025-03-02 19:35:22 +01:00
programs = {
editors = {
helix.enable = true;
};
};
};
other = {
system = {
username = "cr";
};
};
programs = {
ssh.enable = true;
btop.enable = true;
nh.enable = true;
};
# style.colorScheme.name = "Black Metal Venom";
};
}