video download helper, fooyin, etc
This commit is contained in:
@@ -4,6 +4,7 @@ let
|
||||
(builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master") {
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
vdhcoapp = pkgs.callPackage ../../pkgs/vdhcoapp/default.nix { };
|
||||
in {
|
||||
imports = [
|
||||
# <agenix/modules/age.nix>
|
||||
@@ -12,7 +13,10 @@ in {
|
||||
../../gnome.nix
|
||||
./obs-studio.nix
|
||||
];
|
||||
programs.obs-studio = { enable = true; };
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
enableVirtualCamera = true;
|
||||
};
|
||||
my = {
|
||||
emacs.enable = true;
|
||||
apps = {
|
||||
@@ -99,6 +103,8 @@ in {
|
||||
groups.nixremote.gid = 555;
|
||||
users = {
|
||||
jawz.packages = (with pkgs; [
|
||||
fooyin
|
||||
vdhcoapp
|
||||
gocryptfs # encrypted filesystem! shhh!!!
|
||||
torrenttools # create torrent files from the terminal!
|
||||
vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||
@@ -150,4 +156,15 @@ in {
|
||||
httpListenAddr = "0.0.0.0";
|
||||
directoryRoot = "/resilio";
|
||||
};
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,10 +48,10 @@
|
||||
device = "/dev/disk/by-uuid/e9618e85-a631-4374-b2a4-22c376d6e41b";
|
||||
preLVM = true;
|
||||
};
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||
'';
|
||||
# extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
# extraModprobeConfig = ''
|
||||
# options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||
# '';
|
||||
initrd = {
|
||||
availableKernelModules =
|
||||
[ "xhci_pci" "ahci" "usbhid" "nvme" "usb_storage" "sd_mod" ];
|
||||
@@ -60,11 +60,11 @@
|
||||
};
|
||||
|
||||
fileSystems = let
|
||||
nfsMount = nfsDisk: {
|
||||
device = "miniserver:/${nfsDisk}";
|
||||
nfsMount = (server: nfsDisk: {
|
||||
device = "${server}:/${nfsDisk}";
|
||||
fsType = "nfs";
|
||||
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
|
||||
};
|
||||
});
|
||||
btrfsMount = subvol: {
|
||||
device = "/dev/mapper/nvme";
|
||||
fsType = "btrfs";
|
||||
@@ -82,9 +82,11 @@
|
||||
"/" = btrfsMount "nixos" // { };
|
||||
"/home" = btrfsMount "home" // { };
|
||||
"/mnt/games" = btrfsMount "games" // { };
|
||||
"/mnt/pool" = nfsMount "pool" // { };
|
||||
"/mnt/jawz" = nfsMount "jawz" // { };
|
||||
# "/mnt/btrfs" = nfsMount "btrfs" // { };
|
||||
"/mnt/miniserver/pool" = nfsMount "miniserver" "pool" // { };
|
||||
"/mnt/miniserver/jawz" = nfsMount "miniserver" "jawz" // { };
|
||||
# "/mnt/server/pool" = nfsMount "server" "pool" // { };
|
||||
# "/mnt/server/jawz" = nfsMount "server" "jawz" // { };
|
||||
# "/mnt/miniserver/btrfs" = nfsMount "btrfs" // { };
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/ac6d349a-96b9-499e-9009-229efd7743a5";
|
||||
fsType = "ext4";
|
||||
|
||||
Reference in New Issue
Block a user