vno1-gdrx: +motion

This commit is contained in:
Motiejus Jakštys 2024-08-07 08:57:36 +03:00
parent 8bf5e572b0
commit 4a858936b9
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,9 @@
{ config, myData, ... }: {
config,
myData,
pkgs,
...
}:
let let
nvme = "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_2TB_S6P1NX0TA00913P"; nvme = "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_2TB_S6P1NX0TA00913P";
in in
@ -139,6 +144,8 @@ in
}; };
}; };
environment.systemPackages = with pkgs; [ motion ];
networking = { networking = {
hostName = "vno1-gdrx"; hostName = "vno1-gdrx";
domain = "motiejus.jakst"; domain = "motiejus.jakst";

View File

@ -36,7 +36,7 @@
runCommand, runCommand,
}: }:
drv: drv:
{ formats, compressors, ... }: { formats, compressors }:
let let
validProg = validProg =
ext: prog: ext: prog:

View File

@ -95,7 +95,6 @@ drv:
"gz" = "${zopfli}/bin/zopfli --keep {}"; "gz" = "${zopfli}/bin/zopfli --keep {}";
"br" = "${brotli}/bin/brotli --keep --no-copy-stat {}"; "br" = "${brotli}/bin/brotli --keep --no-copy-stat {}";
}, },
...
}: }:
compressDrv drv { compressDrv drv {
formats = formats ++ extraFormats; formats = formats ++ extraFormats;