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 # Servers
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; "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"; }; "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
# User Machines # User Machines
@ -107,7 +107,7 @@
# Servers # Servers
framework-server = libx.deploy { hostname = "framework-server"; }; 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"; }; # nuc-server = libx.deploy { hostname = "nuc-server"; };
# Raspberry Pi's # Raspberry Pi's

View file

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

View file

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