made my config more functional
This commit is contained in:
parent
77e42a8969
commit
5dc9b6bef4
@ -39,9 +39,7 @@ other functions.
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
VERSION = "23.05";
|
VERSION = "23.05";
|
||||||
unstable_tarball = builtins.fetchTarball
|
unstable = import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master") {
|
||||||
https://github.com/nixos/nixpkgs/tarball/master;
|
|
||||||
unstable = import unstable_tarball {
|
|
||||||
config = config.nixpkgs.config;
|
config = config.nixpkgs.config;
|
||||||
};
|
};
|
||||||
nix-gaming = import (builtins.fetchTarball "https://github.com/fufexan/nix-gaming/archive/master.tar.gz");
|
nix-gaming = import (builtins.fetchTarball "https://github.com/fufexan/nix-gaming/archive/master.tar.gz");
|
||||||
@ -49,20 +47,8 @@ let
|
|||||||
"nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
|
"nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
|
||||||
jawz_manage_library = pkgs.writeScriptBin
|
jawz_manage_library = pkgs.writeScriptBin
|
||||||
"manage_library" (builtins.readFile ./scripts/manage_library.sh);
|
"manage_library" (builtins.readFile ./scripts/manage_library.sh);
|
||||||
jawz_ffmpreg = pkgs.writeScriptBin
|
|
||||||
"ffmpreg" (builtins.readFile ./scripts/ffmpreg.sh);
|
|
||||||
jawz_ffmpeg4discord = pkgs.writeScriptBin
|
|
||||||
"ffmpeg4discord" (builtins.readFile ./scripts/ffmpeg4discord.py);
|
|
||||||
jawz_chat-dl = pkgs.writeScriptBin
|
|
||||||
"chat-dl" (builtins.readFile ./scripts/chat-dl.sh);
|
|
||||||
jawz_tasks = pkgs.writeScriptBin
|
jawz_tasks = pkgs.writeScriptBin
|
||||||
"tasks" (builtins.readFile ./scripts/tasks.sh);
|
"tasks" (builtins.readFile ./scripts/tasks.sh);
|
||||||
jawz_split_dir = pkgs.writeScriptBin
|
|
||||||
"split_dir" (builtins.readFile ./scripts/split_dir.sh);
|
|
||||||
jawz_pika_list = pkgs.writeScriptBin
|
|
||||||
"pika_list" (builtins.readFile ./scripts/pika_list.sh);
|
|
||||||
jawz_run = pkgs.writeScriptBin
|
|
||||||
"run" (builtins.readFile ./scripts/run.sh);
|
|
||||||
in
|
in
|
||||||
{ # Remember to close this bracket at the end of the document
|
{ # Remember to close this bracket at the end of the document
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -356,13 +342,12 @@ shortwave # listen to world radio
|
|||||||
nextcloud-client # self-hosted google-drive alternative
|
nextcloud-client # self-hosted google-drive alternative
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Web
|
*** WEB
|
||||||
Stuff that I use to interact with the web, web browsers, chats, download
|
Stuff that I use to interact with the web, web browsers, chats, download
|
||||||
managers, etc.
|
managers, etc.
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
discord # chat
|
discord # chat
|
||||||
whatsapp-for-linux # I'll regret this
|
|
||||||
telegram-desktop # furry chat
|
telegram-desktop # furry chat
|
||||||
google-chrome # web browser with spyware included
|
google-chrome # web browser with spyware included
|
||||||
firefox # web browser that allows to disable spyware
|
firefox # web browser that allows to disable spyware
|
||||||
@ -384,25 +369,22 @@ du-dust # rusty du
|
|||||||
gocryptfs # encrypted filesystem! shhh!!!
|
gocryptfs # encrypted filesystem! shhh!!!
|
||||||
exa # like ls but with colors
|
exa # like ls but with colors
|
||||||
trashy # oop! didn't meant to delete that
|
trashy # oop! didn't meant to delete that
|
||||||
# neofetch # use once for brag, never again
|
|
||||||
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
|
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
|
||||||
tldr # man for retards
|
tldr # man for retards
|
||||||
# ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
|
|
||||||
vcsi # video thumbnails for torrents, can I replace it with ^?
|
vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||||
# mediainfo # technical info about videos, needed by some of my scripts
|
|
||||||
tree-sitter # code parsing, required by Doom emacs
|
tree-sitter # code parsing, required by Doom emacs
|
||||||
torrenttools # create torrent files from the terminal!
|
torrenttools # create torrent files from the terminal!
|
||||||
lm_sensors # for extension, displays cpu temp
|
lm_sensors # for extension, displays cpu temp
|
||||||
|
|
||||||
# My own scripts
|
# My own scripts
|
||||||
jawz_ffmpeg4discord
|
|
||||||
jawz_ffmpreg
|
|
||||||
jawz_manage_library
|
jawz_manage_library
|
||||||
jawz_chat-dl
|
|
||||||
jawz_tasks
|
jawz_tasks
|
||||||
jawz_split_dir
|
(writeScriptBin "ffmpeg4discord" (builtins.readFile ./scripts/ffmpeg4discord.py))
|
||||||
jawz_pika_list
|
(writeScriptBin "ffmpreg" (builtins.readFile ./scripts/ffmpreg.sh))
|
||||||
jawz_run
|
(writeScriptBin "chat-dl" (builtins.readFile ./scripts/chat-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))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** DEVELOPMENT PACKAGES
|
** DEVELOPMENT PACKAGES
|
||||||
@ -412,12 +394,12 @@ jawz_run
|
|||||||
fd # modern find, faster searches
|
fd # modern find, faster searches
|
||||||
fzf # fuzzy finder! super cool and useful
|
fzf # fuzzy finder! super cool and useful
|
||||||
ripgrep # modern grep
|
ripgrep # modern grep
|
||||||
languagetool # proofreader for English. check if works without the service
|
# languagetool # proofreader for English. check if works without the service
|
||||||
graphviz # graphs
|
graphviz # graphs
|
||||||
# these two are for doom everywhere
|
|
||||||
xorg.xwininfo
|
|
||||||
xdotool
|
|
||||||
tetex
|
tetex
|
||||||
|
# these two are for doom everywhere
|
||||||
|
# xorg.xwininfo
|
||||||
|
# xdotool
|
||||||
|
|
||||||
# development environment
|
# development environment
|
||||||
exercism # learn to code
|
exercism # learn to code
|
||||||
@ -557,7 +539,7 @@ symbola
|
|||||||
markdownlint-cli # Linter
|
markdownlint-cli # Linter
|
||||||
prettier # Linter
|
prettier # Linter
|
||||||
pnpm # Package manager
|
pnpm # Package manager
|
||||||
]); }; # <--- end of package list
|
]); }; }; # <--- end of package list
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* MISC SETTINGS
|
* MISC SETTINGS
|
||||||
@ -859,7 +841,6 @@ of some services.
|
|||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
programs = {
|
programs = {
|
||||||
# mtr.enable = true;
|
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
fzf.fuzzyCompletion = true;
|
fzf.fuzzyCompletion = true;
|
||||||
neovim = {
|
neovim = {
|
||||||
@ -1179,7 +1160,6 @@ networking = {
|
|||||||
443 # https
|
443 # https
|
||||||
6969 # HentaiAtHome
|
6969 # HentaiAtHome
|
||||||
25152 # ssh
|
25152 # ssh
|
||||||
49494 # gerbera
|
|
||||||
];
|
];
|
||||||
open_firewall_port_ranges = [
|
open_firewall_port_ranges = [
|
||||||
{ from = 1714; to = 1764; } # kdeconnect
|
{ from = 1714; to = 1764; } # kdeconnect
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user