assertions

This commit is contained in:
mjallen18
2026-03-19 16:17:20 -05:00
parent dd04320fe7
commit d229cdbf6a
43 changed files with 1190 additions and 997 deletions

View File

@@ -35,7 +35,10 @@
fileSystems."/home" = {
device = "/dev/mapper/cryptroot";
fsType = "btrfs";
options = [ "subvol=home" "compress=zstd" ];
options = [
"subvol=home"
"compress=zstd"
];
};
boot.initrd.luks.devices."cryptroot".device =
@@ -44,31 +47,46 @@
fileSystems."/persist" = {
device = "/dev/mapper/cryptroot";
fsType = "btrfs";
options = [ "subvol=persist" "compress=zstd" ];
options = [
"subvol=persist"
"compress=zstd"
];
};
fileSystems."/etc" = {
device = "/dev/mapper/cryptroot";
fsType = "btrfs";
options = [ "subvol=etc" "compress=zstd" ];
options = [
"subvol=etc"
"compress=zstd"
];
};
fileSystems."/root" = {
device = "/dev/mapper/cryptroot";
fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" ];
options = [
"subvol=root"
"compress=zstd"
];
};
fileSystems."/nix" = {
device = "/dev/mapper/cryptroot";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" ];
options = [
"subvol=nix"
"compress=zstd"
];
};
fileSystems."/var/log" = {
device = "/dev/mapper/cryptroot";
fsType = "btrfs";
options = [ "subvol=log" "compress=zstd" ];
options = [
"subvol=log"
"compress=zstd"
];
};
swapDevices = [ ];

View File

@@ -1,7 +1,6 @@
{
config,
pkgs,
namespace,
...
}:
let
@@ -11,7 +10,7 @@ in
# Configure bootloader with lanzaboot and secureboot
hardware.wirelessRegulatoryDatabase = true;
boot = {
kernelModules = [
"nct6775"
"kvm-amd"

View File

@@ -117,7 +117,6 @@ in
};
};
fileSystems = {
"/etc".neededForBoot = true;
};

View File

@@ -1,7 +1,5 @@
{
inputs,
pkgs,
namespace,
...
}:
let

View File

@@ -1,7 +1,6 @@
{
config,
pkgs,
namespace,
...
}:
let