Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
7016137fa4 | |||
2383d1536f | |||
f59c9aa8d8 |
290 changed files with 3119 additions and 3844 deletions
|
@ -1,25 +0,0 @@
|
|||
# vim:filetype=yaml
|
||||
# https://ansible-lint.readthedocs.io/en/latest/configuring.html
|
||||
|
||||
skip_list:
|
||||
# clashes with prettier
|
||||
- yaml
|
||||
|
||||
# I DO WANT TO UPGRADE PACKAGES!!!
|
||||
- package-latest
|
||||
|
||||
# I want the latest…
|
||||
- latest[git]
|
||||
|
||||
# I want some directory structure to this…
|
||||
- role-name[path]
|
||||
|
||||
warn_list:
|
||||
# sometimes this is desired
|
||||
- command-instead-of-module
|
||||
|
||||
# htpasswd -> community.general.web_infrastructure.htpasswd
|
||||
- fqcn[action]
|
||||
|
||||
# false positive: Unsupported parameters for k8s module
|
||||
- args[module]
|
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -1,8 +0,0 @@
|
|||
# Ignore VSCode files
|
||||
.vscode
|
||||
|
||||
# Ignore deps
|
||||
node_modules
|
||||
|
||||
# Ignore changes to the playground playbook
|
||||
playbooks/playground.yml
|
|
@ -2,18 +2,18 @@
|
|||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v4.0.0-alpha.8
|
||||
- repo: https://github.com/prettier/pre-commit
|
||||
rev: 57f39166b5a5a504d6808b87ab98d41ebf095b46
|
||||
hooks:
|
||||
- id: prettier
|
||||
- repo: https://github.com/ansible/ansible-lint.git
|
||||
rev: v24.2.3
|
||||
rev: v6.4.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
files: ^.*(defaults|handlers|tasks).*\.(yaml|yml)$
|
||||
files: \.(yaml|yml)$
|
||||
|
|
5
Makefile
5
Makefile
|
@ -1,10 +1,11 @@
|
|||
.PHONY: deps bootstrap fedora-deps fedora-release-upgrade fedora-switch-repository gpg keys
|
||||
|
||||
HOSTS ?= localhost
|
||||
CONNECTION ?= local
|
||||
INVENTORY ?= localhost
|
||||
TAGS ?= all
|
||||
|
||||
ANSIBLE_PYTHON := /usr/bin/python3
|
||||
AP := ansible-playbook -vv -K -l $(HOSTS) -e ansible_python_interpreter=$(ANSIBLE_PYTHON) --tags $(TAGS) $(AP_ARGS)
|
||||
AP := ansible-playbook -vv -K -c $(CONNECTION) -i $(INVENTORY), -e ansible_python_interpreter=$(ANSIBLE_PYTHON) --tags $(TAGS) $(AP_ARGS)
|
||||
|
||||
deps:
|
||||
ansible-galaxy collection install community.general
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[defaults]
|
||||
inventory = inventory/
|
||||
roles_path = roles/
|
|
@ -1,4 +1,3 @@
|
|||
---
|
||||
collections:
|
||||
- ansible.posix
|
||||
- community.general
|
||||
- community.general
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
---
|
||||
# Username of the user that's being set up
|
||||
target_user: None
|
||||
|
||||
# Group of the user that's being set up
|
||||
target_group: None
|
||||
|
||||
# GitLab username used to obtain the public GPG key and public SSH keys
|
||||
gitlab_login: None
|
||||
|
||||
# Full name for git
|
||||
fullname: None
|
||||
|
||||
# Email used for git
|
||||
git_email: None
|
||||
|
||||
# Signing key used for signing git commits and tags
|
||||
gpg_signingkey: None
|
||||
|
||||
# Used as the FQDN that's set up in DNS and reachable from the network
|
||||
host_fqdn: None
|
||||
|
||||
# Address of the HashiCorp Vault that is used to download the trusted CA
|
||||
# certificate for an SSH server setup
|
||||
hashicorp_vault_address: None
|
||||
|
||||
# Address of the Vaultwarden instance
|
||||
vaultwarden_address: None
|
||||
|
||||
# Used for Certbot and DDNS
|
||||
# Certbot: used for DNS verification of the domain during renewal
|
||||
# DDNS: used to update the DNS records of the public IP
|
||||
cloudflare_token: None
|
||||
|
||||
# Cloudflare zone, the domain
|
||||
cloudflare_zone: None
|
||||
|
||||
# Public ID tied to the Yubikey OTP
|
||||
yubikey_token_id: None
|
||||
|
||||
# Wireguard connections
|
||||
# List of connections to set up, example:
|
||||
#
|
||||
# - ifname: ‹interface name›
|
||||
# generate_keypair: true/false
|
||||
# domain: ‹domain, adjust DNS resolution, if set›
|
||||
# gateway: ‹part of the DNS resolution setup›
|
||||
# address: ‹assigned address on the VPN›
|
||||
# peers:
|
||||
# - { note, public_key, allowed_ips, endpoint, keepalive }
|
||||
wg_connections: []
|
1
files/.gitignore
vendored
Normal file
1
files/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
stylus-windows.json
|
5
files/Makefile
Normal file
5
files/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
generate-stylus-for-windows:
|
||||
cat stylus.json | perl -ne "s/Extended/Expanded/g; print;" | tee stylus-windows.json
|
||||
|
||||
generate-stylus-from-windows:
|
||||
cat stylus-windows.json | perl -ne "s/Expanded/Extended/g; print;" | tee stylus.json
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
desktops:
|
||||
hosts:
|
||||
hertz:
|
||||
ampere:
|
||||
git_email: "mfocko@redhat.com"
|
||||
ohm:
|
||||
|
||||
vars:
|
||||
sshd_port: 22
|
||||
sshd_sign_host_keys: false
|
||||
sshd_auth_password_authentication: "yes"
|
||||
|
||||
flatpak_apps:
|
||||
- "com.chatterino.chatterino/{{ ansible_architecture }}/stable"
|
||||
- com.discordapp.Discord
|
||||
- com.spotify.Client
|
||||
# - net.ankiweb.Anki
|
||||
- org.gnome.DejaDup
|
||||
- org.mozilla.Thunderbird
|
||||
# - org.raspberrypi.rpi-imager
|
||||
- org.telegram.desktop
|
||||
# - org.x.Warpinator
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
all:
|
||||
vars:
|
||||
target_user: "mfocko"
|
||||
target_group: "{{ target_user }}"
|
||||
gitlab_login: "{{ target_user }}"
|
||||
fullname: "Matej Focko"
|
||||
git_email: "me@mfocko.xyz"
|
||||
gpg_signingkey: "7C47D46246790496"
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
servers:
|
||||
hosts:
|
||||
poincare:
|
||||
maxwell:
|
||||
system_sshd_port: 6969
|
||||
|
||||
vars:
|
||||
cloudflare_token: None
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
ssh_only:
|
||||
hosts:
|
||||
aisa:
|
||||
anxur:
|
||||
merlin:
|
|
@ -1,119 +1,25 @@
|
|||
---
|
||||
- name: Bootstrap fresh installation
|
||||
- name: Bootstrap installation
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
gather_facts: yes
|
||||
roles:
|
||||
# Handle distribution-specific changes before the generic ones
|
||||
- role: os/fedora
|
||||
become: true
|
||||
when: ansible_distribution == "Fedora"
|
||||
|
||||
- role: os/el
|
||||
become: true
|
||||
when: ansible_distribution in [ "AlmaLinux", "CentOS" ]
|
||||
|
||||
# Upgrade all packages and install the basic-bitch ones
|
||||
- role: base/system
|
||||
become: true
|
||||
|
||||
# Enable Cockpit
|
||||
- role: cockpit
|
||||
become: true
|
||||
tags: cockpit
|
||||
|
||||
# Enable Flathub repository and install configured flatpaks
|
||||
- role: flatpak
|
||||
when: ansible_distribution != "Ubuntu"
|
||||
tags: flatpak
|
||||
|
||||
# Install Podman and configure UIDs/GIDs for rootless usage
|
||||
- role: podman
|
||||
become: true
|
||||
tags: podman
|
||||
|
||||
# Install and configure SSH server
|
||||
- role: sshd
|
||||
become: true
|
||||
tags: sshd
|
||||
|
||||
# Handle basic user configuration
|
||||
- base/desktop
|
||||
|
||||
# Shell utilities
|
||||
- role: shell/zsh
|
||||
tags: zsh
|
||||
- role: shell/tmux
|
||||
tags: tmux
|
||||
- role: editors/neovim
|
||||
tags: neovim
|
||||
|
||||
# Directory for temporary files
|
||||
- role: tmpfiles
|
||||
become: true
|
||||
tags: tmpfiles
|
||||
|
||||
# Configure git
|
||||
- role: git
|
||||
tags: git
|
||||
|
||||
# Configure ssh
|
||||
- role: ssh
|
||||
tags: ssh
|
||||
|
||||
# Set up GPG
|
||||
- role: gpg
|
||||
tags: gpg
|
||||
|
||||
# Configure Alacritty terminal
|
||||
- role: terminals/alacritty
|
||||
tags: alacritty
|
||||
|
||||
# Configure Kitty terminal
|
||||
- role: terminals/kitty
|
||||
tags: kitty
|
||||
|
||||
# Install Ptyxis terminal
|
||||
- role: terminals/ptyxis
|
||||
when: ansible_distribution != "Ubuntu"
|
||||
tags: ptyxis
|
||||
|
||||
# Install fonts
|
||||
- role: fonts
|
||||
tags: fonts
|
||||
|
||||
# Install Bitwarden CLI
|
||||
- role: secrets/bw
|
||||
tags: bw
|
||||
|
||||
# Install HashiCorp Vault
|
||||
- role: secrets/hcv
|
||||
tags: hcv
|
||||
|
||||
# Install and configure Emacs
|
||||
- role: editors/emacs
|
||||
tags: emacs
|
||||
|
||||
# Install and configure VSCode
|
||||
- role: editors/vscode
|
||||
tags: vscode
|
||||
|
||||
# Install and configure Helix
|
||||
- role: editors/helix
|
||||
tags: helix
|
||||
|
||||
tasks:
|
||||
# Install the Wireguard VPNs
|
||||
- name: Wireguard
|
||||
ansible.builtin.include_role:
|
||||
name: wg
|
||||
apply:
|
||||
become: true
|
||||
with_items: "{{ wg_connections }}"
|
||||
- role: fedora
|
||||
become: yes
|
||||
become_method: sudo
|
||||
vars:
|
||||
wg_ifname: "{{ item.ifname }}"
|
||||
wg_generate_keypair: "{{ item.generate_keypair }}"
|
||||
wg_domain: "{{ item.domain }}"
|
||||
wg_gateway: "{{ item.gateway }}"
|
||||
wg_address: "{{ item.address }}"
|
||||
wg_peers: "{{ item.peers }}"
|
||||
tags: wireguard
|
||||
# set to "local" or "remote"
|
||||
source: "local"
|
||||
when: ansible_distribution == "Fedora"
|
||||
- role: opensuse
|
||||
become: yes
|
||||
become_method: sudo
|
||||
when: ansible_distribution in ("openSUSE Leap", "openSUSE Tumbleweed")
|
||||
- role: flatpaks
|
||||
when: ansible_distribution not in ("openSUSE Leap", "openSUSE Tumbleweed")
|
||||
- ssh
|
||||
- shell
|
||||
- role: git
|
||||
vars:
|
||||
git_email: <insert-email>
|
||||
gpg_signingkey: <insert-id>
|
||||
- vscode
|
||||
|
|
10
playbooks/fedora_repository.yml
Normal file
10
playbooks/fedora_repository.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: Fedora repository setup
|
||||
hosts: all
|
||||
roles:
|
||||
- role: fedora/repositories
|
||||
become: yes
|
||||
become_method: sudo
|
||||
vars:
|
||||
# set to "local" or "remote"
|
||||
source: "local"
|
9
playbooks/fedora_upgrade.yml
Normal file
9
playbooks/fedora_upgrade.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Fedora upgrade
|
||||
hosts: all
|
||||
roles:
|
||||
- role: fedora/upgrade
|
||||
become: yes
|
||||
become_method: sudo
|
||||
vars:
|
||||
releasever: 33
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- name: Playground
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
roles: []
|
4
playbooks/roles/fedora/meta/main.yml
Normal file
4
playbooks/roles/fedora/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- fedora/repositories
|
||||
- fedora/packages
|
15
playbooks/roles/fedora/packages/tasks/main.yml
Normal file
15
playbooks/roles/fedora/packages/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: Upgrade all packages
|
||||
dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Install playerctl and flameshot
|
||||
dnf:
|
||||
name:
|
||||
- playerctl
|
||||
- flameshot
|
||||
state: present
|
||||
|
||||
- include: shell.yml
|
||||
- include: haskell.yml
|
11
playbooks/roles/fedora/packages/tasks/shell.yml
Normal file
11
playbooks/roles/fedora/packages/tasks/shell.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: Install all packages for shell
|
||||
dnf:
|
||||
name:
|
||||
- zsh
|
||||
- tmux
|
||||
- neovim
|
||||
- emacs
|
||||
- alacritty
|
||||
- fzf
|
||||
state: present
|
38
playbooks/roles/fedora/repositories/tasks/main.yml
Normal file
38
playbooks/roles/fedora/repositories/tasks/main.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
- name: Get version of Fedora
|
||||
shell: rpm -E %fedora
|
||||
register: fedora_version
|
||||
tags: install_new_repos
|
||||
|
||||
- name: Install RPMFusion RPMs with GPG keys
|
||||
dnf:
|
||||
name:
|
||||
- "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_version.stdout }}.noarch.rpm"
|
||||
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_version.stdout }}.noarch.rpm"
|
||||
disable_gpg_check: yes
|
||||
state: present
|
||||
tags: install_new_repos
|
||||
|
||||
- name: Install Google Chrome repository
|
||||
template:
|
||||
src: templates/google-chrome.repo.j2
|
||||
dest: /etc/yum.repos.d/google-chrome.repo
|
||||
tags: install_new_repos
|
||||
|
||||
- name: Install repositories
|
||||
template:
|
||||
src: templates/{{ source }}/{{ item }}.repo.j2
|
||||
dest: /etc/yum.repos.d/{{ item }}.repo
|
||||
loop:
|
||||
- fedora-modular
|
||||
- fedora-updates-modular
|
||||
- fedora-updates-testing-modular
|
||||
- fedora-updates-testing
|
||||
- fedora-updates
|
||||
- fedora
|
||||
- rpmfusion-free-updates-testing
|
||||
- rpmfusion-free-updates
|
||||
- rpmfusion-free
|
||||
- rpmfusion-nonfree-updates-testing
|
||||
- rpmfusion-nonfree-updates
|
||||
- rpmfusion-nonfree
|
|
@ -0,0 +1,35 @@
|
|||
[fedora-modular]
|
||||
name=Fedora Modular $releasever - $basearch
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/fedora/releases/$releasever/Modular/$basearch/os/
|
||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
#metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-modular-debuginfo]
|
||||
name=Fedora Modular $releasever - $basearch - Debug
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Modular/$basearch/debug/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-modular-source]
|
||||
name=Fedora Modular $releasever - Source
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Modular/source/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,38 @@
|
|||
[updates-modular]
|
||||
name=Fedora Modular $releasever - $basearch - Updates
|
||||
failovermethod=priority
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/fedora/updates/$releasever/Modular/$basearch/
|
||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-f$releasever&arch=$basearch
|
||||
enabled=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-modular-debuginfo]
|
||||
name=Fedora Modular $releasever - $basearch - Updates - Debug
|
||||
failovermethod=priority
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Modular/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-modular-source]
|
||||
name=Fedora Modular $releasever - Updates Source
|
||||
failovermethod=priority
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Modular/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,36 @@
|
|||
[updates-testing-modular]
|
||||
name=Fedora Modular $releasever - $basearch - Test Updates
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/Modular/$basearch/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/fedora/updates/testing/$releasever/Modular/$basearch/
|
||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-f$releasever&arch=$basearch
|
||||
enabled=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-modular-debuginfo]
|
||||
name=Fedora Modular $releasever - $basearch - Test Updates Debug
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Modular/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-modular-source]
|
||||
name=Fedora Modular $releasever - Test Updates Source
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Modular/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,35 @@
|
|||
[updates-testing]
|
||||
name=Fedora $releasever - $basearch - Test Updates
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/fedora/updates/testing/$releasever/Everything/$basearch/
|
||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
|
||||
enabled=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-debuginfo]
|
||||
name=Fedora $releasever - $basearch - Test Updates Debug
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-source]
|
||||
name=Fedora $releasever - Test Updates Source
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/Everything/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,35 @@
|
|||
[updates]
|
||||
name=Fedora $releasever - $basearch - Updates
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/fedora/updates/$releasever/Everything/$basearch/
|
||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
|
||||
enabled=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-debuginfo]
|
||||
name=Fedora $releasever - $basearch - Updates - Debug
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-source]
|
||||
name=Fedora $releasever - Updates Source
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Everything/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,35 @@
|
|||
[fedora]
|
||||
name=Fedora $releasever - $basearch
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-debuginfo]
|
||||
name=Fedora $releasever - $basearch - Debug
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-source]
|
||||
name=Fedora $releasever - Source
|
||||
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,31 @@
|
|||
[rpmfusion-free-updates-testing]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Test Updates
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/$basearch/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/rpmfusion/free/fedora/updates/testing/$releasever/$basearch/
|
||||
#metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-testing-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Test Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-testing-source]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Test Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
|
@ -0,0 +1,31 @@
|
|||
[rpmfusion-free-updates]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Updates
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/rpmfusion/free/fedora/updates/$releasever/$basearch/
|
||||
#metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-source]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
|
@ -0,0 +1,33 @@
|
|||
[rpmfusion-free]
|
||||
name=RPM Fusion for Fedora $releasever - Free
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
#metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
metadata_expire=14d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Debug
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-source]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Source
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/source/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
|
@ -0,0 +1,31 @@
|
|||
[rpmfusion-nonfree-updates-testing]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/$basearch/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/rpmfusion/nonfree/fedora/updates/testing/$releasever/$basearch/
|
||||
#metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-testing-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-testing-source]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
|
@ -0,0 +1,31 @@
|
|||
[rpmfusion-nonfree-updates]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Updates
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/rpmfusion/nonfree/fedora/updates/$releasever/$basearch/
|
||||
#metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-source]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
|
@ -0,0 +1,34 @@
|
|||
[rpmfusion-nonfree]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
baseurl=https://mirror.gauss.mfocko.xyz/rpmfusion/nonfree/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
#metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
metadata_expire=14d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Debug
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-source]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Source
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/source/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
|
@ -0,0 +1,36 @@
|
|||
[fedora-modular]
|
||||
name=Fedora Modular $releasever - $basearch
|
||||
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Modular/$basearch/os/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
countme=1
|
||||
#metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-modular-debuginfo]
|
||||
name=Fedora Modular $releasever - $basearch - Debug
|
||||
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Modular/$basearch/debug/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-modular-source]
|
||||
name=Fedora Modular $releasever - Source
|
||||
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Modular/source/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,36 @@
|
|||
[updates-modular]
|
||||
name=Fedora Modular $releasever - $basearch - Updates
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/$basearch/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-f$releasever&arch=$basearch
|
||||
enabled=1
|
||||
countme=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-modular-debuginfo]
|
||||
name=Fedora Modular $releasever - $basearch - Updates - Debug
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-modular-source]
|
||||
name=Fedora Modular $releasever - Updates Source
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,36 @@
|
|||
[updates-testing-modular]
|
||||
name=Fedora Modular $releasever - $basearch - Test Updates
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Modular/$basearch/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
countme=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-modular-debuginfo]
|
||||
name=Fedora Modular $releasever - $basearch - Test Updates Debug
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-modular-source]
|
||||
name=Fedora Modular $releasever - Test Updates Source
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,36 @@
|
|||
[updates-testing]
|
||||
name=Fedora $releasever - $basearch - Test Updates
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
countme=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-debuginfo]
|
||||
name=Fedora $releasever - $basearch - Test Updates Debug
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-testing-source]
|
||||
name=Fedora $releasever - Test Updates Source
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Everything/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,36 @@
|
|||
[updates]
|
||||
name=Fedora $releasever - $basearch - Updates
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Everything/$basearch/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
|
||||
enabled=1
|
||||
countme=1
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-debuginfo]
|
||||
name=Fedora $releasever - $basearch - Updates - Debug
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[updates-source]
|
||||
name=Fedora $releasever - Updates Source
|
||||
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Everything/SRPMS/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
|
||||
enabled=0
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
metadata_expire=6h
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,36 @@
|
|||
[fedora]
|
||||
name=Fedora $releasever - $basearch
|
||||
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
countme=1
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-debuginfo]
|
||||
name=Fedora $releasever - $basearch - Debug
|
||||
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
||||
|
||||
[fedora-source]
|
||||
name=Fedora $releasever - Source
|
||||
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/source/tree/
|
||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
repo_gpgcheck=0
|
||||
type=rpm
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
skip_if_unavailable=False
|
|
@ -0,0 +1,30 @@
|
|||
[rpmfusion-free-updates-testing]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Test Updates
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/$basearch/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-testing-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Test Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-testing-source]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Test Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
|
@ -0,0 +1,30 @@
|
|||
[rpmfusion-free-updates]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Updates
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-updates-source]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
|
@ -0,0 +1,32 @@
|
|||
[rpmfusion-free]
|
||||
name=RPM Fusion for Fedora $releasever - Free
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
metadata_expire=14d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Debug
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
||||
|
||||
[rpmfusion-free-source]
|
||||
name=RPM Fusion for Fedora $releasever - Free - Source
|
||||
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/source/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
|
|
@ -0,0 +1,30 @@
|
|||
[rpmfusion-nonfree-updates-testing]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/$basearch/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-testing-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-testing-source]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
|
@ -0,0 +1,30 @@
|
|||
[rpmfusion-nonfree-updates]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Updates
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Updates Debug
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-updates-source]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Updates Source
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
|
@ -0,0 +1,33 @@
|
|||
[rpmfusion-nonfree]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/$basearch/os/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
|
||||
enabled=1
|
||||
enabled_metadata=1
|
||||
metadata_expire=14d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-debuginfo]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Debug
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/$basearch/debug/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-debug-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
||||
|
||||
[rpmfusion-nonfree-source]
|
||||
name=RPM Fusion for Fedora $releasever - Nonfree - Source
|
||||
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/source/SRPMS/
|
||||
metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-source-$releasever&arch=$basearch
|
||||
enabled=0
|
||||
metadata_expire=7d
|
||||
type=rpm-md
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=0
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
|
24
playbooks/roles/fedora/upgrade/tasks/main.yml
Normal file
24
playbooks/roles/fedora/upgrade/tasks/main.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
- name: Switch to remote repositories
|
||||
include_role:
|
||||
name: fedora/repositories
|
||||
vars:
|
||||
source: "remote"
|
||||
|
||||
- name: Update all packages
|
||||
dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Install system-upgrade plugin
|
||||
dnf:
|
||||
name: dnf-plugin-system-upgrade
|
||||
|
||||
- name: Switch to local repositories
|
||||
include_role:
|
||||
name: fedora/repositories
|
||||
vars:
|
||||
source: "local"
|
||||
|
||||
- name: Start the release update
|
||||
shell: dnf system-upgrade download -y --releasever={{ releasever }}
|
|
@ -1,20 +1,17 @@
|
|||
---
|
||||
- name: Packages
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
tags: install
|
||||
|
||||
- name: Enable Flathub
|
||||
- name: Enable flathub
|
||||
become: yes
|
||||
become_method: sudo
|
||||
community.general.flatpak_remote:
|
||||
name: flathub
|
||||
state: present
|
||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
become: true
|
||||
tags: flatpak/enable-flathub
|
||||
|
||||
- name: Install flatpak apps
|
||||
community.general.flatpak:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ flatpak_apps }}"
|
||||
become: true
|
||||
when: flatpak_apps
|
||||
loop:
|
||||
- com.spotify.Client
|
||||
- com.discordapp.Discord
|
||||
- org.telegram.desktop
|
5
playbooks/roles/git/tasks/main.yml
Normal file
5
playbooks/roles/git/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Create git config
|
||||
template:
|
||||
src: templates/gitconfig.j2
|
||||
dest: ~/.gitconfig
|
36
playbooks/roles/git/templates/gitconfig.j2
Normal file
36
playbooks/roles/git/templates/gitconfig.j2
Normal file
|
@ -0,0 +1,36 @@
|
|||
[alias]
|
||||
scommit = commit --signoff
|
||||
graph = log --oneline --decorate --graph --all
|
||||
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
||||
[core]
|
||||
editor = code --wait
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
[diff]
|
||||
tool = vscode-difftool
|
||||
|
||||
[difftool "vscode-difftool"]
|
||||
cmd = code --wait --diff $LOCAL $REMOTE
|
||||
|
||||
[gpg]
|
||||
program = gpg2
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
|
||||
[rebase]
|
||||
autoStash = true
|
||||
|
||||
[tag]
|
||||
gpgSign = true
|
||||
|
||||
[user]
|
||||
name = Matej Focko
|
||||
email = {{ git_email }}
|
||||
signingkey = {{ gpg_signingkey }}
|
10
playbooks/roles/haskell/tasks/main.yml
Normal file
10
playbooks/roles/haskell/tasks/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: Create directories for configuration
|
||||
file:
|
||||
path: ~/.ghc
|
||||
state: directory
|
||||
|
||||
- name: Install ghci.conf
|
||||
template:
|
||||
src: templates/ghci.conf.j2
|
||||
dest: ~/.ghc/ghci.conf
|
3
playbooks/roles/opensuse/meta/main.yml
Normal file
3
playbooks/roles/opensuse/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- opensuse/packages
|
18
playbooks/roles/opensuse/packages/tasks/main.yml
Normal file
18
playbooks/roles/opensuse/packages/tasks/main.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
- name: Upgrade all packages
|
||||
zypper:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Install playerctl and flameshot
|
||||
zypper:
|
||||
name:
|
||||
- playerctl
|
||||
- flameshot
|
||||
|
||||
- name: Install non-default flatpak
|
||||
zypper:
|
||||
name:
|
||||
- flatpak
|
||||
|
||||
- include: shell.yml
|
11
playbooks/roles/opensuse/packages/tasks/shell.yml
Normal file
11
playbooks/roles/opensuse/packages/tasks/shell.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: Install all packages for shell
|
||||
zypper:
|
||||
name:
|
||||
- zsh
|
||||
- tmux
|
||||
- neovim
|
||||
- emacs
|
||||
- alacritty
|
||||
- fzf
|
||||
state: present
|
5
playbooks/roles/shell/tasks/alacritty.yml
Normal file
5
playbooks/roles/shell/tasks/alacritty.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install alacritty configuration
|
||||
copy:
|
||||
src: templates/alacritty
|
||||
dest: ~/.config/
|
8
playbooks/roles/shell/tasks/emacs.yml
Normal file
8
playbooks/roles/shell/tasks/emacs.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- name: Install Doom Emacs
|
||||
block:
|
||||
- git:
|
||||
repo: https://github.com/hlissner/doom-emacs
|
||||
dest: ~/.emacs.d
|
||||
depth: 1
|
||||
# - shell: ~/.emacs.d/bin/doom install -y
|
16
playbooks/roles/shell/tasks/main.yml
Normal file
16
playbooks/roles/shell/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: Set default shell
|
||||
become: yes
|
||||
become_method: sudo
|
||||
user:
|
||||
name: mfocko
|
||||
shell: /bin/zsh
|
||||
|
||||
# - name: Install Nord theme for Konsole
|
||||
# shell: wget -O ~/.local/share/konsole/nord.colorscheme https://raw.githubusercontent.com/arcticicestudio/nord-konsole/develop/src/nord.colorscheme
|
||||
|
||||
- include: nvim.yml
|
||||
- include: emacs.yml
|
||||
- include: zsh.yml
|
||||
- include: tmux.yml
|
||||
- include: alacritty.yml
|
12
playbooks/roles/shell/tasks/nvim.yml
Normal file
12
playbooks/roles/shell/tasks/nvim.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- name: Create init.vim
|
||||
block:
|
||||
- file:
|
||||
path: ~/.config/nvim
|
||||
state: directory
|
||||
- template:
|
||||
src: templates/init.vim.j2
|
||||
dest: ~/.config/nvim/init.vim
|
||||
|
||||
- name: Install vim-plug
|
||||
shell: sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
|
@ -1,27 +1,20 @@
|
|||
---
|
||||
- name: Packages
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
tags: install
|
||||
|
||||
- name: Create .tmux
|
||||
ansible.builtin.file:
|
||||
file:
|
||||
path: ~/.tmux
|
||||
state: directory
|
||||
mode: 0700
|
||||
|
||||
- name: Clone tpm
|
||||
ansible.builtin.git:
|
||||
git:
|
||||
repo: https://github.com/tmux-plugins/tpm
|
||||
dest: ~/.tmux/plugins/tpm
|
||||
|
||||
- name: Create tmux.conf
|
||||
ansible.builtin.copy:
|
||||
src: files/tmux.conf
|
||||
template:
|
||||
src: templates/tmux.conf.j2
|
||||
dest: ~/.tmux.conf
|
||||
mode: 0600
|
||||
|
||||
- name: Create tmux status configuration
|
||||
ansible.builtin.copy:
|
||||
src: files/tmux_status.conf
|
||||
template:
|
||||
src: templates/tmux_status.conf.j2
|
||||
dest: ~/.tmux/status.conf
|
||||
mode: 0600
|
56
playbooks/roles/shell/tasks/zsh.yml
Normal file
56
playbooks/roles/shell/tasks/zsh.yml
Normal file
|
@ -0,0 +1,56 @@
|
|||
---
|
||||
- name: Create directories in `~/.local`
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- ~/.local/bin
|
||||
- ~/.local/share
|
||||
|
||||
- name: Check for oh-my-zsh
|
||||
stat:
|
||||
path: ~/.oh-my-zsh
|
||||
register: ohmyzsh_directory
|
||||
|
||||
- name: Install oh-my-zsh
|
||||
shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
|
||||
when: not ohmyzsh_directory.stat.exists
|
||||
|
||||
- name: Clone zsh-autosuggestions
|
||||
git:
|
||||
repo: https://github.com/zsh-users/zsh-autosuggestions
|
||||
dest: ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
||||
|
||||
- name: Clone zsh-syntax-highlighting
|
||||
git:
|
||||
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
dest: ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||
|
||||
- name: Clone starship
|
||||
shell: sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" -f -b $HOME/.local/bin
|
||||
|
||||
- name: Create zshrc
|
||||
template:
|
||||
src: templates/zshrc.j2
|
||||
dest: ~/.zshrc
|
||||
|
||||
- name: Create starship configuration
|
||||
template:
|
||||
src: templates/starship.toml.j2
|
||||
dest: ~/.config/starship.toml
|
||||
|
||||
- name: Install script for toolbox name retrieval
|
||||
template:
|
||||
src: templates/scripts/toolbox_name.sh
|
||||
dest: ~/.local/bin/toolbox_name.sh
|
||||
|
||||
- name: Install script for paste.sr.ht
|
||||
template:
|
||||
src: templates/scripts/srht.py
|
||||
dest: ~/.local/bin/srht.py
|
||||
|
||||
- name: Symlink paste.sr.ht
|
||||
ansible.builtin.file:
|
||||
src: ./srht.py
|
||||
dest: ~/.local/bin/srht
|
||||
state: link
|
75
playbooks/roles/shell/templates/alacritty/alacritty.yml
Executable file
75
playbooks/roles/shell/templates/alacritty/alacritty.yml
Executable file
|
@ -0,0 +1,75 @@
|
|||
import:
|
||||
# - /home/mfocko/.config/alacritty/colors/ayu_dark.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/ayu_mirage.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/breeze.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/campbell.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/default.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/gruvbox_dark.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/gruvbox_light.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/monokai/classic.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/monokai/pro.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/monokai/pro_filter_machine.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/monokai/pro_filter_octagon.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/monokai/pro_filter_ristretto.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/monokai/pro_filter_spectrum.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/night_owl.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/nord.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/ocean.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/one_dark.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/one_dark_pro.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/one_light.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/outrun_electric.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/rainier.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/rainier_retro.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/rose-pine.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/rose-pine-dawn.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/rose-pine-moon.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/solarized_dark.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/solarized_light.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/tokyo_night.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/tokyo_night_storm.yml
|
||||
- /home/mfocko/.config/alacritty/colors/tomorrow_day.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/tomorrow_night.yml
|
||||
# - /home/mfocko/.config/alacritty/colors/tomorrow_night_bright.yml
|
||||
|
||||
env:
|
||||
TERM: alacritty
|
||||
|
||||
window:
|
||||
dynamic_padding: true
|
||||
decorations: none
|
||||
|
||||
font:
|
||||
normal:
|
||||
# family: BlexMono Nerd Font
|
||||
# family: CascadiaMonoPL Nerd Font
|
||||
# family: CozetteVector
|
||||
# family: FiraCode Nerd Font
|
||||
# family: Hack Nerd Font
|
||||
# family: Inconsolata Nerd Font
|
||||
# family: InputMonoNarrow Nerd Font
|
||||
# family: Iosevka Term
|
||||
# family: Iosevka Term Slab
|
||||
family: JetBrainsMonoNL Nerd Font
|
||||
# family: RecMonoLinear Nerd Font
|
||||
# family: RobotoMono Nerd Font
|
||||
# family: SauceCodePro Nerd Font
|
||||
# family: SFMono Nerd Font
|
||||
# family: VictorMono Nerd Font
|
||||
size: 15.0
|
||||
|
||||
cursor:
|
||||
# Block, Underline, Beam
|
||||
style: Beam
|
||||
thickness: 0.33
|
||||
blinking: On
|
||||
|
||||
key_bindings:
|
||||
- key: F11
|
||||
action: ToggleFullscreen
|
||||
- key: N
|
||||
mods: Control|Shift
|
||||
action: SpawnNewInstance
|
||||
- key: K
|
||||
mods: Control|Shift
|
||||
action: ClearHistory
|
|
@ -0,0 +1,33 @@
|
|||
# Colors (Solarized Dark)
|
||||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: "#002b36" # base03
|
||||
foreground: "#839496" # base0
|
||||
|
||||
# Cursor colors
|
||||
cursor:
|
||||
text: "#002b36" # base03
|
||||
cursor: "#839496" # base0
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: "#073642" # base02
|
||||
red: "#dc322f" # red
|
||||
green: "#859900" # green
|
||||
yellow: "#b58900" # yellow
|
||||
blue: "#268bd2" # blue
|
||||
magenta: "#d33682" # magenta
|
||||
cyan: "#2aa198" # cyan
|
||||
white: "#eee8d5" # base2
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: "#002b36" # base03
|
||||
red: "#cb4b16" # orange
|
||||
green: "#586e75" # base01
|
||||
yellow: "#657b83" # base00
|
||||
blue: "#839496" # base0
|
||||
magenta: "#6c71c4" # violet
|
||||
cyan: "#93a1a1" # base1
|
||||
white: "#fdf6e3" # base3
|
158
playbooks/roles/shell/templates/init.vim.j2
Normal file
158
playbooks/roles/shell/templates/init.vim.j2
Normal file
|
@ -0,0 +1,158 @@
|
|||
" Sample config for pb071 students, available at fi.muni.cz/pb071
|
||||
" ===============================================================
|
||||
" Requires VIM-8.0 to enable linting, on aisa run:
|
||||
" $ module add vim-8.0
|
||||
" However, the linting will fail silently, if version is older.
|
||||
"
|
||||
" Comes with plugin manager Plug: we added 2 colorschemes
|
||||
" and linting plugin ALE, which uses clang-tidy and gcc
|
||||
" to highlight some syntax errors.
|
||||
"
|
||||
" Install Plug first in bash:
|
||||
" $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
" Then run vim and install the plugins using command in normal mode:
|
||||
" :PlugInstall
|
||||
"
|
||||
" Most of the settings come from vimconfig.com.
|
||||
" We added few handy key mappings:
|
||||
"
|
||||
" Ctrl+Up/Down Move line or a block of selected lines
|
||||
" Ctrl+j/k
|
||||
" <leader>pp Toggle paste mode on and off
|
||||
" <leader><cr> Disable search highlight
|
||||
"
|
||||
" <cr> is carriage return, "Enter"
|
||||
" <leader> is backspace, "\", complete the combination in 1 second
|
||||
|
||||
set nocompatible
|
||||
set encoding=utf-8
|
||||
|
||||
"""""
|
||||
""""" Plugin manager Plug from https://github.com/junegunn/vim-plug
|
||||
"""""
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'vim-airline/vim-airline' " status bar mod
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
" Plug 'tomasiser/vim-code-dark' " colorscheme codedark
|
||||
" Plug 'romainl/Apprentice' " colorscheme apprentice
|
||||
Plug 'w0rp/ale'
|
||||
Plug 'romainl/vim-cool'
|
||||
" Plug 'drewtempelmeyer/palenight.vim'
|
||||
" Plug 'connorholyday/vim-snazzy'
|
||||
" Plug 'altercation/vim-colors-solarized'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'arcticicestudio/nord-vim'
|
||||
call plug#end()
|
||||
|
||||
" Setup linting for c99
|
||||
let g:ale_completion_enabled = 1
|
||||
let g:ale_linters = {'c': ['gcc', 'clangtidy', 'clang-format']}
|
||||
let g:ale_c_gcc_executable = 'gcc'
|
||||
let g:ale_c_gcc_options = '-std=c99 -Wall -Wextra -pedantic'
|
||||
let g:ale_c_clang_executable = 'gcc'
|
||||
let g:ale_c_clang_options = '-std=c99 -Wall -Wextra -pedantic'
|
||||
let g:ale_c_clangtidy_executable = 'clang-tidy'
|
||||
let g:ale_c_clangtidy_options = '-std=c99 -Wall -Wextra -pedantic'
|
||||
|
||||
"""""
|
||||
""""" Colors
|
||||
"""""
|
||||
syntax on
|
||||
|
||||
" hi Normal ctermbg=none
|
||||
" hi NonText ctermbg=none
|
||||
|
||||
" Color schemes belong to ~/.vim/colors
|
||||
" Find yours at https://vimcolors.com
|
||||
set background=dark
|
||||
" colorscheme codedark
|
||||
colorscheme nord
|
||||
" colorscheme solarized
|
||||
" colorscheme palenight
|
||||
" let g:SnazzyTransparent = 1
|
||||
" colorscheme snazzy
|
||||
|
||||
" If using plugin vim-airline
|
||||
let g:airline_theme = 'nord'
|
||||
|
||||
if &term =~ '256color'
|
||||
" disable Background Color Erase (BCE) so that color schemes
|
||||
" render properly when inside 256-color tmux and GNU screen.
|
||||
" see also http://snk.tuxfamily.org/log/vim-256color-bce.html
|
||||
set t_ut=
|
||||
endif
|
||||
|
||||
" If you happen to still have a problem on some terminal, uncomment:
|
||||
" set t_Co=256
|
||||
" set t_ut=
|
||||
|
||||
" Color 81. character in line to visualize long lines
|
||||
highlight ColorColumn ctermbg=magenta
|
||||
call matchadd('ColorColumn', '\%81v', 100)
|
||||
"""""
|
||||
""""" General
|
||||
"""""
|
||||
set relativenumber " Show line numbers
|
||||
set linebreak " Break lines at word (requires Wrap lines)
|
||||
set showbreak=+++ " Wrap-broken line prefix
|
||||
set textwidth=80 " Line wrap (number of cols)
|
||||
set showmatch " Highlight matching brace
|
||||
set showcmd " Show last command on right
|
||||
set cursorline " Highlight current line
|
||||
|
||||
set hlsearch " Highlight all search results
|
||||
set smartcase " Enable smart-case search
|
||||
set ignorecase " Always case-insensitive
|
||||
set incsearch " Searches for strings incrementally
|
||||
|
||||
set autoindent " Auto-indent new lines
|
||||
set cindent " Use 'C' style program indenting
|
||||
set shiftwidth=4 " Number of auto-indent spaces
|
||||
set smartindent " Enable smart-indent
|
||||
set smarttab " Enable smart-tabs
|
||||
set softtabstop=4 expandtab " Number of spaces per Tab
|
||||
set wrap " Wrap lines
|
||||
|
||||
|
||||
"""""
|
||||
""""" Advanced
|
||||
"""""
|
||||
set ruler " Show row and column ruler information
|
||||
set undolevels=1000 " Number of undo levels
|
||||
set backspace=indent,eol,start " Backspace behaviour
|
||||
set guicursor=
|
||||
|
||||
"""""
|
||||
""""" Key mapping
|
||||
"""""
|
||||
" Move lines using Ctrl+Up/Down in normal, insert and visual modes
|
||||
nnoremap <C-Up> :m-2<CR>
|
||||
nnoremap <C-Down> :m+<CR>
|
||||
inoremap <C-Up> <Esc>:m-2<CR>
|
||||
inoremap <C-Down> <Esc>:m+<CR>
|
||||
vnoremap <C-Up> :m '<-2<CR>gv=gv
|
||||
vnoremap <C-Down> :m '>+1<CR>gv=gv
|
||||
" or Ctrl+j/k
|
||||
nnoremap <C-j> :m .+1<CR>==
|
||||
nnoremap <C-k> :m .-2<CR>==
|
||||
inoremap <C-j> <ESC>:m .+1<CR>==gi
|
||||
inoremap <C-k> <ESC>:m .-2<CR>==gi
|
||||
vnoremap <C-j> :m '>+1<CR>gv=gv
|
||||
vnoremap <C-k> :m '<-2<CR>gv=gv
|
||||
|
||||
" Toggle paste mode on and off
|
||||
" \ + pp
|
||||
map <leader>pp :setlocal paste!<cr>
|
||||
|
||||
" Disable search highlight when <leader><cr> is pressed
|
||||
map <silent> <leader><cr> :noh<cr>
|
||||
|
||||
" Tab support
|
||||
nnoremap <silent> <C-n> :tabnext<CR>
|
||||
nnoremap <silent> <C-p> :tabprevious<CR>
|
||||
nnoremap <silent> <C-S-t> :tabnew<CR>
|
||||
|
||||
" NERDTree
|
||||
nmap <silent> <F7> :NERDTreeToggle<CR>
|
||||
|
||||
:set guicursor=
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import sys
|
||||
import yaml
|
||||
from yaml import CLoader as Loader
|
||||
|
||||
|
||||
COLOR_MAPPING = {
|
||||
|
@ -36,11 +35,7 @@ COLOR_MAPPING = {
|
|||
|
||||
def map_section(f, values, section_name):
|
||||
for key, value in values[section_name].items():
|
||||
section = COLOR_MAPPING.get(section_name)
|
||||
if not section:
|
||||
continue
|
||||
|
||||
maps_to = section.get(key)
|
||||
maps_to = COLOR_MAPPING[section_name].get(key)
|
||||
if not maps_to:
|
||||
continue
|
||||
|
||||
|
@ -52,7 +47,7 @@ def main():
|
|||
|
||||
loaded_config = None
|
||||
with open(f"{name}.yml", "r") as input_file:
|
||||
loaded_config = yaml.load(input_file, Loader=Loader)["colors"]
|
||||
loaded_config = yaml.load(input_file)["colors"]
|
||||
|
||||
with open(f"{name}.conf", "w") as output_file:
|
||||
for section in loaded_config:
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue