forked from c3d2/nix-config
updates
This commit is contained in:
parent
bbcb8eef69
commit
c4d78e168b
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
||||||
*.retry
|
.*.swp
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
server3.hq.c3d2.de
|
server3.hq.c3d2.de
|
||||||
server4.hq.c3d2.de
|
server4.hq.c3d2.de
|
||||||
server5.hq.c3d2.de
|
server5.hq.c3d2.de
|
||||||
server6.hq.c3d2.de
|
server6.hq.c3d2.de
|
||||||
|
|
||||||
|
[hypervisor:vars]
|
||||||
|
ansible_connection=ssh
|
||||||
|
ansible_user=root
|
||||||
|
|
||||||
[kubernetes]
|
[kubernetes]
|
||||||
k8s-1.hq.c3d2.de
|
k8s-1.hq.c3d2.de
|
||||||
|
|
|
@ -11,6 +11,14 @@
|
||||||
- iotop
|
- iotop
|
||||||
- latencytop
|
- latencytop
|
||||||
|
|
||||||
|
- name: Adjust sysctl values
|
||||||
|
copy:
|
||||||
|
src: ../files/sysctl/zentralwerk.conf
|
||||||
|
dest: /etc/sysctl.d/zentralwerk.conf
|
||||||
|
|
||||||
|
- name: Apply sysctl
|
||||||
|
shell: "systemctl restart systemd-sysctl.service"
|
||||||
|
|
||||||
- name: Cloning oh-my-zsh
|
- name: Cloning oh-my-zsh
|
||||||
git:
|
git:
|
||||||
repo=https://github.com/robbyrussell/oh-my-zsh
|
repo=https://github.com/robbyrussell/oh-my-zsh
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common.nix
|
../../lib/common/c3d2.nix
|
||||||
../../users.nix
|
../../lib/users.nix
|
||||||
#./ncdc.nix
|
./ncdc.nix
|
||||||
../../mpd.nix
|
../../lib/mpd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
@ -69,6 +69,9 @@
|
||||||
gitAndTools.git-annex
|
gitAndTools.git-annex
|
||||||
gitAndTools.git
|
gitAndTools.git
|
||||||
tmux
|
tmux
|
||||||
|
|
||||||
|
mpv
|
||||||
|
iotop
|
||||||
];
|
];
|
||||||
|
|
||||||
services.ceph = {
|
services.ceph = {
|
||||||
|
|
36
hq.nixops
36
hq.nixops
|
@ -37,7 +37,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"mpd-index" =
|
"mpd-index" =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -60,5 +60,37 @@
|
||||||
storeKeysOnMachine = true;
|
storeKeysOnMachine = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"elastic1" =
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
hosts/containers/elastic/configuration.nix
|
||||||
|
];
|
||||||
|
deployment = {
|
||||||
|
targetHost = "2a02:8106:208:5282:e0d5:d8ff:fe54:586c";
|
||||||
|
storeKeysOnMachine = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"logging" =
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
hosts/containers/logging/configuration.nix
|
||||||
|
];
|
||||||
|
deployment = {
|
||||||
|
targetHost = "2a02:8106:208:5282:6811:edff:fe40:89c6";
|
||||||
|
storeKeysOnMachine = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"storage-ng" =
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
hosts/storage-ng/configuration.nix
|
||||||
|
];
|
||||||
|
deployment = {
|
||||||
|
targetHost = "2a02:8106:208:5201::20";
|
||||||
|
storeKeysOnMachine = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user