Add distrobox to laptop and fix ovh disks

This commit is contained in:
albert 2024-07-13 12:50:16 +09:00
parent 6f6ed14912
commit 1793439f0f
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 124 additions and 114 deletions

View file

@ -82,7 +82,7 @@
# Servers
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
"albert@waraw-ovh-01" = libx.mkHome { hostname = "waraw-ovh-01"; };
"albert@warsaw-ovh-01" = libx.mkHome { hostname = "warsaw-ovh-01"; };
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
# User Machines
@ -107,7 +107,7 @@
# Servers
framework-server = libx.deploy { hostname = "framework-server"; };
ovh-server = libx.deploy { hostname = "ovh-server"; };
warsaw-ovh-01 = libx.deploy { hostname = "warsaw-ovh-01"; };
# nuc-server = libx.deploy { hostname = "nuc-server"; };
# Raspberry Pi's

View file

@ -81,5 +81,8 @@
# RGB stuff
openrgb-with-all-plugins
rivalcfg
# Other
distrobox
];
}

View file

@ -13,7 +13,8 @@
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";
disko.devices.disk = {
disko.devices = {
disk = {
sdb = {
type = "disk";
device = "/dev/sdb";
@ -34,12 +35,14 @@
};
mdadm = {
size = "100%";
content = "mdraid";
content = {
type = "mdraid";
name = "raid1";
};
};
};
};
};
sdc = {
type = "disk";
@ -61,20 +64,23 @@
};
mdadm = {
size = "100%";
content = "mdraid";
content = {
type = "mdraid";
name = "raid1";
};
};
};
};
};
};
mdadm = {
boot = {
type = "mdadm";
level = 1;
metadata = "1.0";
content = {
type = "Filesystem";
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
@ -138,4 +144,5 @@
};
};
};
};
}