Skip to content

Commit

Permalink
Refactor file system configuration in default.nix for improved readab…
Browse files Browse the repository at this point in the history
…ility
  • Loading branch information
yousiki committed Jan 13, 2025
1 parent c7313c8 commit 2447fae
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions systems/x86_64-linux/hakase/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,24 @@
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];

fileSystems."/" = {
device = "/dev/disk/by-uuid/d7bb32dc-4599-499c-913e-73660f0cf3c6";
fsType = "bcachefs";
options = ["noatime"];
};

fileSystems."/boot" = {
device = "/dev/disk/by-uuid/5764-78C1";
fsType = "vfat";
};

fileSystems."/var/lib/ollama/models" = {
depends = [
"/mnt/data"
];
device = "/mnt/data/ollama/models";
fsType = "none";
options = ["bind"];
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/d7bb32dc-4599-499c-913e-73660f0cf3c6";
fsType = "bcachefs";
options = ["noatime"];
};
"/boot" = {
device = "/dev/disk/by-uuid/5764-78C1";
fsType = "vfat";
};
"/var/lib/ollama/models" = {
depends = [
"/mnt/data"
];
device = "/mnt/data/ollama/models";
fsType = "none";
options = ["bind"];
};
};

swapDevices = [
Expand Down

0 comments on commit 2447fae

Please sign in to comment.