Modify like, basically everything idk, probably a lot of secrets and url names and colmena and whatnot

This commit is contained in:
Bun 2025-06-20 20:20:48 -04:00
parent 0ab856b18e
commit b3ba7481d8
107 changed files with 437 additions and 696 deletions

View file

@ -1,16 +1,15 @@
{ config, disko, ... }:
{ config, name, ... }:
{
imports = [ disko.nixosModules.disko ];
disko.devices = {
disk = {
"${config.networking.hostName}" = {
"${name}" = {
type = "disk";
device = "/dev/nvme0n1";
device = "/dev/disk/by-id/nvme-eui.00080d03001365cc";
content = {
type = "gpt";
partitions = {
boot = {
priority = 1;
size = "1M";
type = "EF02";
};
@ -28,12 +27,12 @@
size = "100%";
content = {
type = "luks";
name = "${config.networking.hostName}-disk";
name = "${name}-disk";
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = {
type = "lvm_pv";
vg = "${config.networking.hostName}";
vg = "${name}";
};
};
};
@ -43,7 +42,7 @@
};
lvm_vg = {
"${config.networking.hostName}" = {
"${name}" = {
type = "lvm_vg";
lvs = {
root = {

View file

@ -10,7 +10,5 @@
"subvol=persist"
];
};
"midas".enable = false;
};
}

View file

@ -5,6 +5,7 @@
services = {
cloudflare-dyndns.enable = true;
forgejo.enable = true;
hedgedoc.enable = true;
icecast.enable = true;
jellyfin.enable = true;
mastodon.enable = true;