summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-16 11:57:03 +0200
committerAdrian Kummerlaender2018-10-16 11:59:30 +0200
commit22a7af1641fddf82f2531953d43586771aa58272 (patch)
treed369023ed8d00f0847f70064ac691dfc6fea1b47
parent57a5c9f16cc66635ca699b9e9f4dfeba3d3bcf2e (diff)
downloadnixos_system-22a7af1641fddf82f2531953d43586771aa58272.tar
nixos_system-22a7af1641fddf82f2531953d43586771aa58272.tar.gz
nixos_system-22a7af1641fddf82f2531953d43586771aa58272.tar.bz2
nixos_system-22a7af1641fddf82f2531953d43586771aa58272.tar.lz
nixos_system-22a7af1641fddf82f2531953d43586771aa58272.tar.xz
nixos_system-22a7af1641fddf82f2531953d43586771aa58272.tar.zst
nixos_system-22a7af1641fddf82f2531953d43586771aa58272.zip
Remove obelix's spin-down-storage service
-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
];
}