Hyprland configs, adding mount points for other hard drives, adjusting btrfs subvolume use.

This commit is contained in:
2025-10-13 15:50:19 -05:00
parent 151ec8427e
commit 344ba2af68
7 changed files with 203 additions and 16 deletions

View File

@@ -27,23 +27,73 @@
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "subvol=@" ];
boot.initrd.luks.devices = {
"luks-8573b24b-461f-40bf-b16b-9de1207c0696".device = "/dev/disk/by-uuid/8573b24b-461f-40bf-b16b-9de1207c0696";
"luks-140a35ca-67f9-41df-8414-51dcccc1a620".device = "/dev/disk/by-uuid/140a35ca-67f9-41df-8414-51dcccc1a620";
"luks-c6c23b31-a8d7-4b96-8caa-b2bdbcd49e72".device = "/dev/disk/by-uuid/c6c23b31-a8d7-4b96-8caa-b2bdbcd49e72";
};
boot.initrd.luks.devices."luks-8573b24b-461f-40bf-b16b-9de1207c0696".device = "/dev/disk/by-uuid/8573b24b-461f-40bf-b16b-9de1207c0696";
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "subvol=@" "compress=zstd" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/383D-97DA";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
"/media/2tb" = {
device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
"/home" = {
device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "subvol=@home" "compress=zstd" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "subvol=@nix" "compress=zstd" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/383D-97DA";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
"/media/8tb" = {
device = "/dev/disk/by-uuid/a484bd77-f454-44f9-b356-e5d9781583bc";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
"/media/12tb" = {
device = "/dev/disk/by-uuid/c28abd09-22a1-46d7-8a61-4212143baafc";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
"/media/Passport" = {
device = "/dev/disk/by-uuid/52A828CE3ED0D2C1";
fsType = "ntfs";
options = [ "nofail" "x-systemd.automount" ];
};
"/media/Elements" = {
device = "/dev/disk/by-uuid/f23ab941-238c-4422-9c1a-7359e84dd071";
fsType = "btrfs";
options = [ "compress=zstd" "nofail" "x-systemd.automount" ];
};
};
swapDevices = [ ];
services.btrfs.autoScrub.enable = true;
swapDevices = [
{ device = "/media/8tb/swapfile"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's