Add Colmena to manage systems, use better pathing for smallfetch, use better mountpoints and hostnames from Colema
This commit is contained in:
parent
215ad6b1a7
commit
1f7d01bb4d
53 changed files with 254 additions and 166 deletions
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
{ config, nodes, ... }:
|
||||
{
|
||||
fileSystems = with config.services.mycelium.ips; {
|
||||
fileSystems = with config.sysusers; with nodes; {
|
||||
"/persist/storage" = {
|
||||
device = "/dev/disk/by-uuid/edd3e293-1aff-4fc0-96fa-4e17d6cccfca";
|
||||
fsType = "btrfs";
|
||||
|
@ -11,17 +11,17 @@
|
|||
};
|
||||
|
||||
# Network mounts
|
||||
"/home/${config.sysusers.main}/Network/Midas" = {
|
||||
device = "[${midas}]:/storage";
|
||||
"/home/${main}/Network/Midas" = {
|
||||
device = "[${midas.config.deployment.targetHost}]:/storage";
|
||||
fsType = "nfs4";
|
||||
options = [
|
||||
"x-systemd.automount"
|
||||
"noauto"
|
||||
"soft"
|
||||
"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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue