tv config: define primary screens

This commit is contained in:
tv 2021-02-15 14:00:47 +01:00
parent d2edb22d9f
commit e249b2d8d4
4 changed files with 15 additions and 1 deletions

View File

@ -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;
}

View File

@ -44,4 +44,7 @@ with import <stockholm/lib>;
'';
krebs.nixpkgs.allowUnfreePredicate = pkg: packageName pkg == "broadcom-sta";
tv.hw.screens.primary.width = 1366;
tv.hw.screens.primary.height = 768;
}

View File

@ -59,4 +59,7 @@ with import <stockholm/lib>;
services.xserver = {
videoDriver = "intel";
};
tv.hw.screens.primary.width = 1366;
tv.hw.screens.primary.height = 768;
}

View File

@ -1,4 +1,6 @@
{ config, pkgs, ... }:
{ config, pkgs, ... }: let
lib = import <stockholm/lib>;
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;
}