Modify like, basically everything idk, probably a lot of secrets and url names and colmena and whatnot
This commit is contained in:
parent
0ab856b18e
commit
b3ba7481d8
107 changed files with 437 additions and 696 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue