mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
flake update
This commit is contained in:
@@ -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}"
|
||||
# ];
|
||||
|
||||
Reference in New Issue
Block a user