Compare commits
3 commits
44712c29b9
...
4cf57f2b63
| Author | SHA1 | Date | |
|---|---|---|---|
| 4cf57f2b63 | |||
| 47fc44c46e | |||
| 0be79ce62d |
4 changed files with 16 additions and 2 deletions
|
|
@ -37,6 +37,7 @@
|
|||
../../modules/optical-media.nix
|
||||
../../modules/flatpak.nix
|
||||
../../modules/gaming.nix
|
||||
../../modules/displaylink.nix
|
||||
|
||||
# Include the results of the hardware scan.
|
||||
./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 {
|
||||
virtualisation.oci-containers.containers = {
|
||||
dockhand = {
|
||||
image = "fnsys/dockhand:v1.0.32@sha256:cda754fc7ccb4acd0ecc37cc37b9cf0d2b933bf19de89d47957b26ecf109a543";
|
||||
image = "fnsys/dockhand:v1.0.35@sha256:1b9473bd11cb60fed23bad8d335acb03f032b369230cd0a3dc3c0a1cbb8cb47c";
|
||||
volumes = [
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
".+\\.nix$"
|
||||
],
|
||||
"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