diff --git a/server/configuration.org b/server/configuration.org index a8161b5..bce07a4 100644 --- a/server/configuration.org +++ b/server/configuration.org @@ -51,6 +51,15 @@ let "sub-sync" (builtins.readFile ../scripts/sub-sync.sh); jawzChat = pkgs.writeScriptBin "chat-dl" (builtins.readFile ../scripts/chat-dl.sh); + jawzPicarto = pkgs.writeScriptBin + "picarto-dl" (builtins.readFile ../scripts/picarto-dl.sh); + jawzScripts = [ + jawzManageLibrary + jawzTasks + jawzSubs + jawzChat + jawzPicarto + ]; in { # Remember to close this bracket at the end of the document #+end_src @@ -100,7 +109,6 @@ networking = { 51413 # torrent sedding 9091 # qbittorrent 2049 # nfs - 5357 3702 # samba-wsdd ]; open_firewall_port_ranges = [ ]; in @@ -336,9 +344,9 @@ main draws of Linux for me. #+begin_src nix # Fonts (nerdfonts.override { - fonts = [ "Agave" "CascadiaCode" "SourceCodePro" - "ComicShannsMono" "OpenDyslexic" - "Ubuntu" "FiraCode" "Iosevka" ]; + fonts = [ "CascadiaCode" + "ComicShannsMono" + "Iosevka" ]; }) symbola #+end_src @@ -363,13 +371,9 @@ smartmontools # check hard drie health Here I compile my own scripts into binaries #+begin_src nix -jawzManageLibrary -jawzTasks -jawzSubs -jawzChat +jawzScripts (writeScriptBin "ffmpeg4discord" (builtins.readFile ../scripts/ffmpeg4discord.py)) (writeScriptBin "ffmpreg" (builtins.readFile ../scripts/ffmpreg.sh)) -(writeScriptBin "picarto-dl" (builtins.readFile ../scripts/picarto-dl.sh)) (writeScriptBin "split-dir" (builtins.readFile ../scripts/split-dir.sh)) (writeScriptBin "pika-list" (builtins.readFile ../scripts/pika-list.sh)) (writeScriptBin "run" (builtins.readFile ../scripts/run.sh)) @@ -380,18 +384,7 @@ jawzChat Assorted development packages and libraries, categorized by languages. #+begin_src nix -# required (optionally) by doom emacs, but still are rather useful -tree-sitter # code parsing based on symbols and shit, I do not get it -graphviz # graphs -tetex -# languagetool # proofreader for English -# these two are for doom everywhere -xorg.xwininfo -xdotool -xclip - tldr # man for retards -exercism # learn to code # SH bats # testing system, required by Exercism @@ -407,8 +400,6 @@ cachix # why spend time compiling? # PYTHON. (python3.withPackages (ps: with ps; [ - pipenv # python development workflow for humans - # poetry # dependency management made easy flake8 # wraper for pyflakes, pycodestyle and mccabe isort # sort Python imports nose # testing and running python scripts @@ -419,15 +410,6 @@ cachix # why spend time compiling? black # Python code formatter pylint # bug and style checker for python ])) # base language - -# C# & Rust -# omnisharp-roslyn # c# linter and code formatter - -# HASKELL -# cabal-install # haskell interface - -# JS -nodejs # not as bad as I thought #+end_src ** CUSTOM PYTHON SCRIPTS @@ -761,18 +743,6 @@ programs = { enable = true; enableSSHSupport = true; }; - msmtp = { - enable = true; - accounts.default = { - auth = true; - host = "smtp.gmail.com"; - port = 587; - tls = true; - from = "stunner6399@gmail.com"; - user = "stunner6399@gmail.com"; - password = "eqyctcgjdykqeuwt"; - }; - }; }; #+end_src @@ -809,44 +779,6 @@ services = { "/mnt/pool" ]; }; - samba-wsdd.enable = true; - samba = { - enable = false; - securityType = "user"; - openFirewall = true; - extraConfig = '' - workgroup = WORKGROUP - server string = ${config.networking.hostName} - netbios name = ${config.networking.hostName} - security = user - - create mask = 0664 - force create mode = 0664 - directory mask = 0775 - force directory mode = 0775 - follow symlinks = yes - - hosts allow = 192.168.0.0 localhost - # hosts deny = 0.0.0.0/0 - guest account = nobody - map to guest = bad user - ''; - shares = let - smbShare = mountName: { - path = "/mnt/${mountName}"; - browseable = "yes"; - writable = "yes"; - "read only" = "no"; - "guest ok" = "yes"; - "write list" = "capta"; - "force user" = "capta"; - "force group" = "WORKGROUP"; - }; - in { - pool = smbShare "pool" // { }; - seedbox = smbShare "disks/seedbox" // { }; - }; - }; openssh = { enable = true; openFirewall = true; diff --git a/server/servers.nix b/server/servers.nix index 7292bd2..6beb575 100644 --- a/server/servers.nix +++ b/server/servers.nix @@ -69,6 +69,20 @@ in { # # ]); # # }; # }; + programs = { + msmtp = { + enable = true; + accounts.default = { + auth = true; + host = "smtp.gmail.com"; + port = 587; + tls = true; + from = "stunner6399@gmail.com"; + user = "stunner6399@gmail.com"; + password = "eqyctcgjdykqeuwt"; + }; + }; + }; services = let base = { enable = true;