DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 93995ca4ee7cdb532b3807f0482dd256b1a34dc1 nix-arta/modules/nixos/displaylink.nix -rw-r--r-- 408 bytes
93995ca4Jonni Liljamo niri: focus monitor 9 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
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"];
  };
}