diff --git a/debian_bash_history b/debian_bash_history new file mode 100644 index 00000000..e693b83c --- /dev/null +++ b/debian_bash_history @@ -0,0 +1,145 @@ +apt update && apt full-upgrade +sudo apt update && sudo apt full-upgrade +su - +sudo apt update && sudo apt full-upgrade +sudo apt search gnome +sudo apt install gnome/sdtable +sudo apt install gnome/stable +sudo vim /etc/apt/apt.conf +sudo vim /etc/apt/apt.conf.d/disable-recommends +sudo apt update && sudo apt upgrade +sudo apt install gnome/stable +sudo apt install gdm +sudo apt install gdm3 +mutter +sudo apt search xwayland +sudo apt install xwayland +sudo apt install xorg +sudo apt install xorg mesa-utils x11-xfs-utils firmware-amd-graphics firmware-misc-nonfree +sudo systemctl start gdm3 +g diff +git diff +g st +git status +git ci home/.chezmoidata/packages.yaml -m 'Install some packages on Linux (debian for now)' +g st +vim home/.chezmoidata/packages.yaml +vim home/run_onchange_install-packages.sh.tmpl +vim home/.chezmoidata/packages.yaml +git diff +git status +git ci home/run_onchange_install-packages.sh.tmpl -m 'Install packages on linux' +curl --remote-name https://prerelease.keybase.io/keybase_amd64.deb +sudo apt install ./keybase_amd64.deb +sudo apt install keybase +keybase +mount +cd /run/user/1000/keybase/kbfs +ls +cd private/gwarf +ls +cd gpg +ls +car README.md +cat README.md +ls +ls new/ +cd new/ +ls +gpg --allow-secret-key --import 1F1C21E2-secret-subkey-laptop.asc +sudo nvim /etc/apt/apt.conf +sudo nvim /etc/apt/sources.list +sudo apt update +sudo apt install -t testing git-delta +sudo nvim /etc/apt/sources.list +sudo apt update +sudo apt install -t testing git-delta +sudo apt install git-delta +sudo apt update +sudo apt upgrade +sudo apt upgrade --verbose +sudo apt upgrade -v +sudo apt upgrade -d +sudo nvim /etc/apt/sources.list +sudo apt update +sudo apt upgrade +cat /etc/apt/sources.list.d/keybase.list +apt search obsidian +snap search obsidian +cd ~/Downloads/ +ls +sudo apt install git-delta_0.18.0_amd64.deb +sudo apt install ./git-delta_0.18.0_amd64.deb +delta +chezmoi cd +fg +chezmoi cd +fg +chezmoi +chezmoi pull +chezmoi +chezmoi cd +git pull +git diff +git status +vim home/.chezmoiignore +git status +git restore home/.chezmoiignore +git status +git pull +chezmoi diff +vim home/.chezmoidata/packages.yaml +zh +chezmoi apply +apt --help +apt help list +man apt +apt install -h +apt install --help +apt install +vim home/.chezmoidata/packages.yaml +vim home/run_onchange_install-packages.sh.tmpl +apt install +vim home/run_onchange_install-packages.sh.tmpl +chezmoi apply +fish +vim home/.chezmoidata/packages.yaml +chezmoi apply +fish +sudo apt update && sudo apt full-upgrade +apt search keybase +git status +rm keybase_amd64.deb +apt search delta +apt search lazygit +vim home/.chezmoidata/packages.yaml +chezmoi apply +vim home/run_onchange_install-packages.sh.tmpl +vim home/.chezmoidata/packages.yaml +chezmoi apply +snap +snap help install +vim home/.chezmoidata/packages.yaml +vim home/run_onchange_install-packages.sh.tmpl +chezmoi apply +vim home/.chezmoidata/packages.yaml +chezmoi apply +man 8 apt-key +vim home/.chezmoidata/packages.yaml +git ci home/.chezmoidata/packages.yaml -m 'Install debian packages' +git status +git diff +git ci -am 'Install debian packages and snaps' +git push +vim home/.chezmoidata/packages.yaml +chezmoi apply +sudo snap install --edge starship +sudo snap install obsidian +sudo snap search obsidian +sudo snap install obsidian --classic +chezmoi apply +chezmoi init +chezmoi apply +fish +tmux +echo $'\uf115' diff --git a/debian_fish_history b/debian_fish_history new file mode 100644 index 00000000..c3331454 --- /dev/null +++ b/debian_fish_history @@ -0,0 +1,308 @@ +- cmd: su - +- cmd: sudo apt search gnome +- cmd: sudo apt install gnome/sdtable +- cmd: sudo vim /etc/apt/apt.conf.d/disable-recommends +- cmd: sudo apt update && sudo apt upgrade +- cmd: sudo apt install gnome/stable +- cmd: sudo apt install gdm +- cmd: sudo apt install gdm3 +- cmd: mutter +- cmd: sudo apt search xwayland +- cmd: sudo apt install xwayland +- cmd: sudo apt install xorg +- cmd: sudo apt install xorg mesa-utils x11-xfs-utils firmware-amd-graphics firmware-misc-nonfree +- cmd: sudo systemctl start gdm3 +- cmd: chsh -s /usr/bin/fish + paths: + - /usr/bin/fish +- cmd: git ci -am 'More' +- cmd: fzf --fish +- cmd: apt search bat +- cmd: apt install bat +- cmd: sudo apt install bat +- cmd: dpkg -L bat +- cmd: batcat +- cmd: uname +- cmd: uname -m +- cmd: uname -h +- cmd: uname --help +- cmd: uname -n +- cmd: uname -a +- cmd: uname -o +- cmd: nvim +- cmd: apt show neovim +- cmd: apt searcdh neovim +- cmd: apt search neovim +- cmd: snap search neovim +- cmd: nvim home/.chezmoidata/packages.yaml + paths: + - home/.chezmoidata/packages.yaml +- cmd: fg +- cmd: snap install nvim +- cmd: snap install nvim --classic +- cmd: dpkg -L fzf +- cmd: sudo vim /etc/apt/apt.conf +- cmd: sudo vim /etc/apt/sources.list + paths: + - /etc/apt/sources.list +- cmd: apt update && apt full-upgrade +- cmd: ps auxf +- cmd: sudo apt update && sudo apt full-upgrade +- cmd: sudo apt autoremove +- cmd: sudo reboot +- cmd: sudo apt install git-delta +- cmd: sudo snap list + paths: + - snap +- cmd: ls -la ~/.config/tmux/tmux.conf + paths: + - ~/.config/tmux/tmux.conf +- cmd: chezmoi setattr +template ~/.config/tmux/tmux.conf + paths: + - ~/.config/tmux/tmux.conf +- cmd: chezmoi chattr +template ~/.config/tmux/tmux.conf + paths: + - ~/.config/tmux/tmux.conf +- cmd: chezmoi edit ~/.config/tmux/tmux.conf + paths: + - ~/.config/tmux/tmux.conf +- cmd: apt search git-delta +- cmd: alias +- cmd: apt search chezmoi +- cmd: apt search doggo +- cmd: apt search dust +- cmd: apt install dust +- cmd: sudo apt install dust +- cmd: sudo apt install languagetool +- cmd: sudo apt install lazygit +- cmd: sudo apt show neovim +- cmd: sudo apt search obsidian +- cmd: sudo apt search testssl +- cmd: sudo snap remove testssl +- cmd: sudo apt search starship +- cmd: sudo apt search yaml-language +- cmd: sudo apt search yazi +- cmd: sudo snap search yazi +- cmd: sudo apt search treesitter +- cmd: sudo apt search tree-sitter +- cmd: sudo apt install tree-sitter +- cmd: sudo apt search stylua +- cmd: sudo apt search ripgrep +- cmd: sudo apt search rbw +- cmd: sudo snap search rbw +- cmd: sudo snap search pstree +- cmd: sudo apt search pstree +- cmd: sudo apt search prettier +- cmd: sudo snap search prettier +- cmd: sudo snap search markdownlint +- cmd: sudo apt search markdownlint +- cmd: sudo apt search lua-language-server +- cmd: sudo snap search lua-language-server +- cmd: sudo apt search lsusb +- cmd: sudo apt search ltex +- cmd: sudo snap search ltex +- cmd: sudo apt search gpgme +- cmd: sudo apt search fd-utils +- cmd: sudo apt search fd +- cmd: sudo apt search fd | grep find +- cmd: sudo apt search checkma +- cmd: sudo apt search checkmaake +- cmd: sudo apt search checkmake +- cmd: sudo snap search checkmake +- cmd: sudo snap search bitwarden +- cmd: sudo apt search bitwarden +- cmd: sudo apt search ansible +- cmd: sudo snap search ansible +- cmd: git ci home/.chezmoidata/packages.yaml -m 'Update packages for debian testing' + paths: + - home/.chezmoidata/packages.yaml +- cmd: git diff home/private_dot_config/private_fish/config.fish.tmpl + paths: + - home/private_dot_config/private_fish/config.fish.tmpl +- cmd: apt show tmux +- cmd: apt show fzf +- cmd: git ci home/private_dot_config/private_fish/config.fish.tmpl -m 'Fix fzf init' + paths: + - home/private_dot_config/private_fish/config.fish.tmpl +- cmd: git add +- cmd: git add home/private_dot_config/tmux/tmux.conf.tmpl + paths: + - home/private_dot_config/tmux/tmux.conf.tmpl +- cmd: git ci -am 'Make tmux.conf a template and fix fish path on linux' +- cmd: git push +- cmd: apt search hack +- cmd: apt search hack | grep font +- cmd: apt search fonts-hack +- cmd: bat +- cmd: ln -s /usr/bin/batcat ~/bin/bat + paths: + - /usr/bin/batcat +- cmd: test -x ~/bin + paths: + - ~/bin +- cmd: test -e ~/bin + paths: + - ~/bin +- cmd: man test +- cmd: sudo snap install --edge prettier +- cmd: .sd +- cmd: echo $PATH +- cmd: chezmoi apply ~/.config/fish/config.fish + paths: + - ~/.config/fish/config.fish +- cmd: chezmoi edit ~/.config/fish/config.fish + paths: + - ~/.config/fish/config.fish +- cmd: kitty +- cmd: ks +- cmd: cat ~/.config/kitty/kitty.conf + paths: + - ~/.config/kitty/kitty.conf +- cmd: apt search nerd | grep font +- cmd: mkdir -p ~/.local/share/fonts +- cmd: cd ~/.local/share/fonts && curl -fLO https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts/DroidSansMono/DroidSansMNerdFont-Regular.otf + paths: + - ~/.local/share/fonts +- cmd: apt search nerd-font +- cmd: snap search nerd-font +- cmd: tmux a +- cmd: vim ~/.config/tmux/tmux.conf + paths: + - ~/.config/tmux/tmux.conf +- cmd: bash -c "$(curl -fsSL https://raw.githubusercontent.com/officialrajdeepsingh/nerd-fonts-installer/main/install.sh)" +- cmd: apt search fonts | bat +- cmd: apt search fonts +- cmd: apt search fonts | less +- cmd: sudo apt update +- cmd: sudo apt install fonts-symbola +- cmd: fc-cache -f +- cmd: bash +- cmd: snap search nerds +- cmd: apt search nerds +- cmd: apt search nerd +- cmd: apt show fonts-anonymous-pro +- cmd: apt show fonts-font-awesome +- cmd: sudo apt install fonts-font-awesome +- cmd: sudo apt install fonts-material-design-icons-iconfont +- cmd: tmux +- cmd: rm NerdFontsSymbolsOnly.zip + paths: + - NerdFontsSymbolsOnly.zip +- cmd: vim fonts.sh +- cmd: mv fonts.sh nerd-fonts.sh + paths: + - fonts.sh +- cmd: chmod +x nerd-fonts.sh + paths: + - nerd-fonts.sh +- cmd: sdd +- cmd: fc-cache -fv +- cmd: fc-cache -fr +- cmd: qls -la .local/share/fonts + paths: + - .local/share/fonts +- cmd: ls -la .local/share/fonts + paths: + - .local/share/fonts +- cmd: rm .local/share/fonts/JetBrainsMono.zip + paths: + - .local/share/fonts/JetBrainsMono.zip +- cmd: rm -rf ~/.local/share/fonts + paths: + - ~/.local/share/fonts +- cmd: chezmoi diff +- cmd: chezmoi apply +- cmd: vim ./nerd-fonts.sh +- cmd: nvim ./nerd-fonts.sh +- cmd: vim nerd-fonts.sh + paths: + - nerd-fonts.sh +- cmd: ./nerd-fonts.sh +- cmd: mv nerd-fonts.sh ~/bin/ + paths: + - nerd-fonts.sh + - ~/bin/ +- cmd: chezmoi add ~/bin/nerd-fonts.sh + paths: + - ~/bin/nerd-fonts.sh +- cmd: lsd +- cmd: fc-cache -frv +- cmd: ls /home/baptiste/.local/share/fonts + paths: + - /home/baptiste/.local/share/fonts +- cmd: apt search jetbrains +- cmd: apt remove fonts-jetbrains-mono +- cmd: sudo apt remove fonts-jetbrains-mono +- cmd: dpkg -l jetb +- cmd: dpkg -l '*jetb*' +- cmd: dpkg -l '*font*' +- cmd: sudo apt remove fonts-symbola fonts-hack +- cmd: dpkg -l '*font*' | grep ^ii +- cmd: vim ~/.config/kitty/kitty.conf + paths: + - ~/.config/kitty/kitty.conf +- cmd: chezmoi chattr +template ~/.config/kitty/kitty.conf + paths: + - ~/.config/kitty/kitty.conf +- cmd: chezmoi edit ~/.config/kitty/kitty.conf + paths: + - ~/.config/kitty/kitty.conf +- cmd: chezmoi diff ~/.config/kitty/kitty.conf + paths: + - ~/.config/kitty/kitty.conf +- cmd: chezmoi apply ~/.config/kitty/kitty.conf + paths: + - ~/.config/kitty/kitty.conf +- cmd: apt search starship +- cmd: snap search starship +- cmd: vim +- cmd: vim https://starship.rs/install.sh +- cmd: curl -sS https://starship.rs/install.sh | bash +- cmd: curl -sS https://starship.rs/install.sh | sh +- cmd: git statsu +- cmd: git ci home/.chezmoidata/packages.yaml + paths: + - home/.chezmoidata/packages.yaml +- cmd: vim home/.chezmoidata/packages.yaml + paths: + - home/.chezmoidata/packages.yaml +- cmd: git diff home/.chezmoidata/packages.yaml + paths: + - home/.chezmoidata/packages.yaml +- cmd: git ci home/.chezmoidata/packages.yaml -m 'More packages for debian testing' + paths: + - home/.chezmoidata/packages.yaml +- cmd: git add home/bin/executable_nerd-fonts.sh + paths: + - home/bin/executable_nerd-fonts.sh +- cmd: git ci home/bin/executable_nerd-fonts.sh -m 'Add scripts to install nerd fonts' + paths: + - home/bin/executable_nerd-fonts.sh +- cmd: git add home/private_dot_config/kitty/kitty.conf.tmpl + paths: + - home/private_dot_config/kitty/kitty.conf.tmpl +- cmd: git ci home/private_dot_config/private_fish/config.fish.tmpl + paths: + - home/private_dot_config/private_fish/config.fish.tmpl +- cmd: git st +- cmd: git ci -am 'Make tmux a template' +- cmd: echo $EDITOR +- cmd: ls +- cmd: cd +- cmd: vim ~/.gitconfig + paths: + - ~/.gitconfig +- cmd: chezmoi edit ~/.gitconfig + paths: + - ~/.gitconfig +- cmd: git status +- cmd: chezmoi cd +- cmd: git diff +- cmd: git ci -am 'Git: commit with nvim' +- cmd: git push +- cmd: grep gpg ~/.bash_history + paths: + - ~/.bash_history +- cmd: grep -B4 gpg ~/.bash_history + paths: + - ~/.bash_history diff --git a/debian_root_bash_history b/debian_root_bash_history new file mode 100644 index 00000000..80ed4449 --- /dev/null +++ b/debian_root_bash_history @@ -0,0 +1,75 @@ +echo brutal > /etc/hostname +echo -e '127.0.1.1\tbrutal' >> /etc/hosts +echo -e '127.0.1.1\tYOURHOSTNAME' >> /etc/hosts +vim /etc/hosts +vi /etc/hosts +ip addr +vi /etc/network/interfaces +vi /etc/network/interfaces.d/enp5s0 +vi /etc/apt/sources.list +apt install -y console-setup cryptsetup curl dosfstools efibootmgr keyboard-configuration locales sudo vim +apt install -y openssh-server +dpkg-reconfigure tzdata +dpkg-reconfigure locales +dpkg-reconfigure console-setup +setupcon +dpkg-reconfigure keyboard-configuration +passwd +adduser baptiste +echo $EFI_DISK +mkfs.vfat -F32 $EFI_DISK +echo "swap /dev/disk/by-partlabel/swap /dev/urandom swap,offset=2048,cipher=aes-xts-plain64,size=512" >> /etc/crypttab +cat << EOF > /etc/fstab +> $( blkid | grep "$EFI_DISK" | cut -d ' ' -f 2 ) /boot/efi vfat defaults 0 0 +> /dev/mapper/swap none swap defaults 0 0 +> proc /proc proc defaults 0 0 +> EOF +vim /etc/fstab + + +cat << EOF > /etc/fstab +$( blkid | grep "$EFI_DISK" | cut -d ' ' -f 2 ) /boot/efi vfat defaults 0 0 +/dev/mapper/swap none swap defaults 0 0 +proc /proc proc defaults 0 0 +EOF + +vim /etc/fstab +mkdir -p /boot/efi +mount /boot/efi +apt install -y linux-headers-amd64 linux-image-amd64 zfs-initramfs dosfstools +echo "REMAKE_INITRD=yes" > /etc/dkms/zfs.conf +apt install -y linux-headers-amd64 linux-image-amd64 zfs-initramfs dosfstools +apt update +apt install -y linux-headers-amd64 linux-image-amd64 zfs-initramfs dosfstools +echo "REMAKE_INITRD=yes" > /etc/dkms/zfs.conf +systemctl enable zfs.target +systemctl enable zfs-import-cache +systemctl enable zfs-mount +systemctl enable zfs-import.target +echo "UMASK=0077" > /etc/initramfs-tools/conf.d/umask.conf +update-initramfs -c -k all +zfs set org.zfsbootmenu:commandline="quiet loglevel=4" zroot/ROOT +zfs set org.zfsbootmenu:keysource="zroot/ROOT/${ID}" zroot +zpool set cachefile=/etc/zfs/zpool.cache zroot +mkdir -p /boot/efi/EFI/ZBM +curl -o /boot/efi/EFI/ZBM/VMLINUZ.EFI -L https://get.zfsbootmenu.org/efi +cp /boot/efi/EFI/ZBM/VMLINUZ.EFI /boot/efi/EFI/ZBM/VMLINUZ-BACKUP.EFI +mount -t efivarfs efivarfs /sys/firmware/efi/efivars +efibootmgr -c -d "$EFI_DISK" -p "$EFI_PART" -L "ZFSBootMenu (Backup)" -l '\EFI\ZBM\VMLINUZ-BACKUP.EFI' +efibootmgr -c -d "$EFI_DISK" -p "$EFI_PART" -L "ZFSBootMenu" -l '\EFI\ZBM\VMLINUZ.EFI' +mount -t efivarfs efivarfs /sys/firmware/efi/efivars +ls /sys/firmware/ +modprobe efivarfs +mount -t efivarfs efivarfs /sys/firmware/efi/efivars +cat /sys/firmware/efi/fw_platform_size +ls /boot/efi/ +mount /boot/efi +ls /boot/efi/ +ls /boot/efi/EFI/ +ls /boot/efi/EFI/ZBM/ +mount -t efivarfs efivarfs /sys/firmware/efi/efivars +efibootmgr -c -d "$EFI_DISK" -p "$EFI_PART" -L "ZFSBootMenu (Backup)" -l '\EFI\ZBM\VMLINUZ-BACKUP.EFI' +efibootmgr -c -d "$EFI_DISK" -p "$EFI_PART" -L "ZFSBootMenu" -l '\EFI\ZBM\VMLINUZ.EFI' +exit +visudo +vim /etc/group