2023-04-29 11:31:49 +00:00
|
|
|
# NixOS configuration for toscano
|
2021-11-16 10:13:12 +00:00
|
|
|
#
|
|
|
|
# https://en.wikipedia.org/wiki/Joseph_Toscano
|
2021-10-07 02:13:48 +00:00
|
|
|
{
|
2022-07-18 05:48:51 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
2021-11-18 00:16:34 +00:00
|
|
|
imports = [
|
2022-07-20 03:36:14 +00:00
|
|
|
../../../networks/linode.nix
|
2023-04-29 11:31:49 +00:00
|
|
|
../../../profiles/forgejo.nix
|
2023-04-29 13:42:43 +00:00
|
|
|
../../../profiles/hakyll-skeleton.nix
|
2023-04-17 10:14:19 +00:00
|
|
|
#../../../profiles/jfdic-web.nix
|
|
|
|
#../../../profiles/resrok-web.nix
|
|
|
|
#../../../profiles/tmateServer.nix
|
|
|
|
#../../../profiles/voc-web.nix
|
2021-11-18 00:16:34 +00:00
|
|
|
];
|
2021-10-07 02:13:48 +00:00
|
|
|
|
2023-04-29 11:31:49 +00:00
|
|
|
age.secrets = {
|
|
|
|
forgejo = {
|
|
|
|
file = ../../../secrets/forgejo.age;
|
|
|
|
owner = "gitea";
|
|
|
|
group = "gitea";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-04-17 10:14:19 +00:00
|
|
|
deployment = {
|
|
|
|
tags = ["infra"];
|
|
|
|
targetHost = "45.79.236.198";
|
|
|
|
};
|
2021-10-07 02:13:48 +00:00
|
|
|
|
|
|
|
networking.hostName = "toscano";
|
|
|
|
|
2021-11-18 00:16:34 +00:00
|
|
|
system.stateVersion = "21.05"; # The version of NixOS originally installed
|
2021-10-07 02:13:48 +00:00
|
|
|
}
|