treewide: initial commit

This commit is contained in:
2026-04-18 16:28:25 -04:00
commit 75532a931c
18 changed files with 1237 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
{
imports = [
./hardware.nix
./storage.nix
];
time.timeZone = "Canada/Eastern";
}
+7
View File
@@ -0,0 +1,7 @@
{
boot.initrd.availableKernelModules = [
"ata_piix"
"sr_mod"
"xen_blkfront"
];
}
+37
View File
@@ -0,0 +1,37 @@
{
fileSystems =
let
defaultOptions = [ "compress=zstd" ];
in
{
"/boot" = {
device = "/dev/xvda1";
fsType = "vfat";
options = [ "umask=0077" ];
};
"/" = {
device = "/dev/xvda2";
fsType = "btrfs";
options = [ "subvol=@" ] ++ defaultOptions;
};
"/nix" = {
device = "/dev/xvda2";
fsType = "btrfs";
options = [ "subvol=@nix" ] ++ defaultOptions;
};
"/home" = {
device = "/dev/xvda2";
fsType = "btrfs";
options = [ "subvol=@home" ] ++ defaultOptions;
};
"/persist" = {
device = "/dev/xvda2";
fsType = "btrfs";
options = [ "subvol=@persist" ] ++ defaultOptions;
};
};
}