Compare commits
3 commits
331bdcde2e
...
6e3ae5479b
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e3ae5479b | |||
| 47fc44c46e | |||
| 0be79ce62d |
4 changed files with 16 additions and 2 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
../../modules/optical-media.nix
|
../../modules/optical-media.nix
|
||||||
../../modules/flatpak.nix
|
../../modules/flatpak.nix
|
||||||
../../modules/gaming.nix
|
../../modules/gaming.nix
|
||||||
|
../../modules/displaylink.nix
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
||||||
13
modules/displaylink.nix
Normal file
13
modules/displaylink.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
displaylink
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -17,7 +17,7 @@ in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
pocket-id = {
|
pocket-id = {
|
||||||
image = "ghcr.io/pocket-id/pocket-id:v2.9.0@sha256:a073640418b2cfc8587c488a7270580b3ab95cae2c543f5d64bbbe1fd7ccbae8";
|
image = "ghcr.io/pocket-id/pocket-id:v2.9.0@sha256:a2a38a96699d7483d65b5849b015d954f294938306a03a9c0699bc5b79554e86";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
networks = [
|
networks = [
|
||||||
"traefik"
|
"traefik"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
".+\\.nix$"
|
".+\\.nix$"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+image\\s+=\\s+\"(?<depName>.*?):(?<currentValue>.*?)(@(?<digest>sha256:[a-z0-9]{64}))?\""
|
"\\s+image\\s+=\\s+\"(?<depName>.*?):(?<currentValue>.*?)(@(?<currentDigest>sha256:[a-z0-9]{64}))?\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue