flake update

This commit is contained in:
2025-09-17 12:33:30 +03:00
parent 7cac33a84e
commit b7ce4a8342
2 changed files with 39 additions and 51 deletions
+12 -24
View File
@@ -1,6 +1,3 @@
# 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,
@@ -11,15 +8,6 @@
}:
{
# nixpkgs.config.permittedInsecurePackages = [
# "libsoup-2.74.3" # temp
# ];
# nix.settings.extra-sandbox-paths = [
# "/dev/kfd"
# "/sys/devices/virtual/kfd"
# "/dev/dri/renderD128"
# ];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
@@ -41,18 +29,18 @@
extraModulePackages = [ ];
};
# hardware = {
# # amdgpu = {
# # opencl.enable = true;
# # amdvlk = {
# # enable = true;
# # };
# # };
# # graphics.extraPackages = with pkgs; [
# # mesa
# # amf
# # ];
# };
hardware = {
amdgpu = {
opencl.enable = true;
amdvlk = {
enable = true;
};
};
graphics.extraPackages = with pkgs; [
mesa
amf
];
};
# systemd.tmpfiles.rules = [
# "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
# ];