summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host/obelix.nix10
-rw-r--r--host/software/desktop/default.nix8
2 files changed, 6 insertions, 12 deletions
diff --git a/host/obelix.nix b/host/obelix.nix
index 8c06132..477819c 100644
--- a/host/obelix.nix
+++ b/host/obelix.nix
@@ -24,16 +24,6 @@
} ];
};
- systemd.services.spin-down-storage = {
- enable = true;
- description = "Spin down storage drive";
- serviceConfig = {
- Type = "oneshot";
- ExecStart = "${pkgs.hdparm}/bin/hdparm -q -S 120 -y /dev/disk/by-label/storage";
- };
- wantedBy = [ "multi-user.target" ];
- };
-
networking = {
hostName = "obelix";
firewall.enable = false;
diff --git a/host/software/desktop/default.nix b/host/software/desktop/default.nix
index 501a561..c56cec9 100644
--- a/host/software/desktop/default.nix
+++ b/host/software/desktop/default.nix
@@ -8,8 +8,12 @@
fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
sound.enable = true;
+
hardware = {
- opengl.driSupport32Bit = true;
+ opengl= {
+ driSupport32Bit = true;
+ };
+
pulseaudio = {
enable = true;
support32Bit = true;
@@ -37,6 +41,6 @@
};
environment.systemPackages = with pkgs; [
- hdparm ntfs3g
+ ntfs3g
];
}