DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 352e04e92a0875f1d3fd3638e0e8f339af23d51e nix-arta/modules/nixos/displaylink.nix -rw-r--r-- 408 bytes
352e04e9Jonni Liljamo swaylock: init and use on w 11 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"];
  };
}