move to debian

This commit is contained in:
Pim Kunis 2023-02-26 01:17:16 +01:00
parent 3b7eb0dd2c
commit 13fe28b5aa
16 changed files with 34 additions and 31 deletions

View file

@ -4,18 +4,20 @@ My current setup is [Linux Mint Vera](https://linuxmint.com/edition.php?id=302)
## Before installing ## Before installing
- Put Ansible Vault password in .vault_password - `sudo apt-get install curl git python3-distutils`
- Install git and curl - `export PATH=$PATH:~/.local/bin`
- Install Ansible: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html - Install Ansible: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
## TODO ## TODO
- Telegram (maybe only possible to download) - Telegram (maybe only possible to download) (third party PPA might be easiest)
- thunderbird config - thunderbird config
- i3 app shortcuts - i3 app shortcuts
- firefox config? extensions? host own synchronizer? - firefox config? extensions? host own synchronizer?
- i3 stutters - i3 stutters
- i3 sleep - i3 sleep
- Smart script to manage screens: if external screen is connected, only show on that screen. Otherwise, show on laptop screen.
- drop-in includement of bashrc parts
#### Neovim #### Neovim

View file

@ -1,4 +1,4 @@
distribution_release: jammy distribution_release: focal
first_name: Pim first_name: Pim
last_name: Kunis last_name: Kunis
full_name: "{{ first_name }} {{ last_name }}" full_name: "{{ first_name }} {{ last_name }}"

View file

@ -27,7 +27,5 @@
tags: [virtualbox] tags: [virtualbox]
- role: vscodium - role: vscodium
tags: [vscodium] tags: [vscodium]
- role: strawberry
tags: [strawberry]
- role: nicotine - role: nicotine
tags: [nicotine] tags: [nicotine]

View file

@ -3,11 +3,11 @@
apt_key: apt_key:
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
id: 3A160895CC2CE253085D08A552B24DF7D43B5377 id: 3A160895CC2CE253085D08A552B24DF7D43B5377
keyring: /etc/apt/keyrings/alacritty.gpg keyring: /etc/apt/trusted.gpg.d/alacritty.gpg
- name: Install PPA repository - name: Install PPA repository
become: true become: true
apt_repository: apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/alacritty.gpg] https://ppa.launchpadcontent.net/aslatter/ppa/ubuntu {{ distribution_release }} main" repo: "deb [signed-by=/etc/apt/trusted.gpg.d/alacritty.gpg] https://ppa.launchpadcontent.net/aslatter/ppa/ubuntu {{ distribution_release }} main"
register: apt_repository register: apt_repository
- name: Update APT cache - name: Update APT cache
become: true become: true

View file

@ -1,4 +1,4 @@
export FZF_DEFAULT_COMMAND=fd export FZF_DEFAULT_COMMAND=fdfind
# Options to fzf command # Options to fzf command
export FZF_COMPLETION_OPTS='--border --info=inline' export FZF_COMPLETION_OPTS='--border --info=inline'
@ -31,5 +31,5 @@ _fzf_comprun() {
esac esac
} }
source /usr/share/doc/fzf/examples/completion.bash
source /usr/share/doc/fzf/examples/key-bindings.bash source /usr/share/doc/fzf/examples/key-bindings.bash
source /usr/share/bash-completion/completions/fzf

View file

@ -1,3 +1,9 @@
- name: Enable non-free packages
become: true
replace:
path: "/etc/apt/sources.list"
regexp: "^(.*main.*?)( contrib non-free)?$"
replace: '\1 contrib non-free'
- name: APT upgrade - name: APT upgrade
become: true become: true
apt: apt:

View file

@ -3,8 +3,9 @@
apt: apt:
pkg: pkg:
- i3-wm - i3-wm
- rofi - i3status
- i3lock - i3lock
- rofi
- nitrogen - nitrogen
- name: Create i3 config directory - name: Create i3 config directory
file: file:

View file

@ -6,7 +6,7 @@ CustomProxyLocation=
Enabled=true Enabled=true
[FdoSecrets] [FdoSecrets]
Enabled=false Enabled=true
[GUI] [GUI]
MinimizeOnClose=true MinimizeOnClose=true

View file

@ -1,4 +1,5 @@
- name: Uninstall gnome-keyring - name: Uninstall gnome-keyring
become: true
apt: apt:
name: gnome-keyring name: gnome-keyring
state: absent state: absent

View file

@ -3,11 +3,11 @@
apt_key: apt_key:
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
id: 9DBB0BE9366964F134855E2255F96FCF8231B6DD id: 9DBB0BE9366964F134855E2255F96FCF8231B6DD
keyring: /etc/apt/keyrings/neovim.gpg keyring: /etc/apt/trusted.gpg.d/neovim.gpg
- name: Install Neovim PPA - name: Install Neovim PPA
become: true become: true
apt_repository: apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/neovim.gpg] https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu {{ distribution_release }} main" repo: "deb [signed-by=/etc/apt/trusted.gpg.d/neovim.gpg] https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu {{ distribution_release }} main"
register: apt_repository register: apt_repository
- name: Update APT cache - name: Update APT cache
become: true become: true

View file

@ -3,11 +3,11 @@
apt_key: apt_key:
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
id: 6CEB6050A30E5769 id: 6CEB6050A30E5769
keyring: /etc/apt/keyrings/nicotine.gpg keyring: /etc/apt/trusted.gpg.d/nicotine.gpg
- name: Install PPA repository - name: Install PPA repository
become: true become: true
apt_repository: apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/nicotine.gpg] https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu {{ distribution_release }} main" repo: "deb [signed-by=/etc/apt/trusted.gpg.d/nicotine.gpg] https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu {{ distribution_release }} main"
register: apt_repository register: apt_repository
- name: Update APT cache - name: Update APT cache
become: true become: true

View file

@ -3,11 +3,11 @@
apt_key: apt_key:
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
id: BE5ED0F9261CAAD9A1E5B1A4CD6289E999EA819D id: BE5ED0F9261CAAD9A1E5B1A4CD6289E999EA819D
keyring: /etc/apt/keyrings/strawberry.gpg keyring: /etc/apt/trusted.gpg.d/strawberry.gpg
- name: Install PPA repository - name: Install PPA repository
become: true become: true
apt_repository: apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/strawberry.gpg] https://ppa.launchpadcontent.net/jonaski/strawberry/ubuntu {{ distribution_release }} main" repo: "deb [signed-by=/etc/apt/trusted.gpg.d/strawberry.gpg] https://ppa.launchpadcontent.net/jonaski/strawberry/ubuntu {{ distribution_release }} main"
register: apt_repository register: apt_repository
- name: Update APT cache - name: Update APT cache
become: true become: true

View file

@ -3,11 +3,11 @@
apt_key: apt_key:
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
id: "37C84554E7E0A261E4F76E1ED26E6ED000654A3E" id: "37C84554E7E0A261E4F76E1ED26E6ED000654A3E"
keyring: /etc/apt/keyrings/syncthing.gpg keyring: /etc/apt/trusted.gpg.d/syncthing.gpg
- name: Install APT repository - name: Install APT repository
become: true become: true
apt_repository: apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/syncthing.gpg] https://apt.syncthing.net/ syncthing stable" repo: "deb [signed-by=/etc/apt/trusted.gpg.d/syncthing.gpg] https://apt.syncthing.net/ syncthing stable"
register: apt_repository register: apt_repository
- name: Update APT cache - name: Update APT cache
become: true become: true

View file

@ -28,11 +28,11 @@
apt_key: apt_key:
keyserver: keyserver.ubuntu.com keyserver: keyserver.ubuntu.com
id: "798AEC654E5C15428C8E42EEAA16FCBCA621E701" id: "798AEC654E5C15428C8E42EEAA16FCBCA621E701"
keyring: /etc/apt/keyrings/hashicorp.gpg keyring: /etc/apt/trusted.gpg.d/hashicorp.gpg
- name: Install Hashicorp repository - name: Install Hashicorp repository
become: true become: true
apt_repository: apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ distribution_release }} main" repo: "deb [signed-by=/etc/apt/trusted.gpg.d/hashicorp.gpg] https://apt.releases.hashicorp.com {{ distribution_release }} main"
register: apt_repository register: apt_repository
- name: Update APT cache - name: Update APT cache
become: true become: true
@ -60,8 +60,3 @@
enabled: true enabled: true
scope: user scope: user
state: started state: started
- name: Disable Mint Report
become: true
file:
path: /etc/xdg/autostart/mintreport.desktop
state: absent

View file

@ -1,10 +1,10 @@
[Interface] [Interface]
Privatekey={{ private_key }} Privatekey={{ wg_private_key }}
Address = 10.225.191.4/24,fd11:5ee:bad:c0de::4/64 Address = 10.225.191.4/24,fd11:5ee:bad:c0de::4/64
DNS=192.168.10.1 DNS=192.168.10.1
[Peer] [Peer]
Publickey=fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg= Publickey=fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg=
PresharedKey={{ preshared_key }} PresharedKey={{ wg_preshared_key }}
Endpoint=wg.geokunis2.nl:51820 Endpoint=wg.geokunis2.nl:51820
AllowedIPs = 0.0.0.0/0, ::0/0 AllowedIPs = 0.0.0.0/0, ::0/0

View file

@ -1,4 +1,4 @@
private_key: !vault | wg_private_key: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
66373536666638303935653866346565636236613831616139316437336564653732646538333431 66373536666638303935653866346565636236613831616139316437336564653732646538333431
3366386633353633313932373730373738663534303138630a336539366539623832343034396438 3366386633353633313932373730373738663534303138630a336539366539623832343034396438
@ -6,7 +6,7 @@ private_key: !vault |
6637383765663066380a613330326566313764663635326335353964343438316336613130393462 6637383765663066380a613330326566313764663635326335353964343438316336613130393462
61663539656433336135396362623862623336613464346139356466633365663939346366346335 61663539656433336135396362623862623336613464346139356466633365663939346366346335
3561326462646131346238633334613539623161653838386435 3561326462646131346238633334613539623161653838386435
preshared_key: !vault | wg_preshared_key: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
30323832316230326261663365363938306161623639643261376164373563346665643261656632 30323832316230326261663365363938306161623639643261376164373563346665643261656632
6432616232633465356565653638333830396561613435300a666662353138346638636631366661 6432616232633465356565653638333830396561613435300a666662353138346638636631366661