snowflake/hosts/sakura/default.nix

36 lines
735 B
Nix
Raw Normal View History

2023-10-21 03:43:21 -04:00
{pkgs, ...}: {
2023-05-12 05:26:48 -04:00
imports = [
./hardware-configuration.nix
2023-05-28 22:00:50 -04:00
./services
./networking.nix
2023-05-12 05:26:48 -04:00
../../modules
];
boot.loader = {
grub = {
enable = true;
2023-06-16 04:18:37 -04:00
configurationLimit = 5;
2023-05-12 05:26:48 -04:00
device = "/dev/sda";
useOSProber = false;
};
};
2023-05-14 02:01:41 -04:00
2023-05-12 05:26:48 -04:00
networking = {
hostName = "sakura";
};
services.snowflake-proxy.enable = true;
2023-05-12 05:26:48 -04:00
services.xserver = {
layout = "us";
xkbVariant = "";
};
2023-06-23 22:14:38 -04:00
users.users.notoh.openssh.authorizedKeys.keys = [
2023-10-20 20:26:47 -04:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqAjaV2D2J8ln4n39ZvszCF5Jql+0IaSpFCJlzDSLv6 sakura"
];
users.users.root.openssh.authorizedKeys.keys = [
2023-10-20 20:53:40 -04:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo"
2023-06-23 22:14:38 -04:00
];
2023-05-12 05:26:48 -04:00
}