1
This commit is contained in:
2023-09-01 11:40:07 +02:00
parent c364647a7e
commit 5947626dde
15 changed files with 108 additions and 66 deletions

View File

@ -1,53 +1,55 @@
# 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 + "/profiles/qemu-guest.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/2d1b1f62-f008-4562-906e-5a63d854b18b";
fsType = "ext4";
};
"/media/Movie" = {
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Movie";
fsType = "nfs";
};
"/media/Show" = {
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Show";
fsType = "nfs";
};
"/media/Music" = {
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Music";
fsType = "nfs";
};
"/media/Video" = {
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Video";
fsType = "nfs";
};
"/media/Picture" = {
device = "192.168.86.100:/mnt/WD Blue Stripe 2T/Picture";
fsType = "nfs";
};
};
swapDevices = [ ];
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's