Updates for bcachefs

This commit is contained in:
jopejoe1 2023-12-01 20:09:56 +01:00
parent 201ba0acae
commit a35bbf44ad
5 changed files with 209 additions and 53 deletions

View file

@ -22,7 +22,7 @@
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
#boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelPackages = pkgs.linuxPackages_testing;
networking.networkmanager.enable = true;
time.timeZone = "Europe/Berlin";
@ -92,7 +92,7 @@
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
#sysdig.enable = true;
xwayland.enable = true;
kdeconnect.enable = true;
gamemode.enable = true;

View file

@ -31,16 +31,16 @@
# fsType = "btrfs";
# options = [ "subvol=@" "compress=zstd:8" ];
#};
"/" = {
device = "none";
fsType = "tmpfs";
options = [ "size=4G" "mode=755" ]; # mode=755 so only root can write to those files
};
"/nix" = {
device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
# "/" = {
# device = "none";
# fsType = "tmpfs";
# options = [ "size=4G" "mode=755" ]; # mode=755 so only root can write to those files
# };
"/" = {
device = "/dev/nvme0n1p2";
fsType = "bcachefs";
};
"/boot" = {
"/boot/efi" = {
device = "/dev/disk/by-uuid/1F26-8168";
fsType = "vfat";
};
@ -53,10 +53,10 @@
fsType = "ntfs";
options = [ "rw" "uid=1000"];
};
"/media/zfs" = {
device = "jopejoe1";
fsType = "zfs";
};
#"/media/zfs" = {
# device = "jopejoe1";
# fsType = "zfs";
# };
};
swapDevices = [ ];