From 66089397cb927303dda213213a7b946b2cf8326b Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Tue, 12 Mar 2024 10:04:54 -0600 Subject: [PATCH] spring cleaning --- workstation/configuration.org | 83 ++++++++++++++--------------------- 1 file changed, 33 insertions(+), 50 deletions(-) diff --git a/workstation/configuration.org b/workstation/configuration.org index 57ace2a..0d7803f 100644 --- a/workstation/configuration.org +++ b/workstation/configuration.org @@ -13,10 +13,9 @@ - [ ] Figure out how to get rid of xterm * DECLARATION -Here I will declare the dependencies and variables that will be used multiple -times through the config file, such as the current version of NixOS, -repositories and even some scripts that will be reused on systemd -configurations. +Here I will declare the dependencies and variables that I call multiple times +through the config file, such as the current version of NixOS, repositories and +even some scripts that I reuse on systemd configurations. - version: used by both NixOS and home-manager to dictate the state repository 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 by case use. - 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. @@ -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 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, -and repetition is maddening. +don't care to figure out whether I need TCP or UDP so let's open both, and +repetition is maddening. #+begin_src nix networking = { @@ -274,15 +273,7 @@ services.pipewire = { # rate = 48000; # }; }; -hardware = { - pulseaudio.enable = false; - bluetooth.enable = true; - bluetooth.settings = { - General = { - Enable = "Source,Sink,Media,Socket"; - }; - }; -}; +hardware.pulseaudio.enable = false; #+end_src * SECURITY @@ -453,7 +444,6 @@ and wineWow are installed. #+begin_src nix wineWowPackages.stable -bottles (lutris.override { extraPkgs = pkgs: [ winetricks @@ -461,12 +451,11 @@ bottles wineWowPackages.stable ]; }) -cartridges +cartridges # games launcher heroic # install epic games gamemode # optimizes linux to have better gaming performance # grapejuice # roblox manager # minecraft # minecraft official launcher -parsec-bin # remote gaming with friends protonup-qt # update proton-ge 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 calibre # ugly af eBook library manager # foliate # gtk eBook reader -newsflash # feed reader, syncs with nextcloud -wike # gtk wikipedia wow! -denaro # manage your finances -furtherance # I made this one tehee track time utility +# newsflash # feed reader, syncs with nextcloud +# wike # gtk wikipedia wow! +# denaro # manage your finances +furtherance # I packaged this one tehee track time utility gnome.simple-scan # scanner #+end_src *** MISC 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 someone. @@ -504,7 +493,7 @@ blanket # background noise pika-backup # backups metadata-cleaner # remove any metadata and geolocation from files # sequeler # friendly SQL client -czkawka # duplicate finder +# czkawka # duplicate finder # celeste # sync tool for any cloud provider #+end_src @@ -516,7 +505,7 @@ of these, for now. #+begin_src nix celluloid # video player # cozy # audiobooks player -hakuneko # manga & comic GUI downloader +# hakuneko # manga & comic GUI downloader # gnome-podcasts # podcast player handbrake # video converter, may be unnecessary curtail # image compressor @@ -526,9 +515,9 @@ gnome-obfuscate # censor private information mousai # poor man shazam tagger # tag music files obs-studio # screen recorder & streamer -# shortwave # listen to world radio +shortwave # listen to world radio nextcloud-client # self-hosted google-drive alternative -fragments +fragments # beautiful torrent client #+end_src *** WEB @@ -542,13 +531,11 @@ tor-browser-bundle-bin # dark web, so dark! chromium # web browser with spyware included telegram-desktop # furry chat nicotine-plus # remember Ares? -warp # never used, but supposedly cool for sharing files -discord vesktop -# (pkgs.discord.override { -# # withOpenASAR = true; -# withVencord = true; -# }) +(pkgs.discord.override { + withOpenASAR = true; + # withVencord = true; +}) # hugo # website engine #+end_src @@ -556,9 +543,6 @@ vesktop cli and tui packages, which on their own right are as or more powerful than the packages on the previous section. -=note= exa is no longer maintained, and will soon be replaced by eza, a maintained -fork. - #+begin_src nix unstable.yt-dlp # downloads videos from most video 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?? ffmpeg # not ffmpreg, the coolest video conversion tool! -# torrenttools # create torrent files from the terminal! -# vcsi # video thumbnails for torrents, can I replace it with ^? +torrenttools # create torrent files from the terminal! +vcsi # video thumbnails for torrents, can I replace it with ^? #+end_src *** MY SCRIPTS @@ -681,7 +665,7 @@ Libraries & apps not found on the nix-store and scripts made by me. #+end_src *** NODEJS PACKAGES -Mostly language servers and linters. +Language servers and linters. #+begin_src nix ]) ++ (with pkgs.nodePackages; [ @@ -698,7 +682,7 @@ Mostly language servers and linters. #+end_src ** 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. #+begin_src nix @@ -710,7 +694,7 @@ from the unstable channel. reading-strip # like putting a finger on every line I read tactile # window manager pano # clipboard manager - # freon # hardware temperature monitor + freon # hardware temperature monitor # blur-my-shell # make the overview more visually appealing # gamemode # I guess I'm a gamer now? # burn-my-windows @@ -842,8 +826,8 @@ packages through home-manager. #+begin_src nix programs = { - hstr.enable = true; emacs.enable = true; + hstr.enable = true; direnv = { enable = true; enableBashIntegration = true; @@ -910,7 +894,7 @@ may be challenging. The environment.etc block allows for bluetooth devices to control volume, pause, 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 some applications use. @@ -991,6 +975,7 @@ of some services. #+begin_src nix programs = { starship.enable = true; + tmux.enable = true; fzf.fuzzyCompletion = true; neovim = { enable = true; @@ -1016,12 +1001,12 @@ programs = { #+end_src * 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 same network. - 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 services = { @@ -1119,8 +1104,8 @@ fonts.fontconfig.enable = true; #+end_src * HARDWARE -Computer-specific hardware settings. The power management settings are -defaulted to "performance". +Computer-specific hardware settings. The power management settings default to +"performance". - nvidia: GPU drivers. - sane: hp scanner drivers. @@ -1181,8 +1166,6 @@ virtualisation = { docker = { enable = true; enableNvidia = true; - # dockerCompat = true; - # defaultNetwork.settings.dns_enabled = true; autoPrune = { enable = true; flags = [ "--all" ];