Files
nix-config/hosts/alys/configuration.nix
T

42 lines
818 B
Nix
Raw Normal View History

2025-07-05 00:02:39 +02:00
{inputs, ...}: {
2025-07-05 00:02:39 +02:00
imports = [
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
2025-07-05 00:02:39 +02:00
../../system
2025-07-05 00:02:39 +02:00
];
2025-08-15 21:33:22 +02:00
mySystem = {
2025-07-05 00:02:39 +02:00
boot = {
2025-07-05 00:02:39 +02:00
kernel.hardened = true;
2025-07-05 00:02:39 +02:00
systemd-boot = false;
2025-07-05 00:02:39 +02:00
zram = {
enable = true;
memoryMax = 512;
};
2025-07-05 00:02:39 +02:00
};
2025-07-05 00:02:39 +02:00
dev.docker.enable = true;
2025-07-05 00:02:39 +02:00
networking = {
hostname = "alys";
domain = "phundrak.com";
id = "41157110";
};
2026-02-08 00:20:44 +01:00
packages.nix.gc.automatic = true;
2025-07-05 00:02:39 +02:00
services = {
endlessh.enable = true;
ssh = {
enable = true;
allowedUsers = ["phundrak"];
passwordAuthentication = false;
};
};
2025-07-05 00:02:39 +02:00
users = {
root.disablePassword = true;
2026-02-08 00:20:44 +01:00
phundrak = {
enable = true;
trusted = true;
};
2025-07-05 00:02:39 +02:00
};
};
system.stateVersion = "23.11";
}