chore: instagibbed and respawned server

This commit is contained in:
Nick 2025-11-04 05:15:59 -06:00
parent f15baf7ccb
commit a2f229e05f
5 changed files with 18 additions and 39 deletions

View file

@ -4,48 +4,27 @@
...
}:
let
inherit (flake.config.people)
user0
;
inherit (flake.config.machines.devices)
ceres
;
inherit (flake.config.people) user0;
in
{
fileSystems =
# let
# storageDrives = [
# "storage0"
# ];
# storageMounts = storage: {
# name = "${ceres.${storage}.mount}";
# value = {
# device = ceres.${storage}.device;
# fsType = "ext4";
# options = ceres.${storage}.options;
# };
# };
# in
{
"/" = {
device = "/dev/disk/by-uuid/de4e681b-0667-4bf8-8d6e-c50894aa41cd";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/C68D-B1C0";
fsType = "vfat";
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/4b740a8e-8123-4d29-8ec2-132aebb0583d";
fsType = "ext4";
};
# // (builtins.listToAttrs (map storageMounts storageDrives));
swapDevices = [
{ device = "/dev/disk/by-uuid/259fcc06-912c-4bd3-b781-8f77449e935a"; }
];
"/boot" = {
device = "/dev/disk/by-uuid/34BA-5602";
fsType = "vfat";
};
"/mnt/storage" = {
device = "dev/disk/by-label/storage";
fsType = "xfs";
};
};
systemd.tmpfiles.rules = [
"Z ${config.home-manager.users.${user0}.home.homeDirectory} 0755 ${user0} users -"
# "Z ${ceres.storage0.mount} 2775 root root -"
"Z /mnt/storage 2775 root root -"
];
services.udisks2.enable = true;