Reformat Nix files

This commit is contained in:
Paul-Henri Froidmont 2021-07-16 19:13:51 +02:00
parent f39ddc8078
commit fdc4148540
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
9 changed files with 87 additions and 82 deletions

View file

@ -4,7 +4,9 @@
home-manager.users.froidmpa = { pkgs, config, ... }: { home-manager.users.froidmpa = { pkgs, config, ... }: {
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
packageOverrides = super: let self = super.pkgs; in { packageOverrides = super:
let self = super.pkgs; in
{
lutris-unwrapped = super.lutris-unwrapped.overridePythonAttrs (oldAttrs: rec { lutris-unwrapped = super.lutris-unwrapped.overridePythonAttrs (oldAttrs: rec {
patches = [ patches = [
./lutris_sort_new_with_model_fix.patch ./lutris_sort_new_with_model_fix.patch

View file

@ -5,7 +5,8 @@
{ {
imports = imports =
[ (modulesPath + "/installer/scan/not-detected.nix") [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ];
@ -14,19 +15,20 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/a8abad9b-5615-4887-8431-3d80b78d073e"; {
device = "/dev/disk/by-uuid/a8abad9b-5615-4887-8431-3d80b78d073e";
fsType = "ext4"; fsType = "ext4";
}; };
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/1e900b2e-daea-4558-b18f-3d3a5843de61"; boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/1e900b2e-daea-4558-b18f-3d3a5843de61";
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/077C-758A"; {
device = "/dev/disk/by-uuid/077C-758A";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/bb8fa9ef-9b8f-413d-913a-6c891649a954"; } [{ device = "/dev/disk/by-uuid/bb8fa9ef-9b8f-413d-913a-6c891649a954"; }];
];
} }

View file

@ -7,18 +7,19 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/f1e21558-88e6-413e-b56a-04e0b25e9ddd"; {
device = "/dev/disk/by-uuid/f1e21558-88e6-413e-b56a-04e0b25e9ddd";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/CCD1-0415"; {
device = "/dev/disk/by-uuid/CCD1-0415";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; } [{ device = "/dev/disk/by-uuid/f714775c-b5af-4c0c-8330-999b43db4794"; }];
];
nix.maxJobs = lib.mkDefault 16; nix.maxJobs = lib.mkDefault 16;
# High-DPI console # High-DPI console