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
10
hosts/detritus/colmena/default.nix
Normal file
10
hosts/detritus/colmena/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
deployment = {
|
||||
tags = [
|
||||
"latptop"
|
||||
"pc"
|
||||
];
|
||||
targetHost = "";
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./boot
|
||||
./colmena
|
||||
./disko
|
||||
./filesystems
|
||||
./hardware
|
||||
|
@ -9,12 +10,8 @@
|
|||
../../modules/system
|
||||
];
|
||||
|
||||
networking.hostName = "detritus";
|
||||
|
||||
system = {
|
||||
desktop.enable = true;
|
||||
stateVersion = "24.11";
|
||||
stateVersion = "25.05";
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
{ config, nodes, ... }:
|
||||
{
|
||||
fileSystems = with config.services.mycelium.ips; {
|
||||
fileSystems = with config.sysusers; with nodes; {
|
||||
# Local mounts
|
||||
"/persist/storage" = {
|
||||
device = "/dev/disk/by-uuid/d0d6783f-ad51-4d85-b8a9-3374f6460ef6";
|
||||
|
@ -11,7 +11,7 @@
|
|||
"subvol=storage"
|
||||
];
|
||||
};
|
||||
"/persist/home/${config.sysusers.main}/games" = {
|
||||
"/persist/home/${main}/games" = {
|
||||
device = "/dev/disk/by-uuid/d0d6783f-ad51-4d85-b8a9-3374f6460ef6";
|
||||
fsType = "btrfs";
|
||||
options = [
|
||||
|
@ -22,8 +22,8 @@
|
|||
};
|
||||
|
||||
# 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"
|
||||
|
@ -31,8 +31,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"
|
||||
|
@ -40,8 +40,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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue