67 lines
1.6 KiB
Nix
67 lines
1.6 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" "xhci_pci" "ahci" "usbhid" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/mapper/crypted";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@root" ];
|
||
};
|
||
|
||
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/7f7cc335-c2ce-4595-a021-f7a4644e780b";
|
||
|
||
fileSystems."/nix" =
|
||
{ device = "/dev/mapper/crypted";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@nix" ];
|
||
};
|
||
|
||
fileSystems."/media/holocron/archives" =
|
||
{ device = "systemd-1";
|
||
fsType = "autofs";
|
||
};
|
||
|
||
fileSystems."/media/holocron/blake" =
|
||
{ device = "systemd-1";
|
||
fsType = "autofs";
|
||
};
|
||
|
||
fileSystems."/media/holocron/media" =
|
||
{ device = "systemd-1";
|
||
fsType = "autofs";
|
||
};
|
||
|
||
fileSystems."/.swapvol" =
|
||
{ device = "/dev/mapper/crypted";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@swap" ];
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{ device = "/dev/mapper/crypted";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@home" ];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/96E6-04E2";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0077" "dmask=0077" ];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
}
|