aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/caladan/hardware-configuration.nix37
1 files changed, 24 insertions, 13 deletions
diff --git a/hosts/caladan/hardware-configuration.nix b/hosts/caladan/hardware-configuration.nix
index 4e19405..92df348 100644
--- a/hosts/caladan/hardware-configuration.nix
+++ b/hosts/caladan/hardware-configuration.nix
@@ -21,22 +21,33 @@
MOZ_DISABLE_RDD_SANDBOX = "1";
};
- fileSystems."/mnt/downloads" = {
- device = "192.168.1.2:/srv/caladan/downloads";
- fsType = "nfs";
- options = [
- "nfsvers=4.2"
- ];
- };
+ fileSystems = {
+ "/media" = {
+ device = "/dev/sda1";
+ fsType = "auto";
+ options = [
+ "user,noauto"
+ ];
+ };
- fileSystems."/mnt/www" = {
- device = "192.168.1.2:/srv/caladan/www";
- fsType = "nfs";
- options = [
- "nfsvers=4.2"
- ];
+ "/mnt/downloads" = {
+ device = "192.168.1.2:/srv/caladan/downloads";
+ fsType = "nfs";
+ options = [
+ "nfsvers=4.2"
+ ];
+ };
+
+ "/mnt/www" = {
+ device = "192.168.1.2:/srv/caladan/www";
+ fsType = "nfs";
+ options = [
+ "nfsvers=4.2"
+ ];
+ };
};
+
hardware = {
amdgpu.overdrive.enable = true;