summaryrefslogtreecommitdiffstats
path: root/tv/configs/AO753.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-27 02:02:34 +0200
committertv <tv@krebsco.de>2015-07-27 02:02:34 +0200
commit869eeb1dc1d3bfeddf67f882e0853b15e63dceb3 (patch)
treefa6bf616e54422468ef7f58c290a710b0710b9b9 /tv/configs/AO753.nix
parentb9df7908fc96c6e809c3f22bfca50d8703ce12a1 (diff)
* tv -> tv *
Diffstat (limited to 'tv/configs/AO753.nix')
-rw-r--r--tv/configs/AO753.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/tv/configs/AO753.nix b/tv/configs/AO753.nix
new file mode 100644
index 0000000..c103ce2
--- /dev/null
+++ b/tv/configs/AO753.nix
@@ -0,0 +1,39 @@
+{ config, pkgs, ... }:
+
+{
+ imports = [
+ ../configs/smartd.nix
+ ];
+
+ boot.loader.grub = {
+ device = "/dev/sda";
+ splashImage = null;
+ };
+
+ boot.initrd.availableKernelModules = [
+ "ahci"
+ ];
+
+ boot.kernelModules = [
+ "kvm-intel"
+ "wl"
+ ];
+
+ boot.extraModulePackages = [
+ config.boot.kernelPackages.broadcom_sta
+ ];
+
+ networking.wireless.enable = true;
+
+ services.logind.extraConfig = ''
+ HandleHibernateKey=ignore
+ HandleLidSwitch=ignore
+ HandlePowerKey=ignore
+ HandleSuspendKey=ignore
+ '';
+
+ nixpkgs.config = {
+ allowUnfree = false;
+ allowUnfreePredicate = (x: pkgs.lib.hasPrefix "broadcom-sta-" x.name);
+ };
+}