restructure and cleanup

This commit is contained in:
2026-05-04 15:32:16 -05:00
parent 7d0fb6ab9b
commit d7a55abee2
17 changed files with 47 additions and 851 deletions
-70
View File
@@ -1,70 +0,0 @@
{
disko.devices = {
disk = {
main = {
type = "disk";
device = ""; # disk id here
content = {
type = "gpt";
partitions = {
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "crypted";
# disable settings.keyFile if you want to use interactive password entry
#passwordFile = "/tmp/secret.key"; # Interactive
settings = {
allowDiscards = true;
#keyFile = "/tmp/secret.key";
};
#additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"@root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"noatime"
];
};
"@swap" = {
mountpoint = "/.swapvol";
swap.swapfile.size = "32G";
};
};
};
};
};
};
};
};
};
};
}
+1 -1
View File
@@ -63,7 +63,7 @@
};
networking = {
hostName = "lumiose"; # hostname
#hostId = ""; # zfs wants this
networking.hostId = "007f0200";
networkmanager = {
enable = true; # the goat
dns = "systemd-resolved"; # the backup dancer!
-18
View File
@@ -46,43 +46,25 @@
};
homelab = {
enable = true;
# services
gitea.enable = true;
glance.enable = true;
immich.enable = true;
vaultwarden.enable = true;
#searx.enable = true;
# home assistant
home.enable = true;
# hass.enable = true;
# mosquitto.enable = true;
# zigbee2mqtt.enable = true;
# network
tailscale.enable = true;
caddy.enable = true;
dnsmasq.enable = true;
# mediastack
mediastack.enable = true;
# jellyfin.enable = true;
# audiobookshelf.enable = true;
# yacreader.enable = true;
# qbittorrent.enable = true;
# sonarr.enable = true;
# radarr.enable = true;
# bazarr.enable = true;
# prowlarr.enable = true;
# flaresolverr.enable = true;
# system
backups.enable = true;
motd.enable = true;
postfix.enable = true;
uptime-kuma.enable = true;
# ai
open-webui.enable = true;
ollama.enable = true;