chore(koi): removed cage and uxplay
This commit is contained in:
parent
9fbb1915b7
commit
77a3b280ee
3 changed files with 0 additions and 68 deletions
|
@ -12,14 +12,12 @@
|
||||||
|
|
||||||
./partials/fde.nix
|
./partials/fde.nix
|
||||||
|
|
||||||
./services/cage.nix
|
|
||||||
./services/coredns.nix
|
./services/coredns.nix
|
||||||
./services/sing-box.nix
|
./services/sing-box.nix
|
||||||
./services/nginx.nix
|
./services/nginx.nix
|
||||||
./services/phpfront.nix
|
./services/phpfront.nix
|
||||||
./services/landing
|
./services/landing
|
||||||
|
|
||||||
./containers/uxplay.nix
|
|
||||||
./containers/torrent.nix
|
./containers/torrent.nix
|
||||||
./containers/puffer.nix
|
./containers/puffer.nix
|
||||||
./containers/vaultwarden.nix
|
./containers/vaultwarden.nix
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
{ abs, lib, pkgs, config, ... }@inputs:
|
|
||||||
let
|
|
||||||
containers = import (abs "lib/containers.nix") inputs;
|
|
||||||
uxplay = import (abs "services/uxplay.nix") inputs;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
(containers.mkNixosContainer {
|
|
||||||
name = "uxplay";
|
|
||||||
ip = "10.42.0.6";
|
|
||||||
private = false;
|
|
||||||
|
|
||||||
config = { ... }: {
|
|
||||||
imports = [
|
|
||||||
(uxplay {
|
|
||||||
params = [
|
|
||||||
"-p 7000"
|
|
||||||
"-vs 0"
|
|
||||||
"-async"
|
|
||||||
"-n koi -nh"
|
|
||||||
];
|
|
||||||
withAvahi = true;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 7000 7001 7002 ];
|
|
||||||
networking.firewall.allowedUDPPorts = [ 7000 7001 7002 ];
|
|
||||||
services.avahi.openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
containerConfig.extraFlags = [
|
|
||||||
"--bind=/run/pipewire"
|
|
||||||
"--bind=/dev/snd"
|
|
||||||
"--bind=/dev/shm"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
systemWide = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
{ pkgs, abs, config, ... }@inputs:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.cage = {
|
|
||||||
enable = true;
|
|
||||||
user = "cage";
|
|
||||||
program = "${pkgs.mpv}/bin/mpv /mnt/puffer/Downloads/anime --shuffle --loop-playlist --directory-mode=recursive";
|
|
||||||
environment = {
|
|
||||||
WLR_LIBINPUT_NO_DEVICES = "1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.cage = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "Guest account for Cage";
|
|
||||||
createHome = false;
|
|
||||||
shell = pkgs.shadow;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue