forked from Bun/nixos-config
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
7
hosts/midas/colmena/default.nix
Normal file
7
hosts/midas/colmena/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
deployment = {
|
||||
tags = [ "server" ];
|
||||
targetHost = "538:e163:87ba:f847:3646:18b6:6b01:d8f8";
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./boot
|
||||
./colmena
|
||||
./disko
|
||||
./filesystems
|
||||
./hardware
|
||||
|
@ -11,10 +12,7 @@
|
|||
../../modules/system
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "midas";
|
||||
hostId = "38ba3f57";
|
||||
};
|
||||
networking.hostId = "38ba3f57";
|
||||
|
||||
system = {
|
||||
server.enable = true;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
{ config, nodes, ... }:
|
||||
{
|
||||
fileSystems = with config.services.mycelium.ips; {
|
||||
fileSystems = with config.sysusers; with nodes; {
|
||||
"/persist" = {
|
||||
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||
fsType = "btrfs";
|
||||
|
@ -11,7 +11,7 @@
|
|||
];
|
||||
};
|
||||
"/kitty" = {
|
||||
device = "[${kitty}]:/storage/bun";
|
||||
device = "[${kitty.config.deployment.targetHost}]:/storage/${main}";
|
||||
fsType = "nfs4";
|
||||
options = [
|
||||
"noauto"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue