29 lines
739 B
Nix
29 lines
739 B
Nix
{
|
|
self,
|
|
inputs,
|
|
...
|
|
}: let
|
|
mod = "${self}/system";
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.nix # generated at runtime by nixos-infect
|
|
|
|
inputs.agenix.nixosModules.default
|
|
|
|
"${mod}/services/forgejo.nix"
|
|
"${mod}/services/searx.nix"
|
|
"${mod}/services/portfolio.nix"
|
|
];
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
zramSwap.enable = true;
|
|
networking.hostName = "anastacia";
|
|
networking.domain = "";
|
|
services.openssh.enable = true;
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEzs7SQH0Vjt9JHoXXmWy9fPU1I3rrRWV5magZFrI5al"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKEPlN/GU9nJZPleA77HH5NA+6vyhhM84fTSjEwnEgq"
|
|
];
|
|
system.stateVersion = "23.11";
|
|
}
|