Migrate home from Docker #65

Closed
opened 2024-05-30 21:14:55 +03:00 by voronind · 5 comments
Owner
  • Recreate old services.
    • change
    • cloud
    • ddns
    • dns
    • download
    • geoguess - TODO.
    • git
    • hdd - TODO.
    • home
    • iot
    • jobber
    • mail
    • mariadb.
    • office
    • paper
    • pass
    • paste
    • photoprocess
    • postgres
    • print
    • proxy
    • rabbitmq ???
    • read
    • redis ???
    • search
    • status
    • stock
    • tool - TODO.
    • tor.
    • vpn
    • watch
    • yamusicdownload - TODO.
    • yt

RE-ENABLE AUTO-UPDATE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • Migrate the data from Docker to new services.

    • change - Broken.
    • cloud
    • ddns - Broken.
    • dns
    • download
    • geoguess ???
    • git - Add cron to clear archives, see bellow. ALSO Restore my labels.
    • hdd ???
    • home - ADD FAVICON.
    • iot
    • jobber
    • mail - Broken SMTP (sending)
    • mariadb ???
    • office - Broken.
    • paper
    • pass
    • paste
    • photoprocess
    • postgres
    • print
    • proxy
    • rabbitmq ???
    • read
    • redis ???
    • search
    • status
    • stock
    • tool
    • tor ???
    • vpn
    • watch
    • yamusicdownload
    • yt - DASH broken.
  • Fix Nginx https rewrite.

  • Purge docker.

  • Update and test backup service.

- [x] Recreate old services. - [x] change - [x] cloud - [x] ddns - [x] dns - [x] download - [x] geoguess - TODO. - [x] git - [x] hdd - TODO. - [x] home - [x] iot - [x] jobber - [x] mail - [x] ~~mariadb~~. - [x] office - [x] paper - [x] pass - [x] paste - [x] photoprocess - [x] postgres - [x] print - [x] proxy - [x] rabbitmq ??? - [x] read - [x] redis ??? - [x] search - [x] status - [x] stock - [x] tool - TODO. - [x] ~~tor~~. - [x] vpn - [x] watch - [x] yamusicdownload - TODO. - [x] yt RE-ENABLE AUTO-UPDATE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - [x] Migrate the data from Docker to new services. - [x] change - Broken. - [x] cloud - [x] ddns - Broken. - [x] dns - [x] download - [x] geoguess ??? - [x] git - Add cron to clear archives, see bellow. ALSO Restore my labels. - [x] hdd ??? - [x] home - ADD FAVICON. - [x] iot - [x] jobber - [x] mail - Broken SMTP (sending) - [x] mariadb ??? - [x] office - Broken. - [x] paper - [x] pass - [x] paste - [x] photoprocess - [x] postgres - [x] print - [x] proxy - [x] rabbitmq ??? - [x] read - [x] redis ??? - [x] search - [x] status - [x] stock - [x] tool - [x] tor ??? - [x] vpn - [x] watch - [x] yamusicdownload - [x] yt - DASH broken. - [x] Fix Nginx https rewrite. - [x] Purge docker. - [x] Update and test backup service.
voronind added the
Future
label 2024-05-30 21:14:55 +03:00
voronind pinned this 2024-05-31 01:38:51 +03:00
Author
Owner
{ config, pkgs, ... }: {

  containers = {

    nas = {
      autoStart = true;
      hostBridge = "br0";
      privateNetwork = true;
      localAddress = "10.0.18.88/21";
      bindMounts = {
        "/nas-storage" = {
          hostPath = "/путь/MEDIA/";
          isReadOnly = false;
        };
        "/dev/dri" = {
          hostPath = "/dev/dri";
          isReadOnly = false;
        };
      };
      specialArgs = { pkgs-host = pkgs; };
      config = { config, pkgs, lib, inputs, pkgs-host, ... }: {
        nixpkgs.pkgs = pkgs-host;
        system.stateVersion = "24.05";
        imports = [ (import ./../common/ssh.nix { rootlogin = "yes"; }) ];
        environment.systemPackages = with pkgs; [ iptables ];
        networking = {
          domain = "нахуй";
          useHostResolvConf = lib.mkForce false;
          firewall = {
            enable = true;
            #            extraCommands = '' iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8096 '';
            allowedTCPPorts = [ 80];
          };
          defaultGateway.address = "похуй";
          nameservers = [ "похуй" "похуй" ];
        };
        services = {
          jellyfin = {
            enable = true;
            openFirewall = true;
            package = pkgs.unstable.jellyfin;
          };
        };

      };
    };
  };

}
```nix { config, pkgs, ... }: { containers = { nas = { autoStart = true; hostBridge = "br0"; privateNetwork = true; localAddress = "10.0.18.88/21"; bindMounts = { "/nas-storage" = { hostPath = "/путь/MEDIA/"; isReadOnly = false; }; "/dev/dri" = { hostPath = "/dev/dri"; isReadOnly = false; }; }; specialArgs = { pkgs-host = pkgs; }; config = { config, pkgs, lib, inputs, pkgs-host, ... }: { nixpkgs.pkgs = pkgs-host; system.stateVersion = "24.05"; imports = [ (import ./../common/ssh.nix { rootlogin = "yes"; }) ]; environment.systemPackages = with pkgs; [ iptables ]; networking = { domain = "нахуй"; useHostResolvConf = lib.mkForce false; firewall = { enable = true; # extraCommands = '' iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8096 ''; allowedTCPPorts = [ 80]; }; defaultGateway.address = "похуй"; nameservers = [ "похуй" "похуй" ]; }; services = { jellyfin = { enable = true; openFirewall = true; package = pkgs.unstable.jellyfin; }; }; }; }; }; } ```
voronind unpinned this 2024-06-01 09:17:58 +03:00
voronind reopened this issue 2024-06-01 10:23:23 +03:00
voronind pinned this 2024-06-01 10:23:26 +03:00
Author
Owner
https://github.com/kanashimia/nixos-config/blob/1a934a2aee424805747ae8cf969f9a81834fa9d7/flake.nix#L41 http://gateway.msk.ru:8080/upload/monkey-dove-spider
voronind added reference migrate 2024-06-06 18:37:59 +03:00
Author
Owner

PR #67

PR #67
Author
Owner
https://forum.gitea.com/t/help-needed-repo-archive-is-consuming-my-whole-disk/6486
voronind added
Roadmap
and removed
Future
labels 2024-06-15 18:46:37 +03:00
Author
Owner
https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/931
voronind unpinned this 2024-06-23 16:57:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: voronind/nix#65
No description provided.