From 8cded36e4f028781346a62f04fd1ef765a664c10 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 22 Jan 2026 22:59:15 +0200 Subject: [PATCH] displaylink: init --- modules/nixos/displaylink.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/nixos/displaylink.nix diff --git a/modules/nixos/displaylink.nix b/modules/nixos/displaylink.nix new file mode 100644 index 0000000..90ed865 --- /dev/null +++ b/modules/nixos/displaylink.nix @@ -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"]; + }; +} -- 2.44.1