75 lines
2.3 KiB
Nix
75 lines
2.3 KiB
Nix
# 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 = [ "nvme" ];
|
||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/05da5ea5-180f-41a3-a81c-5e3325a4c866";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
#fileSystems."/srv/dev-disk-by-uuid-0fc5586c-ed51-4b02-9a87-4a733ea353a7" =
|
||
# { device = "/dev/mapper/base--storage-Docker";
|
||
# fsType = "ext4";
|
||
# };
|
||
|
||
#fileSystems."/srv/dev-disk-by-uuid-18333f38-626c-4c22-af29-314a87282809" =
|
||
# { device = "/dev/mapper/base--storage-ShatteredMINT";
|
||
# fsType = "ext4";
|
||
# };
|
||
|
||
#fileSystems."/srv/dev-disk-by-uuid-98570615-8eda-4a45-8a20-3c58b50e3d79" =
|
||
# { device = "/dev/mapper/base--storage-NAS";
|
||
# fsType = "ext4";
|
||
# };
|
||
|
||
#fileSystems."/export/ShatteredMINT" =
|
||
# { device = "/srv/dev-disk-by-uuid-18333f38-626c-4c22-af29-314a87282809";
|
||
# fsType = "none";
|
||
# options = [ "bind" ];
|
||
# };
|
||
|
||
#fileSystems."/export/default-nas" =
|
||
# { device = "/srv/dev-disk-by-uuid-98570615-8eda-4a45-8a20-3c58b50e3d79/default-nas";
|
||
# fsType = "none";
|
||
# options = [ "bind" ];
|
||
# };
|
||
|
||
#fileSystems."/var/lib/docker/overlay2/52c3dbf89d5578b1cde892c0ccdad10293c8275870a047aff42b9ba2eb786d02/merged" =
|
||
# { device = "overlay";
|
||
# fsType = "overlay";
|
||
# };
|
||
|
||
#fileSystems."/var/lib/docker/overlay2/f7163e8dd1916ab72fb37368f3799d89f07a203cd316448a7f107d8b2249bb7a/merged" =
|
||
# { device = "overlay";
|
||
# fsType = "overlay";
|
||
# };
|
||
|
||
#fileSystems."/var/lib/docker/overlay2/9ff1324d7039ab0ea28895230b35432382bbf23d32c24e992525711b6f7c0bd8/merged" =
|
||
# { device = "overlay";
|
||
# fsType = "overlay";
|
||
# };
|
||
|
||
swapDevices = [ ];
|
||
|
||
networking.hostName = "nix-nas"; # Define your hostname.
|
||
networking.hostId = "00000003";
|
||
# Pick only one of the below networking options.
|
||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||
|
||
networking.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
}
|