From a29fddda2ca554e671bddd9f3ff7399d8ea9756b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 14 Feb 2021 13:29:42 +0100 Subject: tv wu: remove unnecessary services --- tv/1systems/wu/config.nix | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tv/1systems') diff --git a/tv/1systems/wu/config.nix b/tv/1systems/wu/config.nix index f9c3860ed..f0ef6f9b0 100644 --- a/tv/1systems/wu/config.nix +++ b/tv/1systems/wu/config.nix @@ -7,10 +7,6 @@ with import ; - - - - @@ -38,14 +34,4 @@ with import ; networking.wireless.enable = true; - services.printing.enable = true; - - services.udev.extraRules = '' - SUBSYSTEM=="net", ATTR{address}=="00:90:f5:da:aa:c3", NAME="en0" - SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:1b:ae:6c", NAME="wl0" - - # for jack - KERNEL=="rtc0", GROUP="audio" - KERNEL=="hpet", GROUP="audio" - ''; } -- cgit v1.3.1 From e249b2d8d4c9368a911ac1d5d7492c14a9602c05 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 15 Feb 2021 14:00:47 +0100 Subject: tv config: define primary screens --- tv/1systems/au/config.nix | 3 +++ tv/2configs/hw/AO753.nix | 3 +++ tv/2configs/hw/w110er.nix | 3 +++ tv/2configs/hw/x220.nix | 7 ++++++- 4 files changed, 15 insertions(+), 1 deletion(-) (limited to 'tv/1systems') diff --git a/tv/1systems/au/config.nix b/tv/1systems/au/config.nix index 3891b7570..d9ba53912 100644 --- a/tv/1systems/au/config.nix +++ b/tv/1systems/au/config.nix @@ -16,4 +16,7 @@ networking.interfaces.wwp0s29u1u4i6.useDHCP = true; system.stateVersion = "20.03"; + + tv.hw.screens.primary.width = 1920; + tv.hw.screens.primary.height = 1080; } diff --git a/tv/2configs/hw/AO753.nix b/tv/2configs/hw/AO753.nix index a91a5e518..469f5c6f8 100644 --- a/tv/2configs/hw/AO753.nix +++ b/tv/2configs/hw/AO753.nix @@ -44,4 +44,7 @@ with import ; ''; krebs.nixpkgs.allowUnfreePredicate = pkg: packageName pkg == "broadcom-sta"; + + tv.hw.screens.primary.width = 1366; + tv.hw.screens.primary.height = 768; } diff --git a/tv/2configs/hw/w110er.nix b/tv/2configs/hw/w110er.nix index 7d837eabc..693cef5ac 100644 --- a/tv/2configs/hw/w110er.nix +++ b/tv/2configs/hw/w110er.nix @@ -59,4 +59,7 @@ with import ; services.xserver = { videoDriver = "intel"; }; + + tv.hw.screens.primary.width = 1366; + tv.hw.screens.primary.height = 768; } diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index aadfc6691..ecbb84a44 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -1,4 +1,6 @@ -{ config, pkgs, ... }: +{ config, pkgs, ... }: let + lib = import ; +in { imports = [ ../smartd.nix @@ -74,4 +76,7 @@ services.xserver = { videoDriver = "intel"; }; + + tv.hw.screens.primary.width = lib.mkDefault 1366; + tv.hw.screens.primary.height = lib.mkDefault 768; } -- cgit v1.3.1