mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
31 lines
601 B
Nix
Executable file
31 lines
601 B
Nix
Executable file
{
|
|
flake,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
inherit (flake.config.people) user0;
|
|
in
|
|
{
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/4b740a8e-8123-4d29-8ec2-132aebb0583d";
|
|
fsType = "ext4";
|
|
};
|
|
"/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 /mnt/storage 2775 root root -"
|
|
];
|
|
|
|
services.udisks2.enable = true;
|
|
}
|