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/sda";
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 = {