This commit is contained in:
Lilith 2026-01-29 02:15:30 +01:00
parent 8797449080
commit 1f4ce3887e
No known key found for this signature in database
GPG key ID: 272C807BD91F8446
2 changed files with 66 additions and 42 deletions

View file

@ -1,19 +1,30 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
[ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "tmpfs"; device = "tmpfs";
fsType = "tmpfs"; fsType = "tmpfs";
options = [ options = [
"defaults" "defaults"
@ -28,31 +39,45 @@
options = [ "umask=0077" ]; options = [ "umask=0077" ];
}; };
fileSystems."/persist/data" = fileSystems."/persist/data" = {
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13"; device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs"; fsType = "btrfs";
neededForBoot = true; neededForBoot = true;
options = [ "subvol=@data" "noatime" "compress=zstd" ]; options = [
"subvol=@data"
"noatime"
"compress=zstd"
];
}; };
fileSystems."/persist/cache" = fileSystems."/persist/cache" = {
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13"; device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs"; fsType = "btrfs";
neededForBoot = true; neededForBoot = true;
options = [ "subvol=@cache" "noatime" "compress=zstd" ]; options = [
"subvol=@cache"
"noatime"
"compress=zstd"
];
}; };
fileSystems."/nix" = fileSystems."/nix" = {
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13"; device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs"; fsType = "btrfs";
neededForBoot = true; options = [
options = [ "subvol=@nix" "noatime" "compress=zstd" ]; "subvol=@nix"
"noatime"
"compress=zstd"
];
}; };
fileSystems."/swap" = fileSystems."/swap" = {
{ device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13"; device = "/dev/disk/by-uuid/41e9461b-557d-4f2f-a255-534205e58d13";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@swap" "noatime" ]; options = [
"subvol=@swap"
"noatime"
];
}; };
swapDevices = [ swapDevices = [

View file

@ -59,7 +59,6 @@
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-uuid/5dbe939d-54a5-4092-b9c6-83f6bd4cf925"; device = "/dev/disk/by-uuid/5dbe939d-54a5-4092-b9c6-83f6bd4cf925";
fsType = "btrfs"; fsType = "btrfs";
neededForBoot = true;
options = [ options = [
"noatime" "noatime"
"compress=zstd" "compress=zstd"