2024-10-24 14:02:14 +00:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-10-23 16:04:37 +00:00
|
|
|
mod = "${self}/system";
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./networking.nix # generated at runtime by nixos-infect
|
|
|
|
|
2024-10-24 14:02:14 +00:00
|
|
|
inputs.agenix.nixosModules.default
|
|
|
|
|
2024-10-23 16:04:37 +00:00
|
|
|
"${mod}/services/forgejo.nix"
|
|
|
|
"${mod}/services/searx.nix"
|
2024-10-27 10:56:13 +00:00
|
|
|
"${mod}/services/portfolio.nix"
|
2024-10-23 16:04:37 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
|
|
zramSwap.enable = true;
|
|
|
|
networking.hostName = "anastacia";
|
|
|
|
networking.domain = "";
|
|
|
|
services.openssh.enable = true;
|
2024-10-24 12:12:11 +00:00
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEzs7SQH0Vjt9JHoXXmWy9fPU1I3rrRWV5magZFrI5al"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKEPlN/GU9nJZPleA77HH5NA+6vyhhM84fTSjEwnEgq"
|
|
|
|
];
|
2024-10-23 16:04:37 +00:00
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|