Nix format and added games lutris mount.

This commit is contained in:
kat witch 2020-12-06 00:55:09 +00:00 committed by kat
parent c64154a210
commit 9a8c28d2b7

View file

@ -4,58 +4,61 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
imports = imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "rpool/safe/root"; device = "rpool/safe/root";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/home" = fileSystems."/home" = {
{ device = "rpool/safe/home"; device = "rpool/safe/home";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/nix" = fileSystems."/nix" = {
{ device = "rpool/local/nix"; device = "rpool/local/nix";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/AED6-D0D1"; device = "/dev/disk/by-uuid/AED6-D0D1";
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/disks/pool-compress" = fileSystems."/disks/pool-compress" = {
{ device = "zstore/compress"; device = "zstore/compress";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/disks/pool-protect" = fileSystems."/disks/pool-protect" = {
{ device = "zstore/protect"; device = "zstore/protect";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/disks/pool-raw" = fileSystems."/disks/pool-raw" = {
{ device = "zstore/raw"; device = "zstore/raw";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/disks/excess" = fileSystems."/disks/excess" = {
{ device = "/dev/disk/by-uuid/0af88a48-ccfd-4e54-9652-a5ae7f74e21d"; device = "/dev/disk/by-uuid/0af88a48-ccfd-4e54-9652-a5ae7f74e21d";
fsType = "xfs"; fsType = "xfs";
}; };
swapDevices = fileSystems."/home/kat/Games" = {
[ { device = "/dev/disk/by-uuid/8f944315-fe1c-4095-90ce-50af03dd5e3f"; } device = "zgame/lutris";
{ device = "/dev/disk/by-uuid/89831a0f-93e6-4d30-85e4-09061259f140"; } fsType = "zfs";
]; };
swapDevices = [
{ device = "/dev/disk/by-uuid/8f944315-fe1c-4095-90ce-50af03dd5e3f"; }
{ device = "/dev/disk/by-uuid/89831a0f-93e6-4d30-85e4-09061259f140"; }
];
} }