feat(vps): add vps host

This commit is contained in:
tux
2026-05-10 04:57:09 +05:30
parent cb3389bce6
commit c5cc4b4f11
4 changed files with 168 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
inputs,
config,
...
}:
let
hostName = "vps";
userName = "tux";
userEmail = "t@tux.rs";
system = "x86_64-linux";
unstable = true;
nixpkgs = if unstable then inputs.nixpkgs else inputs.nixpkgs-stable;
in
{
flake.nixosConfigurations."${hostName}" = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit hostName userName userEmail; };
modules = [
config.flake.modules.nixos.core
config.flake.modules.nixos.${hostName}
];
};
}