added nixfmt-tree as formatter

also ran it, which is why so many files were modified
This commit is contained in:
Gabriella Bere 2025-06-03 16:10:04 +01:00
parent e8487933ec
commit f482d6f06b
14 changed files with 125 additions and 108 deletions

View file

@ -3,7 +3,8 @@
pkgs,
config,
...
}: {
}:
{
imports = [
./hardware-configuration.nix
];
@ -26,9 +27,9 @@
];
};
boot.initrd.kernelModules = ["amdgpu"];
boot.extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
boot.kernelModules = ["v4l2loopback"];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
boot.kernelModules = [ "v4l2loopback" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "gabbielaptop"; # Define your hostname.
@ -36,7 +37,7 @@
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = [pkgs.stable.rocmPackages.clr.icd]; # Needed for davinci-resolve to utilize the gpu, otherwise it refuses to launch
extraPackages = [ pkgs.stable.rocmPackages.clr.icd ]; # Needed for davinci-resolve to utilize the gpu, otherwise it refuses to launch
};
# Enable networking
networking.networkmanager.enable = true;
@ -72,7 +73,10 @@
};
programs.regreet = {
enable = true;
cageArgs = ["-m" "last"];
cageArgs = [
"-m"
"last"
];
};
# Enable the Hyprland WM functionality for NixOS (xdg portals etc.)