diff --git a/2-core.sh b/2-core.sh index 96dd0d8..64b7b25 100644 --- a/2-core.sh +++ b/2-core.sh @@ -6,8 +6,9 @@ cp -a config/. ~/.config # actually, I want this command to be indempotent, mmh # install core packages -bash packages/core/1-lf.sh -bash packages/core/2-tmux.sh +sudo apt install lf +sudo apt install tmux +sudo apt install curl make git bash packages/core/3-gnome-extensions.sh bash packages/core/4-alacritty.sh diff --git a/4-finegrained.sh b/4-finegrained.sh index 82686bc..4f83356 100755 --- a/4-finegrained.sh +++ b/4-finegrained.sh @@ -1,3 +1,7 @@ source packages/finegrained/1-rose.sh +sudo apt install zathura +sudo apt install vlc +source packages/finegrained/3-mullvad.sh + echo 1 && sleep 2 && bash diff --git a/README.md b/README.md index b5a2d60..92e093e 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,25 @@ # NunOS: A soothing Linux distribution +Note: still very much a work in progress! + ## Plan -- [ ] Decide on base distro: debian +- [x] Decide on base distro: debian - Good governance model - I trust it, I like it - I dislike systemd, but Gentoo, OpenBSD, Devuan, etc. seem too niche -- [ ] Decide on desktop environment: GNOME - - Good for shortsighted users - - Sensible array of default applications - - Doesn't try to imitate Windows - - I like the search with the "windows" key - - Escape hatch - - Xmonad too hardcore -- [ ] Figure out a few basic things - - how to specify shortcuts in the command line: gsettings, or dconf-editor -- [ ] Describe how to get debian step by step +- [x] Decide on desktop environment: xfce. - [ ] Describe how to install debian step by step - [ ] Describe how to install the recommended software step by step. - With .md.sh scripts - Why imperatively? Because nixos has a much higher setup cost for me. - [ ] Recommended hardware +- [ ] Potentially build on top of this to SentinelOS +- [ ] Install way more software + +Previously done for GNOME +- [x] Figure out how to specify shortcuts in the command line: gsettings, or dconf-editor + ## About @@ -44,3 +43,7 @@ Partition > Guided - use entire disk and set up encrypted LVM. wget https://git.nunosempere.com/open.source/nunOS/raw/branch/master/1-bootstrap.sh source bootstrap.sh ``` + +## Notes to self + +- Doing this step by step and testing in between is too annoying. Better to imperatively define it and then test it at the end. diff --git a/packages/core/1-lf.sh b/packages/core/1-lf.sh deleted file mode 100644 index 32d3602..0000000 --- a/packages/core/1-lf.sh +++ /dev/null @@ -1 +0,0 @@ -sudo apt install lf diff --git a/packages/core/2-tmux.sh b/packages/core/2-tmux.sh deleted file mode 100644 index f377d62..0000000 --- a/packages/core/2-tmux.sh +++ /dev/null @@ -1 +0,0 @@ -sudo apt install tmux diff --git a/packages/core/3-gnome-extensions.sh b/packages/core/3-gnome-extensions.sh index 77177b2..2d77c7f 100644 --- a/packages/core/3-gnome-extensions.sh +++ b/packages/core/3-gnome-extensions.sh @@ -23,3 +23,4 @@ wmctrl -a $name gsettings set org.gnome.shell disable-user-extensions false gnome-extensions enable gtktitlebar@velitasali.github.io gnome-extensions enable hidetopbar@mathieu.bidon.ca +# also, should go to settings and set "always", not just when maximized. diff --git a/packages/finegrained/1-rose.sh b/packages/finegrained/1-rose.sh index 46a1c24..2dadf54 100644 --- a/packages/finegrained/1-rose.sh +++ b/packages/finegrained/1-rose.sh @@ -6,9 +6,9 @@ sudo chown $(whoami) rosenrot-browser git clone https://github.com/NunoSempere/rosenrot-browser cd rosenrot-browser -cd user-scripts -cd debian-12 -bash install-with-dependencies.sh +bash user-scripts/debian-12/install-with-dependencies-gtk4.sh +make +sudo make install rose https://git.nunosempere.com/open.source/nunOS https://git.nunosempere.com/open.source/rosenrot & cd ~/nunOS diff --git a/packages/finegrained/2-zathura.sh b/packages/finegrained/2-zathura.sh new file mode 100644 index 0000000..fde2d33 --- /dev/null +++ b/packages/finegrained/2-zathura.sh @@ -0,0 +1 @@ +sudo apt install zathura diff --git a/packages/finegrained/3-mullvad.sh b/packages/finegrained/3-mullvad.sh new file mode 100644 index 0000000..77a6ae7 --- /dev/null +++ b/packages/finegrained/3-mullvad.sh @@ -0,0 +1,9 @@ +# Download the Mullvad signing key +sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc + +# Add the Mullvad repository server to apt +echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list + +# Install the package +sudo apt update +sudo apt install mullvad-vpn diff --git a/packages/finegrained/4-brave.sh b/packages/finegrained/4-brave.sh new file mode 100644 index 0000000..3ed00e3 --- /dev/null +++ b/packages/finegrained/4-brave.sh @@ -0,0 +1 @@ +curl -fsS https://dl.brave.com/install.sh | sh diff --git a/packages/finegrained/5-stremio.sh b/packages/finegrained/5-stremio.sh new file mode 100644 index 0000000..48dcd80 --- /dev/null +++ b/packages/finegrained/5-stremio.sh @@ -0,0 +1,3 @@ +sudo apt install flatpak +flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +flatpak install com.stremio.Stremio diff --git a/packages/finegrained/6-tmpmail.sh b/packages/finegrained/6-tmpmail.sh new file mode 100644 index 0000000..795bc96 --- /dev/null +++ b/packages/finegrained/6-tmpmail.sh @@ -0,0 +1,9 @@ +cd /var/local +sudo mkdir tmpmail +sudo chown $(whoami) tmpmail +git clone https://github.com/sdushantha/tmpmail +cd tmpmail +chmod +x tmpmail +sudo mv tmpmail /usr/bin/tmpmail + +sudo apt install w3m diff --git a/packages/manual/index.md b/packages/manual/index.md new file mode 100644 index 0000000..d5985ca --- /dev/null +++ b/packages/manual/index.md @@ -0,0 +1,4 @@ +- Gnome extensions > GTK title bar > Always +- Settings > Keyboard > Input sources > add Spanish. +- Gnome tweaks > Keyboard and mouse > Additional layout options > swap esc and caps locs. +- https://extensions.gnome.org/extension/5943/soft-brightness-plus/