about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-26 18:58:11 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-26 18:58:11 +0100
commitb7c4edc5c3d154d8b488cc65e1c6eee171c0f74a (patch)
tree0b722fbff12c5b9b1c209dd6223577952900b0f3
parentf50f50480c1c36da035392334021adcdc123a2d2 (diff)
downloaddots-b7c4edc5c3d154d8b488cc65e1c6eee171c0f74a.tar.gz
dots-b7c4edc5c3d154d8b488cc65e1c6eee171c0f74a.zip
Powersaving
-rwxr-xr-xmachines/adax/cc.nix15
-rw-r--r--machines/x220/configuration.nix13
-rw-r--r--programs/newsboat/urls1
3 files changed, 12 insertions, 17 deletions
diff --git a/machines/adax/cc.nix b/machines/adax/cc.nix
deleted file mode 100755
index 96b12d2..0000000
--- a/machines/adax/cc.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-# Edit this configuration file to define what should be installed on
-# your system.  Help is available in the configuration.nix(5) man page
-# and in the NixOS manual (accessible by running ‘nixos-help’).
-
-{ config, pkgs, ... }:
-
-{
-  imports =
-    [ # Include the results of the hardware scan.
-      ./hardware-configuration.nix
-      ./dots/machines/hp-compaq/configuration.nix
-    ];
-
-
-}
diff --git a/machines/x220/configuration.nix b/machines/x220/configuration.nix
index 2244fe3..18f600e 100644
--- a/machines/x220/configuration.nix
+++ b/machines/x220/configuration.nix
@@ -31,12 +31,18 @@ in
 
       networkmanager = {
         enable = true;
-        wifi.backend = "iwd";
+        wifi = {
+          backend = "iwd";
+          powersave = true;
+        };
       };
     };
 
     nixpkgs.config.allowUnfree = true;
 
+    nix.extraOptions = ''
+      show-trace = true
+    '';
 
     environment.systemPackages = with pkgs; [
       discord
@@ -87,7 +93,7 @@ in
   programs.adb.enable = true;
 
   virtualisation.docker.enable = true;
-  # systemd.services.docker.enable = false;
+  systemd.services.docker.wantedBy = lib.mkForce [];
 
   services.udev.packages = [ pkgs.libu2f-host ];
 
@@ -102,6 +108,9 @@ in
     drivers = [ pkgs.epson_201207w ];
   };
   hardware.sane.enable = true;
+  hardware.sane.extraBackends = [ pkgs.epkowa ];
+
+  hardware.bluetooth.powerOnBoot = false;
 
   services.cron.enable = true;
   # services.fcron.enable = true;
diff --git a/programs/newsboat/urls b/programs/newsboat/urls
index a01dc1d..9830588 100644
--- a/programs/newsboat/urls
+++ b/programs/newsboat/urls
@@ -32,6 +32,7 @@ https://portal.mozz.us/gemini/gemini.marmaladefoo.com/cgi-bin/atom-feed.cgi%3Flu
 https://proxy.vulpes.one/gemini/sunshinegardens.org/~abrahms/atom.xml
 https://justin.abrah.ms/feed.xml
 https://solar.lowtechmagazine.com/feeds/all-en.atom.xml
+https://lbryfeed.melroy.org/channel/tv/rossmanngroup
 
 
 ## Youtube