Merge branch 'master' of ssh://gitea.c3d2.de:2222/C3D2/nix-config
This commit is contained in:
commit
b333024bac
|
@ -0,0 +1,5 @@
|
||||||
|
[defaults]
|
||||||
|
|
||||||
|
# some basic default values...
|
||||||
|
|
||||||
|
inventory = ./hosts
|
|
@ -0,0 +1,5 @@
|
||||||
|
[hypervisor]
|
||||||
|
server3.hq.c3d2.de
|
||||||
|
server4.hq.c3d2.de
|
||||||
|
server5.hq.c3d2.de
|
||||||
|
server6.hq.c3d2.de
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
# file: hypervisor.yml
|
||||||
|
- hosts: hypervisor
|
||||||
|
roles:
|
||||||
|
- proxmox
|
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
- name: Update all packages to the latest version
|
||||||
|
apt:
|
||||||
|
upgrade: dist
|
||||||
|
- name: Install packages
|
||||||
|
apt:
|
||||||
|
name: "{{ packages }}"
|
||||||
|
vars:
|
||||||
|
packages:
|
||||||
|
- zsh
|
||||||
|
- iotop
|
||||||
|
- latencytop
|
||||||
|
- htop
|
||||||
|
|
||||||
|
- name: Cloning oh-my-zsh
|
||||||
|
git:
|
||||||
|
repo=https://github.com/robbyrussell/oh-my-zsh
|
||||||
|
dest=~/.oh-my-zsh
|
||||||
|
|
||||||
|
- name: Link ~/.zshrc
|
||||||
|
file:
|
||||||
|
src: /etc/pve/zshrc
|
||||||
|
dest: ~/.zshrc
|
||||||
|
state: link
|
||||||
|
force: yes
|
|
@ -82,6 +82,7 @@
|
||||||
gitAndTools.git
|
gitAndTools.git
|
||||||
|
|
||||||
mpv
|
mpv
|
||||||
|
iotop
|
||||||
# libmagic how ?
|
# libmagic how ?
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,10 @@
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:5000";
|
proxyPass = "http://localhost:5000";
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 2048M;
|
||||||
|
gzip off;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release with which your system is to be
|
# This value determines the NixOS release with which your system is to be
|
||||||
|
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
||||||
Subproject commit 47e9ecab99cf951f31b51ae9b0b79cc4073ae5ef
|
Subproject commit 3fbfe2f9a6949fee19d70c97d2e5ca27f9d6539f
|
Loading…
Reference in New Issue