aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/hardware-configuration.nix45
1 files changed, 26 insertions, 19 deletions
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index 3c508e5..59a787f 100644
--- a/hosts/arrakis/hardware-configuration.nix
+++ b/hosts/arrakis/hardware-configuration.nix
@@ -5,7 +5,7 @@
{
imports =
- [ #(modulesPath + "/installer/scan/not-detected.nix")
+ [ (modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
@@ -16,9 +16,31 @@
zfs.extraPools = [ "data" ];
};
- environment.sessionVariables = {
- LIBVA_DRIVER_NAME = "nvidia";
- MOZ_DISABLE_RDD_SANDBOX = "1";
+ fileSystems."/srv/caladan/audio" = {
+ device = "/data/home/nipsy/audio";
+ fsType = "none";
+ options = [
+ "bind"
+ "noauto"
+ ];
+ };
+
+ fileSystems."/srv/caladan/downloads" = {
+ device = "/data/home/nipsy/downloads";
+ fsType = "none";
+ options = [
+ "bind"
+ "noauto"
+ ];
+ };
+
+ fileSystems."/srv/caladan/www" = {
+ device = "/data/home/nipsy/www";
+ fsType = "none";
+ options = [
+ "bind"
+ "noauto"
+ ];
};
fileSystems."/srv/nfs/keepers" = {
@@ -47,19 +69,4 @@
"noauto"
];
};
-
- hardware = {
- bluetooth.enable = true;
- graphics = {
- enable = true;
- extraPackages = with pkgs; [ nvidia-vaapi-driver ];
- extraPackages32 = with pkgs.pkgsi686Linux; [ nvidia-vaapi-driver ];
- };
- nvidia = {
- modesetting.enable = true;
- open = true;
- package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc config.boot.kernelPackages.nvidiaPackages.beta);
- #package = config.boot.kernelPackages.nvidiaPackages.beta;
- };
- };
}