Dateien nach "/" hochladen

This commit is contained in:
2026-06-17 14:40:26 +00:00
parent 81a564fe23
commit b1196529b2
5 changed files with 454 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
# 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" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/mapper/luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
fsType = "btrfs";
};
boot.initrd.luks.devices."luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8".device = "/dev/disk/by-uuid/de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
fileSystems."/home" =
{ device = "/dev/mapper/luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/nix" =
{ device = "/dev/mapper/luks-de9471a0-8a6b-49e7-a2a4-fbaf07e73cd8";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2542-95A7";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/mapper/luks-9229fc83-6d6a-4948-a735-42579ddafccf"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}