38 lines
719 B
Nix
38 lines
719 B
Nix
# See /modules/nixos/* for actual settings
|
|
# This file is just *top-level* configuration.
|
|
{
|
|
flake,
|
|
modulesPath,
|
|
config,
|
|
...
|
|
}:
|
|
|
|
let
|
|
inherit (flake) inputs;
|
|
inherit (inputs) self;
|
|
in
|
|
{
|
|
imports = [
|
|
self.nixosModules.default
|
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
];
|
|
services = {
|
|
tty-ips.enable = true;
|
|
otf = {
|
|
enable = true;
|
|
environmentFile = config.sops.secrets.otfenv.path;
|
|
};
|
|
};
|
|
networking = {
|
|
yggdrasil = {
|
|
enable = true;
|
|
AllowedPublicKeys = [
|
|
"d0e265fcf663451ae9bc048dc1297749819ce9d48042a986f2866c15a779a074"
|
|
];
|
|
};
|
|
hostName = "tofu";
|
|
};
|
|
environment.systemPackages = [
|
|
];
|
|
system.stateVersion = "25.05";
|
|
}
|