Change filesystem to bcachefs
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
alejandro-angulo 2025-12-20 17:51:05 -08:00
parent 70e15a5b16
commit 8922b7682f
3 changed files with 6 additions and 43 deletions

View file

@ -6,7 +6,6 @@
{
imports = [
./hardware-configuration.nix
./zfs.nix
];
age.secrets.cf_dns_kilonull.file = ../../../secrets/cf_dns_kilonull.age;
@ -119,6 +118,9 @@
programs.virt-manager.enable = true;
boot.loader.systemd-boot.enable = true;
boot.supportedFilesystems = [ "bcachefs" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"armv6l-linux"

View file

@ -24,44 +24,13 @@
boot.kernelModules = [ "kvm-intel" ];
fileSystems."/" = {
device = "rpool/nixos/root";
fsType = "zfs";
options = [
"zfsutil"
"X-mount.mkdir"
];
};
fileSystems."/home" = {
device = "rpool/nixos/home";
fsType = "zfs";
options = [
"zfsutil"
"X-mount.mkdir"
];
};
fileSystems."/var/lib" = {
device = "rpool/nixos/var/lib";
fsType = "zfs";
options = [
"zfsutil"
"X-mount.mkdir"
];
};
fileSystems."/var/log" = {
device = "rpool/nixos/var/log";
fsType = "zfs";
options = [
"zfsutil"
"X-mount.mkdir"
];
device = "nixos";
fsType = "bcachefs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/3C7C-03C4";
fsType = "vfat";
fsType = "fat32";
};
swapDevices = [ ];

View file

@ -1,8 +0,0 @@
{ ... }:
{
boot.supportedFilesystems = [ "zfs" ];
networking.hostId = "f8616592";
boot.loader.efi.canTouchEfiVariables = false;
boot.loader.systemd-boot.enable = true;
users.users.root.initialHashedPassword = "$6$3Ps2Vmff.gUBkiCv$FCeCQjDvNTdWynQU81qtCXFHQht86w4unWNalUgkcyq7lkkI2klzRyTK3dZiQUjIrn8qPKtwJcY9SNdyE8v1L/";
}