spring cleaning

This commit is contained in:
Danilo Reyes 2024-03-12 10:04:54 -06:00
parent 279a8ebf32
commit 66089397cb

View File

@ -13,10 +13,9 @@
- [ ] Figure out how to get rid of xterm - [ ] Figure out how to get rid of xterm
* DECLARATION * DECLARATION
Here I will declare the dependencies and variables that will be used multiple Here I will declare the dependencies and variables that I call multiple times
times through the config file, such as the current version of NixOS, through the config file, such as the current version of NixOS, repositories and
repositories and even some scripts that will be reused on systemd even some scripts that I reuse on systemd configurations.
configurations.
- version: used by both NixOS and home-manager to dictate the state repository - version: used by both NixOS and home-manager to dictate the state repository
from which to pull configurations, modules and packages. from which to pull configurations, modules and packages.
@ -29,7 +28,7 @@ configurations.
to pull from the unstable channel rather than precompiled binaries on a case to pull from the unstable channel rather than precompiled binaries on a case
by case use. by case use.
- nixGaming: a channel containing some tweaks and optimized packages for gaming. - nixGaming: a channel containing some tweaks and optimized packages for gaming.
- jawz*: scripts that will be reused multiple times through the config, such as - jawz*: scripts that will reuse multiple times through the config, such as
on systemd, and as such this feels like a safe way to compile them only once. on systemd, and as such this feels like a safe way to compile them only once.
@ -82,8 +81,8 @@ hosts file with the static IP and hostname of other devices on my network.
Also open ports on the firewall for LAN connectivity, and well keeping commented Also open ports on the firewall for LAN connectivity, and well keeping commented
what each port does, I declared the firwewall ports with variables, because I what each port does, I declared the firwewall ports with variables, because I
can not be bothered to figure out whether I need TCP or UDP so let's open both, don't care to figure out whether I need TCP or UDP so let's open both, and
and repetition is maddening. repetition is maddening.
#+begin_src nix #+begin_src nix
networking = { networking = {
@ -274,15 +273,7 @@ services.pipewire = {
# rate = 48000; # rate = 48000;
# }; # };
}; };
hardware = { hardware.pulseaudio.enable = false;
pulseaudio.enable = false;
bluetooth.enable = true;
bluetooth.settings = {
General = {
Enable = "Source,Sink,Media,Socket";
};
};
};
#+end_src #+end_src
* SECURITY * SECURITY
@ -453,7 +444,6 @@ and wineWow are installed.
#+begin_src nix #+begin_src nix
wineWowPackages.stable wineWowPackages.stable
bottles
(lutris.override { (lutris.override {
extraPkgs = pkgs: [ extraPkgs = pkgs: [
winetricks winetricks
@ -461,12 +451,11 @@ bottles
wineWowPackages.stable wineWowPackages.stable
]; ];
}) })
cartridges cartridges # games launcher
heroic # install epic games heroic # install epic games
gamemode # optimizes linux to have better gaming performance gamemode # optimizes linux to have better gaming performance
# grapejuice # roblox manager # grapejuice # roblox manager
# minecraft # minecraft official launcher # minecraft # minecraft official launcher
parsec-bin # remote gaming with friends
protonup-qt # update proton-ge protonup-qt # update proton-ge
ns-usbloader # load games into my switch ns-usbloader # load games into my switch
@ -486,16 +475,16 @@ An assorted list of productivity-oriented apps which I will never use.
libreoffice # office, but based libreoffice # office, but based
calibre # ugly af eBook library manager calibre # ugly af eBook library manager
# foliate # gtk eBook reader # foliate # gtk eBook reader
newsflash # feed reader, syncs with nextcloud # newsflash # feed reader, syncs with nextcloud
wike # gtk wikipedia wow! # wike # gtk wikipedia wow!
denaro # manage your finances # denaro # manage your finances
furtherance # I made this one tehee track time utility furtherance # I packaged this one tehee track time utility
gnome.simple-scan # scanner gnome.simple-scan # scanner
#+end_src #+end_src
*** MISC *** MISC
Most of these apps, are part of the gnome circle, and I decide to install them Most of these apps, are part of the gnome circle, and I decide to install them
if just for a try and play a little. Most are kept commented out as an archive, if just for a try and play a little. Most I keep commented out as an archive,
so I remember their names in case I want to check them out or recommend them to so I remember their names in case I want to check them out or recommend them to
someone. someone.
@ -504,7 +493,7 @@ blanket # background noise
pika-backup # backups pika-backup # backups
metadata-cleaner # remove any metadata and geolocation from files metadata-cleaner # remove any metadata and geolocation from files
# sequeler # friendly SQL client # sequeler # friendly SQL client
czkawka # duplicate finder # czkawka # duplicate finder
# celeste # sync tool for any cloud provider # celeste # sync tool for any cloud provider
#+end_src #+end_src
@ -516,7 +505,7 @@ of these, for now.
#+begin_src nix #+begin_src nix
celluloid # video player celluloid # video player
# cozy # audiobooks player # cozy # audiobooks player
hakuneko # manga & comic GUI downloader # hakuneko # manga & comic GUI downloader
# gnome-podcasts # podcast player # gnome-podcasts # podcast player
handbrake # video converter, may be unnecessary handbrake # video converter, may be unnecessary
curtail # image compressor curtail # image compressor
@ -526,9 +515,9 @@ gnome-obfuscate # censor private information
mousai # poor man shazam mousai # poor man shazam
tagger # tag music files tagger # tag music files
obs-studio # screen recorder & streamer obs-studio # screen recorder & streamer
# shortwave # listen to world radio shortwave # listen to world radio
nextcloud-client # self-hosted google-drive alternative nextcloud-client # self-hosted google-drive alternative
fragments fragments # beautiful torrent client
#+end_src #+end_src
*** WEB *** WEB
@ -542,13 +531,11 @@ tor-browser-bundle-bin # dark web, so dark!
chromium # web browser with spyware included chromium # web browser with spyware included
telegram-desktop # furry chat telegram-desktop # furry chat
nicotine-plus # remember Ares? nicotine-plus # remember Ares?
warp # never used, but supposedly cool for sharing files
discord
vesktop vesktop
# (pkgs.discord.override { (pkgs.discord.override {
# # withOpenASAR = true; withOpenASAR = true;
# withVencord = true; # withVencord = true;
# }) })
# hugo # website engine # hugo # website engine
#+end_src #+end_src
@ -556,9 +543,6 @@ vesktop
cli and tui packages, which on their own right are as or more powerful than the cli and tui packages, which on their own right are as or more powerful than the
packages on the previous section. packages on the previous section.
=note= exa is no longer maintained, and will soon be replaced by eza, a maintained
fork.
#+begin_src nix #+begin_src nix
unstable.yt-dlp # downloads videos from most video websites unstable.yt-dlp # downloads videos from most video websites
unstable.gallery-dl # similar to yt-dlp but for most image gallery websites unstable.gallery-dl # similar to yt-dlp but for most image gallery websites
@ -575,8 +559,8 @@ rmlint # probably my favourite app, amazing dupe finder that integrates well wit
imagemagick # photoshop what?? imagemagick # photoshop what??
ffmpeg # not ffmpreg, the coolest video conversion tool! ffmpeg # not ffmpreg, the coolest video conversion tool!
# torrenttools # create torrent files from the terminal! torrenttools # create torrent files from the terminal!
# vcsi # video thumbnails for torrents, can I replace it with ^? vcsi # video thumbnails for torrents, can I replace it with ^?
#+end_src #+end_src
*** MY SCRIPTS *** MY SCRIPTS
@ -681,7 +665,7 @@ Libraries & apps not found on the nix-store and scripts made by me.
#+end_src #+end_src
*** NODEJS PACKAGES *** NODEJS PACKAGES
Mostly language servers and linters. Language servers and linters.
#+begin_src nix #+begin_src nix
]) ++ (with pkgs.nodePackages; [ ]) ++ (with pkgs.nodePackages; [
@ -698,7 +682,7 @@ Mostly language servers and linters.
#+end_src #+end_src
** GNOME EXTENSIONS ** GNOME EXTENSIONS
The last line can be commented to allow for the installation of gnome-extensions The last line can is there to allow for the installation of gnome-extensions
from the unstable channel. from the unstable channel.
#+begin_src nix #+begin_src nix
@ -710,7 +694,7 @@ from the unstable channel.
reading-strip # like putting a finger on every line I read reading-strip # like putting a finger on every line I read
tactile # window manager tactile # window manager
pano # clipboard manager pano # clipboard manager
# freon # hardware temperature monitor freon # hardware temperature monitor
# blur-my-shell # make the overview more visually appealing # blur-my-shell # make the overview more visually appealing
# gamemode # I guess I'm a gamer now? # gamemode # I guess I'm a gamer now?
# burn-my-windows # burn-my-windows
@ -842,8 +826,8 @@ packages through home-manager.
#+begin_src nix #+begin_src nix
programs = { programs = {
hstr.enable = true;
emacs.enable = true; emacs.enable = true;
hstr.enable = true;
direnv = { direnv = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = true;
@ -910,7 +894,7 @@ may be challenging.
The environment.etc block allows for bluetooth devices to control volume, pause, The environment.etc block allows for bluetooth devices to control volume, pause,
and other things through the headset controls. and other things through the headset controls.
Declare environment variables whose function is mostly to clear-up the $HOME Declare environment variables whose function is to clear-up the $HOME
directory from as much bloat as possible, as well as some minor graphical tweaks directory from as much bloat as possible, as well as some minor graphical tweaks
some applications use. some applications use.
@ -991,6 +975,7 @@ of some services.
#+begin_src nix #+begin_src nix
programs = { programs = {
starship.enable = true; starship.enable = true;
tmux.enable = true;
fzf.fuzzyCompletion = true; fzf.fuzzyCompletion = true;
neovim = { neovim = {
enable = true; enable = true;
@ -1016,12 +1001,12 @@ programs = {
#+end_src #+end_src
* SERVICES * SERVICES
Miscellaneous services, most of which are managed by systemd. Miscellaneous services, managed by systemd.
- avahi: allows to discover/connect to devices through their hostname on the - avahi: allows to discover/connect to devices through their hostname on the
same network. same network.
- fstrim/btrfs: file-system services. - fstrim/btrfs: file-system services.
- psd: profile-sync-daemon, loads the chrome/firefox profile to ram. - psd: profile-sync-daemon, loads the Chrome/Firefox profile to ram.
#+begin_src nix #+begin_src nix
services = { services = {
@ -1119,8 +1104,8 @@ fonts.fontconfig.enable = true;
#+end_src #+end_src
* HARDWARE * HARDWARE
Computer-specific hardware settings. The power management settings are Computer-specific hardware settings. The power management settings default to
defaulted to "performance". "performance".
- nvidia: GPU drivers. - nvidia: GPU drivers.
- sane: hp scanner drivers. - sane: hp scanner drivers.
@ -1181,8 +1166,6 @@ virtualisation = {
docker = { docker = {
enable = true; enable = true;
enableNvidia = true; enableNvidia = true;
# dockerCompat = true;
# defaultNetwork.settings.dns_enabled = true;
autoPrune = { autoPrune = {
enable = true; enable = true;
flags = [ "--all" ]; flags = [ "--all" ];