DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

8cded36e4f028781346a62f04fd1ef765a664c10 — Jonni Liljamo 15 days ago 6541704
displaylink: init
1 files changed, 14 insertions(+), 0 deletions(-)

A modules/nixos/displaylink.nix
A modules/nixos/displaylink.nix => modules/nixos/displaylink.nix +14 -0
@@ 0,0 1,14 @@
{config, ...}: {
  flake.modules.nixos.displaylink = {...}: {
    imports = with config.flake.modules.nixos; [
      # FIXME: w imports both this and 'tidal' and both of these import 'unfree'
      # aaaand that breaks things :D
      # maybe fixed by newer flake-parts but maybe not
      #unfree
    ];

    arta.unfree.allow = ["displaylink"];

    services.xserver.videoDrivers = ["displaylink"];
  };
}