DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 7ba6e1b2774d5e9efd92f7ba6f5d85f8193adfc3 nix-arta/modules/nixos/displaylink.nix -rw-r--r-- 408 bytes
7ba6e1b2Jonni Liljamo w: init 15 days 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"];
  };
}