Compare commits

...

3 commits

Author SHA1 Message Date
552934139b Update ghcr.io/finsys/hawser Docker tag to v0.2.45 2026-06-22 22:14:03 +02:00
47fc44c46e Fix regex
currentDigest instead of digest, similar to currentValue
2026-06-22 22:12:01 +02:00
0be79ce62d Add displaylink module 2026-06-22 22:11:50 +02:00
4 changed files with 16 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,13 @@
{
pkgs,
lib,
...
}: {
environment.systemPackages = with pkgs; [
displaylink
];
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
}

View file

@ -27,7 +27,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
hawser = { hawser = {
image = "ghcr.io/finsys/hawser:0.2.42@sha256:79f926e8d8fe31c0dfe90858f90b69bfd4cfbb113472605620b91a4b444dd557"; image = "ghcr.io/finsys/hawser:0.2.45@sha256:ba4682fd350a4b16e1a1048817edf1054ee91f0556fef63805e447f6746fa157";
volumes = [ volumes = [
"/var/run/docker.sock:/var/run/docker.sock" "/var/run/docker.sock:/var/run/docker.sock"
]; ];

View file

@ -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}))?\""
] ]
} }
] ]