cleaned up code, updated it for baremetal.

This commit is contained in:
Danilo Reyes 2023-04-30 15:23:15 -06:00
parent 8852818d8b
commit 194ebe7d01
5 changed files with 341 additions and 0 deletions

88
README.org Executable file
View File

@ -0,0 +1,88 @@
#+title:CaptainJawZ's system configuration
This is my personal system configuration, a project powered by the amazing
self-documenting capabilities of Emacs and NixOS. The goal of this project is
to create a declarative repository. Which when cloned into a live CD, will
replicate my ideal system into a fresh NixOS installation, preconfigured to my
every preference out of the box.
You may be wondering what that system looks like, so here is an overview:
- Modern looking system
- Vanilla Gnome with some quality-of-life extensions.
- A bunch of (preferably GTK/Libadwaita) applications to simplify common
tasks.
- Terminal friendly environment
- Feature-rich terminal applications for automation.
- Fish Shell functions to simplify menial tasks.
- Declaratively setting up paths in a centralize manner to avoid having to
check all of my scripts, functions, dotfiles, if I ever modify the location
of a directory.
- Developer ready environment both for learning and developing.
- Home media center
- Easy deployment of Docker containers for home media center.
- LAN-network settings
- Reverse proxies for accessing my servers outside my home-network
- Minimal gaming
- Windows 10 virtual-machine environment
- Self-organizing database of files
- Resources
https://gitlab.com/dwt1/dotfiles
- Secrets
https://nixos.wiki/wiki/Comparison_of_secret_managing_schemes
https://www.richdevelops.dev/blog/keeping-secrets-out-of-git
https://github.com/ryantm/agenix
https://github.com/Mic92/sops-nix
https://xeiaso.net/blog/nixos-encrypted-secrets-2021-01-20 <--- best one
https://www.reddit.com/r/NixOS/comments/j6nqbe/declarative_secrets/
- Babel
https://www.youtube.com/watch?v=kkqVTDbfYp4&t=1032s
https://orgmode.org/worg/org-contrib/babel/intro.html
https://orgmode.org/manual/Environment-of-a-Code-Block.html
https://org-babel.readthedocs.io/en/latest/eval/
#+name: square
#+begin_src python :results value :header :var x = 0 :var y = 0
return x * y
#+end_src
#+call: square(x=2, y=7)
#+RESULTS:
: 14
#+name: gnome
#+begin_src python :results value
list = [["blender", "gimp", "krita"],["curtail"]]
return list
#+end_src
#+call: gnome()
#+RESULTS:
| blender | gimp | krita |
| curtail | | |
#+name: addthree
#+begin_src python :results value
return <<square(x=2, y=3)>> + 3
#+end_src
#+call: addthree()
#+RESULTS:
#+name: list
- blender
- krita
- gimp
#+begin_src python :results output :var list=list
for item in list:
print(item)
#+end_src
#+RESULTS:
: ['blender']
: ['krita']
: ['gimp']

0
configuration.nix Executable file → Normal file
View File

View File

@ -4,6 +4,7 @@
#+auto_tangle: t #+auto_tangle: t
* TODO * TODO
- [ ] Clean up configuration file
- [ ] Check music [0/5] - [ ] Check music [0/5]
- [ ] Last.fm - [ ] Last.fm
- [ ] Libre.fm (optional) - [ ] Libre.fm (optional)

90
dotfiles/pacman list Executable file
View File

@ -0,0 +1,90 @@
# adw-gtk3
# adwaita-qt5
bash-language-server
caddy
curtail
# dnsmasq
# docker
# docker-compose
fail2ban
firewalld
fontdownloader
furtherance
gallery-dl-git
gnome-kra-ora-thumbnailer-git
graphviz
grilo-plugins
gtkhash-nautilus-git
haskell-language-server
hoogle
hunspell-en_ca
hunspell-es_mx
hunspell-it
identity-git
intel-ucode
languagetool
lazydocker
man-db
man-pages
menulibre
mousai
mpc
mpd
mpdas
mpdevil
mpdris2
mypaint
nautilus-megasync
ncmpcpp
neofetch
noise-suppression-for-voice
noto-fonts-cjk
npm
nss-mdns
nvidia
nvidia-container-toolkit
opendoas
orca
pacman-contrib
papirus-folders-git
papirus-libreoffice-theme
paru
patch
pika-backup
pipewire-v4l2
pkgconf
pokemon-colorscripts-git
protonvpn
pureref
python-nautilus
python-pipx
qemu-desktop
reflector
ripgrep
rmlint
rygel
samba
seahorse
seahorse-nautilus
shellcheck
starship
steam
sushi
syncplay
syncthing
texlive-latexextra
texlive-science
tilix
timeshift
topgrade
transmission-gtk
trash-cli
vino
virt-manager
warp
webp-pixbuf-loader
wine
wl-clipboard
xclip
xdg-user-dirs-gtk
zram-generator

162
dotfiles/pacman list new Executable file
View File

@ -0,0 +1,162 @@
adw-gtk3
adwaita-qt5
bash-bats # exercism
bash-language-server
beets # check plugins
bluez-utils-compat
celluloid
curtail # build
discord
discount
dnsmasq
docker
docker-compose
dropbox
easyeffects
emacs
eog
exa
exercism
fail2ban
fd
ffmpegthumbnailer
file-roller
firefox
firewalld
fish
flex
foliate
fontdownloader
furtherance
fzf
gallery-dl-git
gdm
gdu
geary
gifsicle
gnome-backgrounds
gnome-browser-connector
gnome-calculator
gnome-calendar
gnome-clocks
gnome-kra-ora-thumbnailer-git
gnome-logs
gnome-maps
gnome-podcasts
gnome-recipes
gnome-remote-desktop
gnome-shell-extension-gsconnect
gnome-system-monitor
gnome-tweaks
gnome-user-share
gnome-weather
gocryptfs
godot
google-chrome
graphviz
grilo-plugins
gst-plugin-pipewire
gtkhash-nautilus-git
gvfs-afc
gvfs-google
gvfs-gphoto2
gvfs-mtp
gvfs-nfs
gvfs-smb
handbrake
hoogle
htop
huiontablet
hunspell-en_ca
hunspell-es_mx
hunspell-it
identity
intel-ucode
krita
languagetool
lazydocker
libreoffice-fresh
linux-firmware
linux-headers
lutris
make
malcontent
man-db
man-pages
menulibre
mousai
mpc
mpd
mpdas
mpdevil
mpdris2
mypaint
nautilus-megasync
ncmpcpp
neofetch
nerd-fonts-cascadia-code
nerd-fonts-source-code-pro
nerd-fonts-ubuntu-mono
nixfmt
noise-suppression-for-voice
noto-fonts-cjk
noto-fonts-emoji
npm
nss-mdns
nvidia
nvidia-container-toolkit
orca
pacman-contrib
papirus-folders-git
papirus-libreoffice-theme
paru
patch
pika-backup
pipewire-v4l2
pitivi
pkgconf
pokemon-colorscripts-git
pokeshell-git
profile-sync-daemon
protonvpn
pureref
python-discogs-client
python-httpx
python-nautilus
python-pip
python-pipx
python-pylast
qemu-desktop
reflector
ripgrep
rmlint
rygel
samba
seahorse
seahorse-nautilus
shfmt
sshfs
starship
steam
sudo
sushi
syncplay
syncthing
texlive-latexextra
texlive-science
tilix
tldr
topgrade
transmission-gtk
trash-cli
vino
virt-manager
warp
webp-pixbuf-loader
wine
wl-clipboard
xclip
xdg-ninja-git
xdg-user-dirs-gtk
yt-dlp
zram-generator