From b7c4edc5c3d154d8b488cc65e1c6eee171c0f74a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 26 Jan 2021 18:58:11 +0100 Subject: Powersaving --- machines/x220/configuration.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'machines/x220/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; -- cgit 1.4.1