From 8da778c0399077cef93f8a6c70135c9c1210c9ab Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Fri, 5 Jan 2018 18:46:33 +0100 Subject: [PATCH] Clean up vaccaria and aplysia config. --- aplysia.nix | 7 +------ vaccaria.nix | 9 ++------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/aplysia.nix b/aplysia.nix index e845377..472aa2c 100644 --- a/aplysia.nix +++ b/aplysia.nix @@ -26,12 +26,7 @@ hostId = "34a820f1"; }; - services.openssh.enable = true; - - users.extraUsers.gebner = { - isNormalUser = true; - extraGroups = ["wheel" "transmission"]; - }; + users.extraUsers.gebner.extraGroups = ["transmission"]; boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages; diff --git a/vaccaria.nix b/vaccaria.nix index 21442f2..fc4d097 100644 --- a/vaccaria.nix +++ b/vaccaria.nix @@ -15,12 +15,7 @@ hostId = "3d551a7c"; }; - services.openssh.enable = true; - - users.extraUsers.gebner = { - isNormalUser = true; - extraGroups = ["wheel" "transmission"]; - }; + users.extraUsers.gebner.extraGroups = ["transmission"]; boot.supportedFilesystems = ["zfs"]; boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages; @@ -95,7 +90,7 @@ # hdd spindown powerManagement.powerUpCommands = '' - ${pkgs.hdparm}/bin/hdparm -B128 -S0 /dev/sd{a,b,c,d,e,f} + ${pkgs.hdparm}/bin/hdparm -B200 -S0 /dev/sd{a,b,c,d,e,f} ''; }