Add missing file system info.

This commit is contained in:
jay
2025-06-29 02:36:09 +00:00
parent 76341b5369
commit 8d0dfec9ea
4 changed files with 67 additions and 61 deletions

View File

@@ -2,13 +2,13 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, inputs, ... }:
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./disko.nix
./filesystems.nix
];
# Use the systemd-boot EFI boot loader.

View File

@@ -0,0 +1,41 @@
{ ... }: {
fileSystems."/" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1";
fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" "noatime" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ];
};
fileSystems."/var/log" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1";
fsType = "btrfs";
options = [ "subvol=log" "compress=zstd" "noatime" ];
neededForBoot = true;
};
fileSystems."/nix/persist" =
{ device = "/dev/disk/by-uuid/830e6948-9661-47b2-968d-e939b4bb83b1";
fsType = "btrfs";
options = [ "subvol=persist" "compress=zstd" "noatime" ];
neededForBoot = true;
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/60CE-EFBA";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [{
device = "/swapfile";
size = 16 * 1024;
}];
}