Anthony Rodriguez
73930f02ff
Using absolute path imports is apparently a horrible idea since that just messes up the store, and will bring a lot of issues since that copies it to the store separately.
25 lines
744 B
Nix
25 lines
744 B
Nix
{inputs, ...}: let
|
|
system = "${inputs.self}/system";
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.nix # generated at runtime by nixos-infect
|
|
|
|
inputs.agenix.nixosModules.default
|
|
|
|
"${system}/services/forgejo.nix"
|
|
"${system}/services/searx.nix"
|
|
"${system}/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";
|
|
}
|