initial dendritic migration

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-18 19:21:16 +02:00
parent 86fe70288b
commit 168633cf07
Signed by: semere
GPG key ID: 7FC937214DF30488
12 changed files with 254 additions and 147 deletions

View file

@ -1,61 +0,0 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.resumeDevice = "/dev/disk/by-uuid/df77a3e1-be33-45ba-a182-4b6da2caf162";
boot.kernelParams = [
"resume_offset=2017177"
];
fileSystems."/" =
{ device = "/dev/mapper/cryproot";
fsType = "btrfs";
options = [ "subvol=root" ];
};
boot.initrd.luks.devices."cryproot".device = "/dev/disk/by-uuid/e667143a-7965-4f53-bf2b-e91a3c9c4c13";
fileSystems."/home" =
{ device = "/dev/mapper/cryproot";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/nix" =
{ device = "/dev/mapper/cryproot";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/swap" =
{ device = "/dev/mapper/cryproot";
fsType = "btrfs";
options = [ "subvol=swap" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AB4A-C5EA";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [
{
device = "/swap/swapfile";
}
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}