calcite,weilite: use comin to auto update

This commit is contained in:
xinyangli 2024-12-21 20:52:27 +08:00
parent ade0694d14
commit 49520149ab
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
7 changed files with 46 additions and 21 deletions

View file

@ -19,6 +19,7 @@
nix = {
enable = true;
};
comin.enable = true;
};
boot = {
@ -38,7 +39,10 @@
nixpkgs.config.allowUnfree = true;
environment.systemPackages = [ pkgs.virtiofsd ];
environment.systemPackages = [
pkgs.virtiofsd
pkgs.intel-gpu-tools
];
sops = {
defaultSopsFile = ./secrets.yaml;
@ -94,15 +98,32 @@
options = "rw,nodev,nosuid";
wantedBy = [ "restic-rest-server.service" ];
}
# {
# what = "ocis";
# where = "/var/lib/ocis";
# type = "virtiofs";
# options = "rw,nodev,nosuid";
# wantedBy = [ "ocis.service" ];
# }
{
what = "ocis";
where = "/var/lib/ocis";
what = "media";
where = "/var/lib/jellyfin/media";
type = "virtiofs";
options = "rw,nodev,nosuid";
wantedBy = [ "ocis.service" ];
}
];
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
vaapiVdpau
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
intel-media-sdk # QSV up to 11th gen
];
};
services.openssh.ports = [
22
2222