dev.fron.io nixrc / d078a43
containers(jellyfin): split up data bind mounts Tony Olagbaiye a month ago
4 changed file(s) with 82 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
7373 };
7474 };
7575 bindMounts = {
76 "/srv/ftp" = {
77 hostPath = "/srv/ftp";
76 "/srv/ftp/tv" = {
77 hostPath = "/srv/ftp/tv/";
78 isReadOnly = false;
79 };
80 "/srv/ftp/TV" = {
81 hostPath = "/srv/ftp/tv/";
82 isReadOnly = false;
83 };
84 "/srv/ftp/TV Shows" = {
85 hostPath = "/srv/ftp/tv/";
86 isReadOnly = false;
87 };
88 "/srv/ftp/movies" = {
89 hostPath = "/srv/ftp/movies/";
90 isReadOnly = false;
91 };
92 "/srv/ftp/Movies" = {
93 hostPath = "/srv/ftp/movies/";
94 isReadOnly = false;
95 };
96 "/srv/ftp/books" = {
97 hostPath = "/srv/ftp/books/";
98 isReadOnly = false;
99 };
100 "/srv/ftp/Books" = {
101 hostPath = "/srv/ftp/books/";
102 isReadOnly = false;
103 };
104 "/srv/ftp/torrents" = {
105 hostPath = "/srv/ftp/";
106 isReadOnly = false;
107 };
108 "/srv/ftp/Torrents" = {
109 hostPath = "/srv/ftp/";
78110 isReadOnly = false;
79111 };
80112 };
2525 (let ((vterm-shell command))
2626 (vterm buffer-name))))
2727 (defun vterm-shell-command (command)
28 (interactive "sVTerm shell command: ")
28 ;(interactive "sVTerm shell command: ")
2929 (let ((vterm-shell command))
3030 (vterm "*vterm-shell-command*")))
3131 (global-set-key (kbd "C-x M-&") #'vterm-shell-command)
550550 "type": "github"
551551 }
552552 },
553 "funkwhale": {
554 "inputs": {
555 "nixpkgs": "nixpkgs_2"
556 },
557 "locked": {
558 "lastModified": 1613742170,
559 "narHash": "sha256-9frahCPEflrxRGH4moFgnxxbsIjlHd21gClB6M+wsrM=",
560 "owner": "mmai",
561 "repo": "funkwhale-flake",
562 "rev": "22b55083e549a57a20c2df57e1856c0856b473c7",
563 "type": "github"
564 },
565 "original": {
566 "owner": "mmai",
567 "repo": "funkwhale-flake",
568 "type": "github"
569 }
570 },
553571 "fzf-widgets": {
554572 "flake": false,
555573 "locked": {
886904 },
887905 "lisp": {
888906 "inputs": {
889 "nixpkgs": "nixpkgs_3"
907 "nixpkgs": "nixpkgs_4"
890908 },
891909 "locked": {
892910 "lastModified": 1611535491,
10701088 "nix": {
10711089 "inputs": {
10721090 "lowdown-src": "lowdown-src",
1073 "nixpkgs": "nixpkgs_2"
1091 "nixpkgs": "nixpkgs_3"
10741092 },
10751093 "locked": {
10761094 "lastModified": 1605715425,
10881106 "nix-ipfs": {
10891107 "inputs": {
10901108 "lowdown-src": "lowdown-src_3",
1091 "nixpkgs": "nixpkgs_5"
1109 "nixpkgs": "nixpkgs_6"
10921110 },
10931111 "locked": {
10941112 "lastModified": 1602773364,
11081126 "nix_2": {
11091127 "inputs": {
11101128 "lowdown-src": "lowdown-src_2",
1111 "nixpkgs": "nixpkgs_4"
1129 "nixpkgs": "nixpkgs_5"
11121130 },
11131131 "locked": {
11141132 "lastModified": 1609844423,
11421160 }
11431161 },
11441162 "nixpkgs_2": {
1163 "locked": {
1164 "lastModified": 1612995862,
1165 "narHash": "sha256-VJPQtC8WDPvQVQGolJqp2i43Yr9bvbyqGK3oWMa5+8g=",
1166 "owner": "NixOS",
1167 "repo": "nixpkgs",
1168 "rev": "2394284537b89471c87065b040d3dedd8b5907fe",
1169 "type": "github"
1170 },
1171 "original": {
1172 "owner": "NixOS",
1173 "ref": "nixos-20.09",
1174 "repo": "nixpkgs",
1175 "type": "github"
1176 }
1177 },
1178 "nixpkgs_3": {
11451179 "locked": {
11461180 "lastModified": 1602702596,
11471181 "narHash": "sha256-fqJ4UgOb4ZUnCDIapDb4gCrtAah5Rnr2/At3IzMitig=",
11561190 "type": "indirect"
11571191 }
11581192 },
1159 "nixpkgs_3": {
1193 "nixpkgs_4": {
11601194 "locked": {
11611195 "lastModified": 1607018170,
11621196 "narHash": "sha256-C9VzUgeVCfNrzij2exmWupx8RNu7wxNbD8eReMLGy9I=",
11721206 "type": "github"
11731207 }
11741208 },
1175 "nixpkgs_4": {
1209 "nixpkgs_5": {
11761210 "locked": {
11771211 "lastModified": 1602702596,
11781212 "narHash": "sha256-fqJ4UgOb4ZUnCDIapDb4gCrtAah5Rnr2/At3IzMitig=",
11871221 "type": "indirect"
11881222 }
11891223 },
1190 "nixpkgs_5": {
1224 "nixpkgs_6": {
11911225 "locked": {
11921226 "lastModified": 1591633336,
11931227 "narHash": "sha256-oVXv4xAnDJB03LvZGbC72vSVlIbbJr8tpjEW5o/Fdek=",
16211655 "flycheck-purescript": "flycheck-purescript",
16221656 "font-lock-ext": "font-lock-ext",
16231657 "fsnoop": "fsnoop",
1658 "funkwhale": "funkwhale",
16241659 "gh-notify": "gh-notify",
16251660 "giara": "giara",
16261661 "git-get": "git-get",
5151 emacs.url = "github:nix-community/emacs-overlay"; # Emacs-overlay
5252
5353 lisp.url = "github:nix-lisp/lisp-overlay"; # Lisp-overlay
54
55 funkwhale.url = "github:mmai/funkwhale-flake"; # Funkwhale
5456
5557 devshell.url = "github:numtide/devshell"; # Devshell
5658
237239
238240 # this is one light breeze away from infrec
239241 inherit (withGuixFlake) guix;
242 inherit (withFunkwhaleFlake) funkwhale;
240243 inherit (withEmacsFlake.withSelfFlake.withEmacs) emacsPgtkGcc emacsPgtkGccClient emacsPgtkGccPackages;
241244 inherit (withGiara) giara;
242245 inherit (withLbry) lbry;
772775 inherit (inputs.construct.nixosModules) matrix-construct;
773776 inherit (inputs.agenix.nixosModules) age;
774777 hydra = "${inputs.hydra}/hydra-module.nix";
778 funkwhale = inputs.funkwhale.nixosModule;
775779 apparmor-nix = inputs.apparmor.nixosModule;
776780
777781 # Some common basic stuff
918922 modules = flakeModules ++ extraModules ++ [
919923 home nixpkgs iwd gnupg
920924 home-manager dwarffs matrix-construct hydra
921 impermanence age guix apparmor-nix
925 impermanence age guix funkwhale apparmor-nix
922926 ];
923927 in {
924928 inherit system specialArgs;