mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
more work on README and ansible playbooks
This commit is contained in:
parent
f4d2da2fec
commit
b5870bd891
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@ echo -e "Starting update for Fedora..."
|
|||||||
cd ~/.dotfiles/provision
|
cd ~/.dotfiles/provision
|
||||||
|
|
||||||
# Install ansible and run playbook
|
# Install ansible and run playbook
|
||||||
ansible-playbook setup.yml -i hosts --ask-become-pass --tags "$1" --skip-tags "once"
|
ansible-playbook setup.yml -i hosts --ask-become-pass --tags "$1"
|
||||||
|
|
||||||
# Return to where you were
|
# Return to where you were
|
||||||
cd -
|
cd -
|
||||||
|
39
additional-setup.md
Normal file
39
additional-setup.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Additional Setup
|
||||||
|
|
||||||
|
The following documents Fedora setup that wasn't automated with ansible
|
||||||
|
|
||||||
|
## Zen-link Kernel for Fedora
|
||||||
|
|
||||||
|
I like a kernel simliar to the Arch Zen kernel for gaming. [Nobara](https://nobaraproject.org/) provides one in this [copr repo](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dnf copr enable sentry/kernel-fsync
|
||||||
|
sudo dnf update --refresh
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properitary Nvidia Drivers
|
||||||
|
|
||||||
|
Nvidia drivers are installed with this nice [copr repo](https://copr.fedorainfracloud.org/coprs/t0xic0der/nvidia-auto-installer-for-fedora/).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dnf copr enable t0xic0der/nvidia-auto-installer-for-fedora -y
|
||||||
|
sudo dnf install nvautoinstall -y
|
||||||
|
sudo nvautoinstall rpmadd
|
||||||
|
sudo nvautoinstall driver
|
||||||
|
sudo nvautoinstall ffmpeg
|
||||||
|
sudo nvautoinstall vulkan
|
||||||
|
sudo nvautoinstall vidacc
|
||||||
|
```
|
||||||
|
|
||||||
|
## Wireguard Client
|
||||||
|
|
||||||
|
Wireguard is nice for a home vpn.
|
||||||
|
|
||||||
|
1. Create client on server and copy resulting `.conf` file to `/etc/wireguard`
|
||||||
|
2. Add connection with nmcli
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo nmcli connection import type wireguard file /etc/wireguard/your-wg-file.conf
|
||||||
|
```
|
||||||
|
|
||||||
|
The vpn can be enable/disabled through gnome.
|
@ -1,10 +0,0 @@
|
|||||||
# Things you still have to do
|
|
||||||
- Setup syncthing via the web interface
|
|
||||||
- log into accounts
|
|
||||||
|
|
||||||
# Tags to use
|
|
||||||
- configs
|
|
||||||
- updates
|
|
||||||
- packages
|
|
||||||
- services
|
|
||||||
- once
|
|
@ -1,8 +1,10 @@
|
|||||||
- name: Add vscode repo
|
- name: Add vscodium repo
|
||||||
tags: ["once"]
|
tags: ["once"]
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: vscode
|
name: vscodium
|
||||||
description: Visual Studio Code
|
description: Free/Libre Open Source Software Binaries of VS Code
|
||||||
baseurl: https://packages.microsoft.com/yumrepos/vscode
|
baseurl: https://download.vscodium.com/rpms/
|
||||||
gpgkey: https://packages.microsoft.com/keys/microsoft.asc
|
gpgkey: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
- name: Install development dnf packages
|
- name: Install development dnf packages
|
||||||
dnf:
|
dnf:
|
||||||
name:
|
name:
|
||||||
- code # Visual Studio Code. Code editing. Redefined.
|
- codium # Free/Libre Open Source Software Binaries of VS Code
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
- syncthing # Continuous File Synchronization
|
- syncthing # Continuous File Synchronization
|
||||||
- flatpak # Application deployment framework for desktop apps
|
- flatpak # Application deployment framework for desktop apps
|
||||||
- pipewire-codec-aptx # PipeWire Bluetooth aptX codec plugin
|
- pipewire-codec-aptx # PipeWire Bluetooth aptX codec plugin
|
||||||
|
- ffmpeg # Digital VCR and streaming server
|
||||||
|
- wireguard # Fast, modern, secure vpn tunnel
|
||||||
|
- wireguard-tools # Tool for wireguard
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
- name: Make sure syncthing is enabled
|
- name: Start and enable syncthing
|
||||||
ansible.builtin.shell: systemctl enable syncthing@{{ user }}
|
systemd:
|
||||||
become: true
|
name: syncthing@{{ user }}
|
||||||
|
enabled: true
|
||||||
- name: Make sure syncthing is started
|
state: started
|
||||||
ansible.builtin.shell: systemctl start syncthing@{{ user }}
|
become: true
|
||||||
become: true
|
|
||||||
|
|
@ -1,11 +1,8 @@
|
|||||||
- name: Install vifm
|
- name: Install terminal dnf packages
|
||||||
dnf:
|
dnf:
|
||||||
name: vifm
|
name:
|
||||||
state: present
|
- stow # Symlink dots with a GNU
|
||||||
become: true
|
- vifm # File manager with curses interface
|
||||||
|
- neovim # Vim-fork focused on extensibility and agility
|
||||||
- name: Install stow
|
|
||||||
dnf:
|
|
||||||
name: stow
|
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
@ -1 +1,2 @@
|
|||||||
user: tstarr
|
user: tstarr
|
||||||
|
hostname: kestrel
|
24
readme.md
24
readme.md
@ -1,18 +1,16 @@
|
|||||||
# dotfiles
|
# Dotfiles
|
||||||
> My dotfiles... What do you want?
|
> My dotfiles... What do you want?
|
||||||
|
|
||||||
My personal dotfiles repo. Documentation is pretty spotty. Maybe I'll fix that someday, but I probably won't.
|
My personal dotfiles repo. Documentation is pretty spotty. Maybe I'll fix that someday, but I probably won't.
|
||||||
|
|
||||||
## usage
|
## Usage
|
||||||
|
|
||||||
The dotfiles are managed with stow and otherwise Ansible sets everything up. The Anisible scripts are built for Fedora Workstation.
|
Dotfiles are managed with stow and Ansible (built for Fedora) is used for the bulk of configuration. Setup that cannot be easily automated with Ansible is documentd in [addtional-setup](additional-setup.md).
|
||||||
|
|
||||||
### initial setup
|
## Initial Setup
|
||||||
|
|
||||||
|
Install Fedora Workstation and run the following commands:
|
||||||
|
|
||||||
- Install latest Fedora Workstation
|
|
||||||
- If using nvidia setup with [this](https://copr.fedorainfracloud.org/coprs/t0xic0der/nvidia-auto-installer-for-fedora/)
|
|
||||||
- Setup zen-like kernel with [this](https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/) from [Nobara](https://nobaraproject.org/)
|
|
||||||
- Run the following commands:
|
|
||||||
```bash
|
```bash
|
||||||
sudo dnf install -y git stow
|
sudo dnf install -y git stow
|
||||||
git clone https://github.com/starr-dusT/dotfiles ~/.dotfiles
|
git clone https://github.com/starr-dusT/dotfiles ~/.dotfiles
|
||||||
@ -22,14 +20,16 @@ bash
|
|||||||
initial-setup
|
initial-setup
|
||||||
```
|
```
|
||||||
|
|
||||||
### update setup
|
Perform additional setup found in [additional-setup](additional-setup.md)
|
||||||
|
|
||||||
|
## Update Setup
|
||||||
|
|
||||||
|
Run the following command with comma seperated tags:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
update {tags to update seperated with commas}
|
update {tags} # valid tags: configs, updates, packages, services, once
|
||||||
```
|
```
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- Change syncthing to user .service file rather than ansible
|
|
||||||
- add wireguard
|
|
||||||
- add https://github.com/digint/btrbk
|
- add https://github.com/digint/btrbk
|
Loading…
x
Reference in New Issue
Block a user