added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
8
nyx/hosts/helios/modules/default.nix
Normal file
8
nyx/hosts/helios/modules/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
./device.nix
|
||||
./system.nix
|
||||
./usrEnv.nix
|
||||
./services.nix
|
||||
];
|
||||
}
|
10
nyx/hosts/helios/modules/device.nix
Normal file
10
nyx/hosts/helios/modules/device.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config.modules.device = {
|
||||
type = "server";
|
||||
cpu.type = "amd";
|
||||
gpu.type = null;
|
||||
hasBluetooth = false;
|
||||
hasSound = false;
|
||||
hasTPM = false;
|
||||
};
|
||||
}
|
39
nyx/hosts/helios/modules/services.nix
Normal file
39
nyx/hosts/helios/modules/services.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
config.modules.system.services = {
|
||||
nextcloud.enable = true;
|
||||
mailserver.enable = true;
|
||||
vaultwarden.enable = true;
|
||||
forgejo.enable = true;
|
||||
searxng.enable = true;
|
||||
reposilite.enable = true;
|
||||
|
||||
social = {
|
||||
mastodon.enable = true;
|
||||
matrix.enable = true;
|
||||
};
|
||||
|
||||
bincache = {
|
||||
harmonia.enable = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
headscale.enable = true;
|
||||
wireguard.enable = true;
|
||||
};
|
||||
|
||||
monitoring = {
|
||||
grafana.enable = true;
|
||||
prometheus.enable = true;
|
||||
loki.enable = true;
|
||||
uptime-kuma.enable = true;
|
||||
};
|
||||
|
||||
database = {
|
||||
mysql.enable = false;
|
||||
mongodb.enable = false;
|
||||
redis.enable = true;
|
||||
postgresql.enable = true;
|
||||
garage.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
44
nyx/hosts/helios/modules/system.nix
Normal file
44
nyx/hosts/helios/modules/system.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{pkgs, ...}: {
|
||||
config.modules.system = {
|
||||
mainUser = "notashelf";
|
||||
fs = ["vfat" "exfat" "ext4"];
|
||||
video.enable = false;
|
||||
sound.enable = false;
|
||||
bluetooth.enable = false;
|
||||
printing.enable = false;
|
||||
|
||||
boot = {
|
||||
secureBoot = false;
|
||||
kernel = pkgs.linuxPackages_latest;
|
||||
loader = "grub";
|
||||
enableKernelTweaks = true;
|
||||
initrd.enableTweaks = true;
|
||||
loadRecommendedModules = true;
|
||||
tmpOnTmpfs = false;
|
||||
};
|
||||
|
||||
virtualization = {
|
||||
enable = true;
|
||||
qemu.enable = true;
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
optimizeTcp = false;
|
||||
tarpit.enable = true;
|
||||
nftables.enable = true;
|
||||
tailscale = {
|
||||
enable = true;
|
||||
isServer = true;
|
||||
isClient = false;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
git.signingKey = "";
|
||||
|
||||
cli.enable = true;
|
||||
gui.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
5
nyx/hosts/helios/modules/usrEnv.nix
Normal file
5
nyx/hosts/helios/modules/usrEnv.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
config.modules.usrEnv = {
|
||||
useHomeManager = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue