fixed disk path

This commit is contained in:
Harry 2024-08-10 15:17:03 +02:00
parent 1f6b91bb59
commit 24640f5a74

View file

@ -1,27 +1,40 @@
# 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, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"virtio_scsi"
"sd_mod"
"sr_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/1095480f-fcbc-4b0f-be6d-61380032cfed";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/1095480f-fcbc-4b0f-be6d-61380032cfed";
fsType = "ext4";
};
fileSystems."/srv/media" =
{ device = "/dev/sdb1";
fsType = "ext4";
};
fileSystems."/srv/media" = {
device = "/dev/sda1";
fsType = "ext4";
};
swapDevices = [ ];