global reformat with treefmt

This commit is contained in:
nyanloutre 2025-04-23 11:15:31 +02:00
parent 97f849e454
commit 393e92fe14
17 changed files with 979 additions and 726 deletions

View file

@ -1,12 +1,28 @@
# 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, ... }:
{
config,
lib,
pkgs,
...
}:
{
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ];
boot.kernelModules = [
"kvm-amd"
"coretemp"
"it87"
];
boot.extraModulePackages = [ ];
services.xserver.videoDrivers = [ "nvidia" ];
@ -17,41 +33,44 @@
package = config.boot.kernelPackages.nvidiaPackages.latest;
};
fileSystems."/" =
{ device = "rpool/root/nixos";
fsType = "zfs";
};
fileSystems."/" = {
device = "rpool/root/nixos";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F4EC-57DF";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/F4EC-57DF";
fsType = "vfat";
};
fileSystems."/home" =
{ device = "fastaf/home";
fsType = "zfs";
};
fileSystems."/home" = {
device = "fastaf/home";
fsType = "zfs";
};
fileSystems."/mnt/steam" =
{ device = "fastaf/steam";
fsType = "zfs";
};
fileSystems."/mnt/steam" = {
device = "fastaf/steam";
fsType = "zfs";
};
fileSystems."/mnt/games" =
{ device = "fastaf/games";
fsType = "zfs";
};
fileSystems."/mnt/games" = {
device = "fastaf/games";
fsType = "zfs";
};
# fileSystems."/mnt/hdd" =
# { device = "/dev/mapper/ManjaroVG-ManjaroRoot";
# fsType = "ext4";
# };
fileSystems."/mnt/medias" =
{ device = "10.30.0.1:/mnt/medias";
fsType = "nfs";
options = ["x-systemd.automount" "noauto"];
};
fileSystems."/mnt/medias" = {
device = "10.30.0.1:/mnt/medias";
fsType = "nfs";
options = [
"x-systemd.automount"
"noauto"
];
};
swapDevices = [ ];