init: public

This commit is contained in:
2025-04-13 15:09:14 +08:00
parent 5995c2050b
commit 50247d94e8
253 changed files with 12964 additions and 567 deletions

38
variables.nix Normal file
View File

@@ -0,0 +1,38 @@
rec {
username = "imxyy";
userfullname = "imxyy_soope_";
userdesc = userfullname;
useremail = "imxyy1soope1@gmail.com";
arch = {
aarch64 = {
linux = "aarch64-linux";
darwin = "aarch64-darwin";
};
i686 = {
linux = "i686-linux";
};
x86_64 = {
linux = "x86_64-linux";
darwin = "x86_64-darwin";
};
};
hosts =
with arch;
let
hostprefix = "imxyy-nix";
in
[
{
hostname = "${hostprefix}";
system = x86_64.linux;
}
{
hostname = "${hostprefix}-server";
system = x86_64.linux;
}
{
hostname = "${hostprefix}-wsl";
system = x86_64.linux;
}
];
}