Compare commits

..

No commits in common. "4293f662e73231e664866eb7d71603dfee3b21e8" and "147bf7b5d6c576aeb9ce27116df055fe13a75636" have entirely different histories.

19 changed files with 11 additions and 195 deletions

View file

@ -13,7 +13,7 @@
- cli
vars_prompt:
- name: tools_in
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev, qt)"
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev)"
private: false
pre_tasks:
- name: Get tools list

View file

@ -1,30 +0,0 @@
- name: Configure system manually
hosts: localhost
connection: local
vars_prompt:
- name: configure_in
prompt: "Specify comma separated list of required dotfile packages (bash, scripts, cli, git, ssh, gui, de, quickshell, wm)"
private: false
- name: apps_in
prompt: "Specify comma separated list of required installation packages (ansible, cli, gui, host, proxy, wm, quickshell)"
private: false
- name: tools_in
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev, qt)"
private: false
pre_tasks:
- name: Get configuration list
ansible.builtin.set_fact:
configure: "{{ configure_in.split(',') }}"
- name: Get apps list
ansible.builtin.set_fact:
apps: "{{ apps_in.split(',') }}"
- name: Get tools list
ansible.builtin.set_fact:
tools: "{{ tools_in.split(',') }}"
roles:
# install apps
- role: installs
# link and copy dotfiles
- role: dotfiles
# install and setup dev tools
- role: dev

View file

@ -1,6 +1,3 @@
- name: Installing opengl libs
ansible.builtin.import_tasks: opengl.yml
- name: Getting programs list to check fish presence
ansible.builtin.package_facts:
manager: auto
@ -10,6 +7,12 @@
become: true
ansible.builtin.dnf5:
name:
- glew-devel
- SDL2-devel
- SDL2_image-devel
- glm-devel
- freetype-devel
- mesa-libGLU
- openal-soft
- java-21-openjdk
state: latest
@ -52,8 +55,7 @@
become: true
ansible.builtin.unarchive:
remote_src: true
src:
"https://github.com/LuaLS/lua-language-server/releases/download/{{ lua_lsp_version.tag }}/lua-language-server-{{ lua_lsp_version.tag }}-linux-x64.tar.gz"
src: "https://github.com/LuaLS/lua-language-server/releases/download/{{ lua_lsp_version.tag }}/lua-language-server-{{ lua_lsp_version.tag }}-linux-x64.tar.gz"
dest: "{{ ansible_env.HOME }}/.lua_lsp"
keep_newer: true
mode: a

View file

@ -33,14 +33,6 @@
ansible.builtin.import_tasks: truffle.yml
when: "'truffle' in tools"
# - name: Truffle development environment
# ansible.builtin.import_tasks: opengl.yml
# when: "'opengl' in tools"
- name: Truffle development environment
ansible.builtin.import_tasks: gamedev.yml
when: "'gamedev' in tools"
- name: Truffle development environment
ansible.builtin.import_tasks: qt.yml
when: "'qt' in tools"

View file

@ -1,11 +0,0 @@
- name: Installing opengl libs
become: true
ansible.builtin.dnf5:
name:
- glew-devel
- SDL2-devel
- SDL2_image-devel
- glm-devel
- freetype-devel
- mesa-libGLU
state: latest

View file

@ -1,26 +0,0 @@
- name: Installing opengl libs
ansible.builtin.import_tasks: opengl.yml
- name: Installing cpp
ansible.builtin.import_tasks: cpp.yml
- name: Installing qt devel libs
become: true
ansible.builtin.dnf5:
name:
- qt6-qtdeclarative-devel
- qt6-qtbase-devel
- qt6-qtsvg
- qt6-qtimageformats
- qt6-qtmultimedia
- qt6-qt5compat
- qt6-qtmultimedia-devel
- qt6-qt5compat-devel
state: latest
# - name: Installing qt creator
# become: true
# ansible.builtin.dnf5:
# name:
# - qt6-creator
# state: latest

View file

@ -46,7 +46,6 @@
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/idea"
state: directory
mode: a
- name: Installing intellij idea
ansible.builtin.unarchive:
remote_src: true

View file

@ -41,7 +41,6 @@
src: '{{ role_path }}/files/.config/fish/fish_variables'
dest: '{{ ansible_env.HOME }}/.config/fish/fish_variables'
force: false
mode: a
# apps
- name: Linking tmux configuration

View file

@ -28,14 +28,6 @@
ansible.builtin.import_tasks: gui.yml
when: "'gui' in configure"
- name: Desktop envionment config
- name: Desctop envionment config
ansible.builtin.import_tasks: de.yml
when: "'de' in configure"
- name: Quickshell config
ansible.builtin.import_tasks: quickshell.yml
when: "'quickshell' in configure"
- name: WMs config
ansible.builtin.import_tasks: wm.yml
when: "'wm' in configure"

View file

@ -1,6 +0,0 @@
- name: Linking quickshell configuration
ansible.builtin.file:
src: '{{ role_path }}/files/.config/quickshell'
dest: '{{ ansible_env.HOME }}/.config/quickshell'
state: link
force: true

View file

@ -1,8 +0,0 @@
- name: Linking niri configuration
ansible.builtin.file:
src: '{{ role_path }}/files/niri'
dest: '{{ ansible_env.HOME }}/niri'
state: link
force: true
# TODO: hyprland

View file

@ -7,3 +7,4 @@
- python3-github3py
- python3-rpm
state: latest

View file

@ -10,18 +10,10 @@
ansible.builtin.import_tasks: gui.yml
when: "'gui' in apps"
- name: Installing apps for host
- name: Installing pps for host
ansible.builtin.import_tasks: host.yml
when: "'host' in apps"
- name: Installing proxies
ansible.builtin.import_tasks: proxy.yml
when: "'proxy' in apps"
- name: Installing wm
ansible.builtin.import_tasks: wm.yml
when: "'wm' in apps"
- name: Installing quickshell
ansible.builtin.import_tasks: quickshell.yml
when: "'quickshell' in apps"

View file

@ -1,67 +0,0 @@
- name: Enabling quickshell fedora copr
become: true
community.general.copr:
host: copr.fedorainfracloud.org
state: enabled
name: errornointernet/quickshell
- name: Installing quickshell
become: true
ansible.builtin.dnf5:
name:
- quickshell
state: latest
- name: Installing common deps
become: true
ansible.builtin.dnf5:
name:
- rsms-inter-fonts
- fira-code-fonts
state: latest
- name: Creating fonts dir
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/.local/share/fonts"
state: directory
mode: a
- name: Downloading material design icons font
ansible.builtin.get_url:
url: "https://github.com/google/material-design-icons/raw/master/variablefont/MaterialSymbolsRounded%5BFILL%2CGRAD%2Copsz%2Cwght%5D.ttf"
dest: "{{ ansible_env.HOME }}/.local/share/fonts/MaterialSymbolsRounded.ttf"
mode: a
force: false
- name: Updating fonts cache
ansible.builtin.command:
cmd: fc-cache -f
changed_when: true
- name: Installing matugen (material you themes gen) v2.4.1 (fixed)
become: true
ansible.builtin.unarchive:
remote_src: true
src: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
dest: "/usr/bin/" # TODO: user local install (?)
mode: a+x
keep_newer: true
extra_opts:
- --strip=1
- --no-anchored
- matugen
- name: Get latest dgop (sensors data utility) version
community.general.github_release:
user: AvengeMedia
repo: dgop
action: latest_release
register: dgop_version
- name: Installing dgop (sensors data utility) {{ dgop_version.tag }}
become: true
ansible.builtin.get_url:
url: "https://github.com/AvengeMedia/dgop/releases/download/{{ dgop_version.tag }}/dgop-{{ dgop_version.tag }}-linux-amd64"
dest: "/usr/bin/dgop" # TODO: user local install (?)
mode: a+x
force: true

View file

@ -1,13 +0,0 @@
- name: Installing niri
become: true
ansible.builtin.dnf5:
name:
- niri
state: latest
- name: Installing hyprland
become: true
ansible.builtin.dnf5:
name:
- hyprland
state: latest