Summary Files Commits Branches @commit @diff @stats
path: root / machines / vesta / configuration.nix
diff options
context:
space:
mode:
Commit2fe3132bb2bf8e14d0fae9e1d78ff374ae01646b (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-07-07 11:07:47 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-07-07 11:07:47 +0300
Files7a28fdffde253f112159b89e922e7a07a4035bc0 /machines/vesta/configuration.nix
nix-2fe3132bb2bf8e14d0fae9e1d78ff374ae01646b.tar
nix-2fe3132bb2bf8e14d0fae9e1d78ff374ae01646b.tar.gz
nix-2fe3132bb2bf8e14d0fae9e1d78ff374ae01646b.zip
Parent78eaa0ccb01720bb91ffe6af1a0db93ab9408317 (diff)
[machines] Updated sysidentity and moved stuff from configuration to hardware-configuration
1 files changed, 0 insertions, 54 deletions
-rw-r--r--machines/vesta/configuration.nix54
diff --git a/machines/vesta/configuration.nix b/machines/vesta/configuration.nix
index d32c502..e7b3b61 100644
--- a/machines/vesta/configuration.nix
+++ b/machines/vesta/configuration.nix
@@ -1,16 +1,4 @@
{ pkgs, ... }: {
- fileSystems."/mnt/Svalbard" =
- { device = "/dev/disk/by-uuid/5bd27e26-5b83-4485-ab3f-bcfbbd2b40d5";
- fsType = "ext4";
- options = [ "defaults" "x-gvfs-show" ];
- };
-
- fileSystems."/mnt/Norilsk" =
- { device = "/dev/disk/by-uuid/689f863a-5026-42ff-aecc-3195e8d8c684";
- fsType = "ext4";
- options = [ "defaults" "x-gvfs-show" ];
- };
-
environment.systemPackages = with pkgs; [
alsa-plugins radeontop glxinfo vulkan-tools clinfo gpu-viewer lutris wine gns3-server gns3-gui docker tigervnc ubridge vpcs
];
@@ -33,46 +21,4 @@
environment.sessionVariables = {
ALSA_PLUGIN_DIR = pkgs.alsa-plugins.outPath + "/lib/alsa-lib";
};
-
- # GPU
- # There is a potential bug with amdgpu driver (https://bugzilla.mozilla.org/show_bug.cgi?id=1437520#c4)
- # Remember to disable VAAPI for this machine in Firefox: media.ffmpeg.vaapi.enabled = false (https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration)
-
- boot.initrd.kernelModules = [ "amdgpu" ];
- services.xserver.videoDrivers = [ "amdgpu" ];
-
- boot.kernelParams = [
- "radeon.si_support=0" "amdgpu.si_support=1" # for Southern Islands (SI ie. GCN 1) cards
- "libata.force=2.00:nodmalog" # Eliminate "qc timeout" 15 second boot delay for /home SSD
- ];
- # systemd.tmpfiles.rules = [
- # "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
- # ];
- hardware.opengl = {
- # Mesa
- enable = true;
-
- extraPackages = with pkgs; [
- # OpenCL
- # rocmPackages.clr
- # VA-API
- libva
- # AMDVLK
- # amdvlk
- ];
- # extraPackages32 = with pkgs; [
- # driversi686Linux.amdvlk
- # ];
-
- # Vulkan
- driSupport = true;
- # For 32 bit applications
- driSupport32Bit = true;
- };
- # system.replaceRuntimeDependencies = [
- # ({ original = pkgs.mesa; replacement = (import /srv/nixpkgs-mesa { }).pkgs.mesa; })
- # ({ original = pkgs.mesa.drivers; replacement = (import /srv/nixpkgs-mesa { }).pkgs.mesa.drivers; })
- # ];
-
- swapDevices = [ { device = "/home/swapfile"; size = 24 * 1024; } ];
}