Add Colmena to manage systems, use better pathing for smallfetch, use better mountpoints and hostnames from Colema

This commit is contained in:
Bun 2025-06-01 06:17:48 -04:00
parent 215ad6b1a7
commit 1f7d01bb4d
53 changed files with 254 additions and 166 deletions

View file

@ -0,0 +1,10 @@
{ config, ... }:
{
deployment = {
tags = [
"latptop"
"pc"
];
targetHost = "40e:404:a427:da33:163e:97b3:a2a3:9ed4";
};
}

View file

@ -2,6 +2,7 @@
{
imports = [
./boot
./colmena
./disko
./filesystems
./hardware
@ -9,8 +10,6 @@
../../modules/system
];
networking.hostName = "intuos";
system = {
desktop.enable = true;
stateVersion = "24.11";

View file

@ -1,9 +1,9 @@
{ config, ... }:
{ config, nodes, ... }:
{
fileSystems = with config.services.mycelium.ips; {
fileSystems = with config.sysusers; with nodes; {
# Network mounts
"/home/${config.sysusers.main}/Network/Midas" = {
device = "[${midas}]:/storage";
"/home/${main}/Network/Midas" = {
device = "[${midas.config.deployment.targetHost}]:/storage";
fsType = "nfs4";
options = [
"noauto"
@ -11,8 +11,8 @@
"x-systemd.automount"
];
};
"/home/${config.sysusers.main}/Network/Kitty" = {
device = "[${kitty}]:/storage/bun";
"/home/${main}/Network/Kitty" = {
device = "[${kitty.config.deployment.targetHost}]:/storage/bun";
fsType = "nfs4";
options = [
"noauto"
@ -20,8 +20,8 @@
"x-systemd.automount"
];
};
"/home/${config.sysusers.main}/Network/Prophet" = {
device = "[${prophet}]:/storage";
"/home/${main}/Network/Prophet" = {
device = "[${prophet.config.deployment.targetHost}]:/storage";
fsType = "nfs4";
options = [
"noauto"