From 22a7af1641fddf82f2531953d43586771aa58272 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 16 Oct 2018 11:57:03 +0200 Subject: Remove obelix's spin-down-storage service --- host/obelix.nix | 10 ---------- host/software/desktop/default.nix | 8 ++++++-- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'host') 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 ]; } -- cgit v1.2.3